etcd

package
v3.11.0-0.5.0+incompat... Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2018 License: Apache-2.0 Imports: 7 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 MakeEtcdClientV3

func MakeEtcdClientV3(etcdClientInfo configapi.EtcdConnectionInfo) (*clientv3.Client, error)

MakeEtcdClientV3 creates an etcd v3 client based on the provided config.

func MakeEtcdClientV3Config

func MakeEtcdClientV3Config(etcdClientInfo configapi.EtcdConnectionInfo) (*clientv3.Config, error)

MakeEtcdClientV3Config creates client configuration based on the configapi.

func TestEtcdClientV3

func TestEtcdClientV3(etcdClient *clientv3.Client) error

TestEtcdClientV3 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