-
-
25 Feb 2020 09:51:59 UTC
- Distribution: Consul
- Module version: 0.027
- Source (raw)
- Browse (raw)
- Changes
- Homepage
- How to Contribute
- Repository
- Issues (7)
- Testers (341 / 4 / 0)
- Kwalitee
Bus factor: 2- 46.39% Coverage
- License: perl_5
- Activity
24 month- Tools
- Download (23.77KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
NAME
Consul::API::Catalog - Catalog (nodes and services) API
SYNOPSIS
use Consul; my $catalog = Consul->catalog; say for map { $_->name} @{$catalog->nodes};
DESCRIPTION
The catalog API is used to register and deregister nodes, services and checks. It also provides query endpoints.
This API is fully documented at https://www.consul.io/docs/agent/http/catalog.html.
METHODS
datacenters
nodes
services
service
register
deregister
node
SEE ALSO
L<Consul>
Module Install Instructions
To install Consul, copy and paste the appropriate command in to your terminal.
cpanm Consul
perl -MCPAN -e shell install Consul
For more information on module installation, please visit the detailed CPAN module installation guide.