acceptance

package
v2.0.45+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2017 License: Apache-2.0 Imports: 10 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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

func NewCmdRunner(logger boshlog.Logger) CmdRunner

type Config

type Config struct {
	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"`
	DummyCompiledReleasePath string `json:"dummy_compiled_release_path"`
}

func NewConfig

func NewConfig(fs boshsys.FileSystem) (*Config, error)

func (*Config) IsLocalCPIRelease

func (c *Config) IsLocalCPIRelease() bool

func (*Config) IsLocalStemcell

func (c *Config) IsLocalStemcell() bool

func (*Config) Validate

func (c *Config) Validate() error

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

Jump to

Keyboard shortcuts

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