etcd

package
v0.0.0-...-0a224c4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 9, 2016 License: Apache-2.0 Imports: 4 Imported by: 1

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL