Documentation ¶
Index ¶
- type TestCluster
- func (t *TestCluster) DropFile(localPath string) error
- func (t *TestCluster) Error(e error)
- func (t *TestCluster) Errorf(format string, args ...interface{})
- func (t *TestCluster) ListNativeFunctions() []string
- func (t *TestCluster) RunNative(funcName string, m platform.Machine) error
- func (t *TestCluster) Skip(args ...interface{})
- func (t *TestCluster) Skipf(format string, args ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TestCluster ¶
type TestCluster struct { Name string NativeFuncs []string Options map[string]string platform.Cluster }
TestCluster embedds a Cluster to provide platform independant helper methods.
func (*TestCluster) DropFile ¶
func (t *TestCluster) DropFile(localPath string) error
DropFile places file from localPath to ~/ on every machine in cluster
func (*TestCluster) Error ¶
func (t *TestCluster) Error(e error)
func (*TestCluster) Errorf ¶
func (t *TestCluster) Errorf(format string, args ...interface{})
func (*TestCluster) ListNativeFunctions ¶
func (t *TestCluster) ListNativeFunctions() []string
ListNativeFunctions returns a slice of function names that can be executed directly on machines in the cluster.
func (*TestCluster) RunNative ¶
func (t *TestCluster) RunNative(funcName string, m platform.Machine) error
RunNative runs a registered NativeFunc on a remote machine
func (*TestCluster) Skip ¶
func (t *TestCluster) Skip(args ...interface{})
func (*TestCluster) Skipf ¶
func (t *TestCluster) Skipf(format string, args ...interface{})
Click to show internal directories.
Click to hide internal directories.