Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExecDriver ¶
type ExecDriver struct {
// contains filtered or unexported fields
}
func NewExecDriver ¶
func (ExecDriver) ExecuteComplex ¶
func (d ExecDriver) ExecuteComplex(args []string, opts ExecuteOpts) (string, error)
func (ExecDriver) IsMissingVMErr ¶ added in v0.0.4
func (d ExecDriver) IsMissingVMErr(output string) bool
type ExecuteOpts ¶
type ExecuteOpts struct {
IgnoreNonZeroExitStatus bool
}
type ExpandingPathRunner ¶ added in v0.0.4
type ExpandingPathRunner struct {
// contains filtered or unexported fields
}
func NewExpandingPathRunner ¶ added in v0.0.4
func NewExpandingPathRunner(other RawRunner) *ExpandingPathRunner
func (*ExpandingPathRunner) Get ¶ added in v0.0.4
func (r *ExpandingPathRunner) Get(path string) ([]byte, error)
func (*ExpandingPathRunner) Put ¶ added in v0.0.4
func (r *ExpandingPathRunner) Put(path string, contents []byte) error
func (*ExpandingPathRunner) Upload ¶ added in v0.0.4
func (r *ExpandingPathRunner) Upload(srcPath, dstPath string) error
type LocalRunner ¶
type LocalRunner struct {
// contains filtered or unexported fields
}
func NewLocalRunner ¶
func NewLocalRunner(fs boshsys.FileSystem, cmdRunner boshsys.CmdRunner, logger boshlog.Logger) LocalRunner
func (LocalRunner) HomeDir ¶ added in v0.0.4
func (r LocalRunner) HomeDir() (string, error)
func (LocalRunner) Upload ¶
func (r LocalRunner) Upload(srcPath, dstPath string) error
type RetrierImpl ¶
type RetrierImpl struct{}
func (RetrierImpl) Retry ¶
func (r RetrierImpl) Retry(actionFunc func() error) error
func (RetrierImpl) RetryComplex ¶
type RetryableError ¶
type RetryableError interface {
Retryable()
}
type RetryableErrorImpl ¶
type RetryableErrorImpl struct {
Err error
}
func (RetryableErrorImpl) Error ¶
func (e RetryableErrorImpl) Error() string
func (RetryableErrorImpl) Retryable ¶
func (RetryableErrorImpl) Retryable()
type SSHRunner ¶ added in v0.0.4
type SSHRunner struct {
// contains filtered or unexported fields
}
func NewSSHRunner ¶ added in v0.0.4
func NewSSHRunner(opts SSHRunnerOpts, fs boshsys.FileSystem, logger boshlog.Logger) *SSHRunner
type SSHRunnerOpts ¶ added in v0.0.4
Click to show internal directories.
Click to hide internal directories.