etcd

package
v1.5.0-alpha.3 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2017 License: Apache-2.0 Imports: 10 Imported by: 0

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

func GetAndTestEtcdClient(etcdClientInfo configapi.EtcdConnectionInfo) (etcdclient.Client, error)

GetAndTestEtcdClient creates an etcd client based on the provided config. It will attempt to connect to the etcd server and block until the server responds at least once, or return an error if the server never responded.

func MakeEtcdClient added in v1.4.0

func MakeEtcdClient(etcdClientInfo configapi.EtcdConnectionInfo) (etcdclient.Client, error)

MakeEtcdClient creates an etcd client based on the provided config.

func TestEtcdClient added in v1.0.5

func TestEtcdClient(etcdClient etcdclient.Client) error

TestEtcdClient verifies a client is functional. It will attempt to connect to the etcd server and block until the server responds at least once, or return an error if the server never responded.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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