NAME
Etcd::Node - key space node representation
VERSION
version 0.004
SYNOPSIS
use Etcd;
my $etcd = Etcd->new;
my $node = $etcd->get("/message")->node;
DESCRIPTION
Etcd::Node objects encapsulate the details of nodes in the key space API.
The provided methods are simple accessors. This class provides no functionality.
The API docs have more information about the meaning of each item. See "SEE ALSO" in Etcd for further reading.
METHODS
key
value
Value of this key. Can be
undef
(usually in directory nodes).created_index
modified_index
ttl
expiration
ISO-8601 string indicating the moment that this node will be deleted.
dir
True if the node is a directory.
value
will undef in this case.nodes
Arrayref of zero or more sub-nodes. Only returned from appropriate Etcd::Keys calls with the
recursive
parameter set totrue
.
AUTHORS
Robert Norris <rob@eatenbyagrue.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2014 by Robert Norris.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.