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

Etcd::Response - response from key space API

VERSION

version 0.004

SYNOPSIS

    use Etcd;
    my $etcd = Etcd->new;
    
    my $response = $etcd->get("/message");
    say $response->node->value;

DESCRIPTION

Etcd::Response objects encapsulate the details of responses from 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

  • action

  • etcd_index

  • raft_index

  • raft_term

  • node

    A Etcd::Node object with the node data from this response.

  • prev_node

    A Etcd::Node object with the previous state of the node data from this response. May be undef.

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.