View on
MetaCPAN
search.cpan.org is shutting down
For details read Perl NOC. After June 25th this page will redirect to MetaCPAN.org
Sam Batschelet > Net-Etcd-0.020 > Net::Etcd::Put

Download:
Net-Etcd-0.020.tar.gz

Annotate this POD

View/Report Bugs
Source  

NAME ^

Net::Etcd::Put

DESCRIPTION ^

Put puts the given key into the key-value store. A put request increments the revision of the key-value store and generates one event in the event history.

ACCESSORS ^

endpoint

key

key is the key, in bytes, to put into the key-value store.

value

value is the value, in bytes, to associate with the key in the key-value store.

lease

lease is the lease ID to associate with the key in the key-value store. A lease value of 0 indicates no lease.

prev_kv

If prev_kv is set, etcd gets the previous key-value pair before changing it. The previous key-value pair will be returned in the put response.

syntax highlighting: