Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hexfusion/perl-net-nomad
Net::Nomad v1 API Perl client
https://github.com/hexfusion/perl-net-nomad
Last synced: 3 days ago
JSON representation
Net::Nomad v1 API Perl client
- Host: GitHub
- URL: https://github.com/hexfusion/perl-net-nomad
- Owner: hexfusion
- Created: 2017-11-26T01:04:41.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2017-12-10T00:05:57.000Z (about 7 years ago)
- Last Synced: 2024-11-10T20:46:44.343Z (2 months ago)
- Language: Perl
- Homepage:
- Size: 24.4 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
- Changelog: Changes
Awesome Lists containing this project
README
NAME
Net::Nomad - Nomad REST API client.SYNOPSIS
DESCRIPTION
Net::Nomad is object oriented interface to the Nomad REST API
.ACCESSORS
host
Defaults to 127.0.0.1port
Default 4646.name
Username for authenticationpassword
Authentication credentialscacert
Path to cacertssl
To enable set to 1api_version
defaults to /v1api_path
The full api path. Defaults to http://127.0.0.1:4646/v1PUBLIC METHODS
agent
See Net::Nomad::Agent# query self
$nomad->agent()->self;# check agent health
$nomad->agent()->health;allocation
See Net::Nomad::Allocation$nomad->allocation({ prefix=> 'a8198d79' })->list;
$nomad->allocation( { alloc_id => '5456bd7a-9fc0-c0dd-6131-cbee77f57577' } )->readAUTHOR
Sam Batschelet (hexfusion)ACKNOWLEDGEMENTS
The Nomad developers and community.CAVEATS
LICENSE AND COPYRIGHT
Copyright 2017 Sam Batschelet (hexfusion).This program is free software; you can redistribute it and/or modify it
under the terms of either: the GNU General Public License as published
by the Free Software Foundation; or the Artistic License.See http://dev.perl.org/licenses/ for more information.