test

package
v0.4.6 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2014 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var EtcdBinPath string

Functions

func BenchmarkEtcdDirectCall

func BenchmarkEtcdDirectCall(b *testing.B)

func BenchmarkEtcdDirectCallTls

func BenchmarkEtcdDirectCallTls(b *testing.B)

func CreateCluster

func CreateCluster(size int, procAttr *os.ProcAttr, ssl bool) ([][]string, []*os.Process, error)

Create a cluster of etcd nodes

func DestroyCluster

func DestroyCluster(etcds []*os.Process) error

Destroy all the nodes in the cluster

func Monitor

func Monitor(size int, allowDeadNum int, leaderChan chan string, all chan bool, stop chan bool)

func Set

func Set(stop chan bool)

Sending set commands

func WaitForServer added in v0.4.0

func WaitForServer(host string, client http.Client, scheme string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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