The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Etcd3::Client

DESCRIPTION

Client data for etcd connection

host

port

username

password

ssl

auth

api_root

api_prefix

base endpoint for api call, refers to api version.

api_path

auth_token

headers

watch

returns a Etcd3::Watch object.

$etcd->watch({ key =>'foo', range_end => 'fop' })

user_add

$etcd->user_add({ name =>'foo' password => 'bar' })

user_delete

$etcd->user_delete({ name =>'foo' })

role_add

name is the name of the role to add to the authentication system.

$etcd->role_add({ name =>'foo' })

role_delete

$etcd->role_delete({ name =>'foo' })

grant_role

revoke_role

auth_enable

delete_range

$etcd->delete_range({ key =>'test0', range_end => 'test100', prev_key => 1 })

put

returns a Etcd3::Put object.

range

returns a Etcd3::Range object

$etcd->range({ key =>'test0', range_end => 'test100', serializable => 1 })

configuration

Initialize configuration checks to see it etcd is installed locally.

AUTHOR

Sam Batschelet, <sbatschelet at mac.com>

ACKNOWLEDGEMENTS

The etcd developers and community.

CAVEATS

The etcd v3 API is in heavy development and can change at anytime please see https://github.com/coreos/etcd/blob/master/Documentation/dev-guide/api_reference_v3.md for latest details.

LICENSE AND COPYRIGHT

Copyright 2016 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.