test

package
v0.2.0-rc3 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2013 License: Apache-2.0 Imports: 11 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

Types

This section is empty.

Jump to

Keyboard shortcuts

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