Versions in this module Expand all Collapse all v1 v1.0.0 May 15, 2018 Changes in this version + func GenerateDirector(boshDirector BoshDirector, loggerBosh boshlog.Logger) (boshdir.Director, error) + type BoshDirector struct + CACert string + CACertFile string + ClientId string + ClientSecret string + DirectorUrl string + Gateway Gateway + Name string + Password string + RefreshToken string + Username string + func (boshDir *BoshDirector) LoadCaCertFile() error + func (c *BoshDirector) UnmarshalYAML(unmarshal func(interface{}) error) error + type BoshDirectors []BoshDirector + func (boshDirs BoshDirectors) FindDirector(name string) BoshDirector + type BoshSshInstance struct + Deployment boshdir.Deployment + Instance boshdir.VMInfo + func (i BoshSshInstance) String() string + type CommandRunner struct + func NewCommandRunner(boshCommanderScript *Script, loggerBosh boshlog.Logger) *CommandRunner + func (a *CommandRunner) FindBoshSshInstances(boshDirector boshdir.Director, jobName Regexp, inDeplNames ...Regexp) ([]BoshSshInstance, error) + func (a *CommandRunner) Run(director BoshDirector) error + func (a *CommandRunner) RunCommandByInstance(boshSshInstance BoshSshInstance, commands []string, ...) error + func (a *CommandRunner) RunCommandByInstances(boshSshInstances []BoshSshInstance, commands []string, ...) error + func (a *CommandRunner) SshCommandErrToLog(err ssh.ErrCommandSsh) + func (a *CommandRunner) SshOutputToLog(output string) + type Config struct + Environments Environments + func (c *Config) UnmarshalYAML(unmarshal func(interface{}) error) error + type Environment struct + Alias string + CACert string + Password string + RefreshToken string + URL string + Username string + func (e Environment) ToDirector() BoshDirector + type Environments []Environment + func (envs Environments) FindByNameOrUrl(ident string) (Environment, error) + type Gateway struct + Host string + PrivateKeyPath string + Username string + type Regexp struct + Raw string + func (re *Regexp) UnmarshalFlag(data string) error + func (re *Regexp) UnmarshalYAML(unmarshal func(interface{}) error) error + func (re Regexp) MarshalYAML() (interface{}, error) + type Regexps []Regexp + func (re Regexps) MatchString(match string) bool + type Script struct + AfterAll []string + Deployments []Regexp + JobMatch Regexp + Script []string + Sudo bool + func (c *Script) Check() error + func (c *Script) UnmarshalYAML(unmarshal func(interface{}) error) error