Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CmdRunner ¶
type Config ¶
type Config struct { VMUsername string `json:"vm_username"` VMIP string `json:"vm_ip"` VMPort string `json:"vm_port"` PrivateKeyPath string `json:"private_key_path"` StemcellURL string `json:"stemcell_url"` StemcellSHA1 string `json:"stemcell_sha1"` StemcellPath string `json:"stemcell_path"` CpiReleaseURL string `json:"cpi_release_url"` CpiReleaseSHA1 string `json:"cpi_release_sha1"` CpiReleasePath string `json:"cpi_release_path"` DummyReleasePath string `json:"dummy_release_path"` DummyTooReleasePath string `json:"dummy_too_release_path"` }
func (*Config) IsLocalCpiRelease ¶
func (*Config) IsLocalStemcell ¶
type Environment ¶
type Environment interface { Home() string Path(string) string Copy(string, string) error WriteContent(string, []byte) error }
func NewRemoteTestEnvironment ¶
func NewRemoteTestEnvironment( vmUsername string, vmIP string, vmPort string, privateKeyPath string, 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 ¶
type MultiWriter ¶
type MultiWriter struct {
// contains filtered or unexported fields
}
MultiWriter implements mirrored writes to multiple io.Writer objects.
func NewMultiWriter ¶
func NewMultiWriter(writers ...io.Writer) *MultiWriter
NewMultiWriter returns a new MultiWriter that proxies writes to multiple io.Writer objects.
func (*MultiWriter) Write ¶
func (b *MultiWriter) Write(p []byte) (nn int, err error)
Write writes the contents of p into all proxied writers. It returns the number of bytes written. If nn < len(p), it also returns an error explaining why the write is short. If a proxied write errors, subsequent writers will not be written to.
Click to show internal directories.
Click to hide internal directories.