Versions in this module Expand all Collapse all v1 v1.1.4 Jan 1, 2018 Changes in this version + const KeepClusterAlways + const KeepClusterFailed + const KeepClusterNever + type Farmer struct + BenchmarkName string + CockroachBinary string + CockroachEnv string + CockroachFlags string + Cwd string + KeepCluster string + KeyName string + LogDir string + Output io.Writer + Prefix string + RPCContext *rpc.Context + SkipClusterInit bool + StateFile string + TerraformArgs []string + func (f *Farmer) AbsLogDir() string + func (f *Farmer) Addr(ctx context.Context, i int, port string) string + func (f *Farmer) Assert(ctx context.Context, t testing.TB) + func (f *Farmer) AssertAndStop(ctx context.Context, t testing.TB) + func (f *Farmer) CollectLogs() error + func (f *Farmer) Destroy(t testing.TB) error + func (f *Farmer) Exec(i int, cmd string) error + func (f *Farmer) ExecCLI(ctx context.Context, i int, cmd []string) (string, string, error) + func (f *Farmer) GetProcDone(i int, name string) <-chan error + func (f *Farmer) Hostname(i int) string + func (f *Farmer) InternalIP(ctx context.Context, i int) net.IP + func (f *Farmer) Kill(ctx context.Context, i int) error + func (f *Farmer) MustDestroy(t testing.TB) + func (f *Farmer) NewClient(ctx context.Context, i int) (*client.DB, error) + func (f *Farmer) NumNodes() int + func (f *Farmer) PGUrl(ctx context.Context, i int) string + func (f *Farmer) Resize(nodes int) error + func (f *Farmer) Restart(ctx context.Context, i int) error + func (f *Farmer) Start(ctx context.Context, i int, name string) error + func (f *Farmer) StartLoad(ctx context.Context, loadGenerator string) error + func (f *Farmer) Stop(ctx context.Context, i int, name string) error + func (f *Farmer) URL(ctx context.Context, i int) string + func (f *Farmer) WaitReady(d time.Duration) error