module Etcd
Overview
This module provides the Etcd:: name space for the gem and few factory methods for Etcd domain objects
Defined in:
etcd.cretcd/client.cr
etcd/config.cr
etcd/errors.cr
etcd/keys.cr
etcd/node.cr
etcd/options.cr
etcd/response.cr
etcd/stats.cr
etcd/version.cr
Constant Summary
-
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 Method Summary
- .client(addr : String = "localhost:2379") : Etcd::Client
- .client(addr : String = "localhost:2379", &) : Etcd::Client
- .client(addrs : Array(String)) : Etcd::Client
- .client(addrs : Array(String), &) : Etcd::Client