Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CmdRunner ¶
type CmdRunner interface {
RunCommand(env map[string]string, args ...string) (string, string, int, error)
RunStreamingCommand(out io.Writer, env map[string]string, args ...string) (string, string, int, error)
}
func NewCmdRunner ¶
type Config ¶
type Config struct {
StemcellPath string `json:"stemcell_path"`
CPIReleasePath string `json:"cpi_release_path"`
DummyCompiledReleasePath string `json:"dummy_compiled_release_path"`
// Vars file supplying docker_host/docker_tls to the manifests; written by
// bin/test-acceptance-with-docker.
DockerVarsPath string `json:"docker_vars_path"`
}
type Environment ¶
type Environment interface {
Home() string
Path(string) string
Copy(string, string) error
WriteContent(string, []byte) error
}
func NewTestEnvironment ¶
func NewTestEnvironment(fileSystem boshsys.FileSystem, logger boshlog.Logger) Environment
type InstanceSSH ¶
type InstanceSSH interface {
RunCommand(cmd string) (stdout, stderr string, exitCode int, err error)
RunCommandWithSudo(cmd string) (stdout, stderr string, exitCode int, err error)
}
func NewInstanceSSH ¶
func NewInstanceSSH( instanceUsername string, instanceIP string, instancePassword string, fileSystem boshsys.FileSystem, logger boshlog.Logger, ) InstanceSSH
Click to show internal directories.
Click to hide internal directories.