NAME

Consul::API::Agent - Agent API

SYNOPSIS

    use Consul;
    my $agent = Consul->agent;
    $agent->self;

DESCRIPTION

The Agent API is used to interact with the local Consul agent.

This API is fully documented at https://www.consul.io/docs/agent/http/agent.html.

METHODS

checks

services

members

self

maintenance

join

force_leave

check_register

check_deregister

check_pass

check_warn

check_fail

service_register

service_deregister

service_maintenance

SEE ALSO

    L<Consul>