etcdutils

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2014 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Publishvalues

func Publishvalues(t *testing.T, ecli *EtcdHandle)

Publishvalues sets canonical etcd values into a test etcd instance.

func SetEtcdValues

func SetEtcdValues(t *testing.T, keys []string, values []string, c *etcd.Client)

SetEtcdValues sets an array of values into a test etcd instance.

Types

type EtcdHandle

type EtcdHandle struct {
	Dirs []string
	Keys []string
	C    *etcd.Client
}

EtcdHandle is used to set keys and values in a test etcd instance.

func InitetcdValues

func InitetcdValues(setdir, setkeys []string, port string) *EtcdHandle

InitetcdValues configures a test etcd instance.

Jump to

Keyboard shortcuts

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