Documentation

Index

Constants

This section is empty.

Variables

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

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

Types

This section is empty.