class Etcd::Client

Defined in:

etcd/client.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(url : URI, api_version : String | Nil = nil) #

[View source]
def self.new(host : String = "localhost", port : Int32 | Nil = nil, api_version : String | Nil = nil) #

[View source]

Instance Method Detail

def api : Etcd::Api #

[View source]
def api_version #

[View source]
def close(*args, **options) #

[View source]
def close(*args, **options, &) #

[View source]
def kv : Kv #

Provide an object for managing kv. See Docker::Kv.


[View source]
def lease : Lease #

Provide an object for managing lease. See Docker::Lease.


[View source]
def maintenance : Maintenance #

Provide an object for managing maintenance. See Docker::Maintenance.


[View source]
def spawn_api : Etcd::Api #

[View source]
def watch : Watch #

Provide an object for managing watch. See Docker::Watch.


[View source]