module

Etcd

This module provides the Etcd:: name space for the gem and few factory methods for Etcd domain objects

Constants

ERROR_CODE_MAPPING = {100 => KeyNotFound, 101 => TestFailed, 102 => NotFile, 103 => NoMorePeer, 104 => NotDir, 105 => NodeExist, 106 => KeyIsPreserved, 108 => DirNotEmpty, 200 => ValueRequired, 201 => PrevValueRequired, 202 => TTLNaN, 203 => IndexNaN, 300 => RaftInternal, 301 => LeaderElect, 400 => WatcherCleared, 401 => EventIndexCleared}
VERSION = "0.4.0"

Class methods

client(addr : String = "localhost:2379") : Etcd::Client
Source
client(addr : String = "localhost:2379", &) : Etcd::Client
Source
client(addrs : Array(String)) : Etcd::Client
Source
client(addrs : Array(String), &) : Etcd::Client
Source

Nested types