class Etcd::Client
- Etcd::Client
- Reference
- Object
Defined in:
etcd/client.crConstructors
- .new(url : URI, api_version : String | Nil = nil)
- .new(host : String = "localhost", port : Int32 | Nil = nil, api_version : String | Nil = nil)
Instance Method Summary
- #api : Etcd::Api
- #api_version
- #close(*args, **options)
- #close(*args, **options, &)
-
#kv : Kv
Provide an object for managing kv.
-
#lease : Lease
Provide an object for managing lease.
-
#maintenance : Maintenance
Provide an object for managing maintenance.
- #spawn_api : Etcd::Api
-
#watch : Watch
Provide an object for managing watch.
Constructor Detail
def self.new(host : String = "localhost", port : Int32 | Nil = nil, api_version : String | Nil = nil)
#
Instance Method Detail
def maintenance : Maintenance
#
Provide an object for managing maintenance. See Docker::Maintenance
.