Documentation ¶
Index ¶
- type Runner
- func (r Runner) Deploy(deploymentName string, manifestFilename string) error
- func (r Runner) DeployWithFlags(deploymentName string, manifestFilename string, flags ...string) error
- func (r Runner) GetDeploymentManifest(deploymentName string) ([]byte, error)
- func (r Runner) GetDeploymentVMs(deploymentName string) (vms []VM, err error)
- func (r Runner) GetDeployments() (deployments []string, err error)
- func (r Runner) GetDiegoDeployments() ([]string, error)
- func (r Runner) ScpFile(deploymentName, source, target string) error
- type VM
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Runner ¶
type Runner struct {
// contains filtered or unexported fields
}
Runner is a bosh command runner
func NewRunner ¶
NewRunner creates a new bosh runner instance, env should contain the environment variables necessary to connect to the bosh instance.
func (Runner) Deploy ¶
Deploy executes the specified bosh deployment with the specified manifest on disk.
func (Runner) DeployWithFlags ¶
func (Runner) GetDeploymentManifest ¶
GetDeploymentManifest returns the bosh deployment manifest yaml for the specified deployment.
func (Runner) GetDeploymentVMs ¶
GetDeploymentVMs gets all the VMs from the specified deployment.
func (Runner) GetDeployments ¶
GetDeployments gets a bosh deployment names.
func (Runner) GetDiegoDeployments ¶
GetDiegoDeployments returns only the bosh deployment names of deployments with diego cells: TAS, TASW, ISO segments.
Click to show internal directories.
Click to hide internal directories.