Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EtcdClient ¶
type EtcdClient struct { KeysAPI client.KeysAPI EtcdEndpoints []string EtcdHeaderTimeoutPerRequest time.Duration EtcdBasePath string }
func CreateEtcdClient ¶
func CreateEtcdClient(etcdEndpoints []string, etcdHeaderTimeoutPerRequest time.Duration, etcdBasePath string) *EtcdClient
func (*EtcdClient) CreateDirectoryIfNotExist ¶
func (etcdClient *EtcdClient) CreateDirectoryIfNotExist(key string) error
func (*EtcdClient) GetKeysAPI ¶
func (etcdClient *EtcdClient) GetKeysAPI() (returnedKeysAPI client.KeysAPI, returnedError error)
Click to show internal directories.
Click to hide internal directories.