Documentation ¶
Overview ¶
Package etcd provides objects for creating an embedded etcd server process.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAndTestEtcdClient ¶ added in v0.4.2
func GetAndTestEtcdClient(etcdClientInfo configapi.EtcdConnectionInfo) (*etcdclient.Client, error)
getAndTestEtcdClient creates an etcd client based on the provided config and waits until etcd server is reachable. It errors out and exits if the server cannot be reached for a certain amount of time.
func NewOpenShiftEtcdHelper ¶ added in v0.4.2
func NewOpenShiftEtcdHelper(etcdClientInfo configapi.EtcdConnectionInfo) (helper tools.EtcdHelper, err error)
newOpenShiftEtcdHelper returns an EtcdHelper for the provided arguments or an error if the version is incorrect.
func RunEtcd ¶ added in v0.4.3
func RunEtcd(etcdServerConfig *configapi.EtcdConfig)
RunEtcd starts an etcd server and runs it forever
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.