Documentation ¶
Index ¶
- type BoshDirector
- func (d BoshDirector) Delete(force bool) error
- func (d BoshDirector) Deploy(manifestBytes []byte, deployParams DeployParams) error
- func (d BoshDirector) DownloadManifest() ([]byte, error)
- func (d BoshDirector) ExportReleases(targetDirectory string, releases []string) error
- func (d BoshDirector) Interpolate(manifestBytes []byte, interpolateParams InterpolateParams) ([]byte, error)
- func (d BoshDirector) UploadRelease(URL string) error
- func (d BoshDirector) UploadStemcell(URL string) error
- type CLICoordinator
- type CommandRunner
- type DeployParams
- type DeploymentManifest
- type Director
- type InterpolateParams
- type Proxy
- type Release
- type Runner
- type Stemcell
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BoshDirector ¶
type BoshDirector struct {
// contains filtered or unexported fields
}
func NewBoshDirector ¶
func (BoshDirector) Delete ¶
func (d BoshDirector) Delete(force bool) error
func (BoshDirector) Deploy ¶
func (d BoshDirector) Deploy(manifestBytes []byte, deployParams DeployParams) error
func (BoshDirector) DownloadManifest ¶
func (d BoshDirector) DownloadManifest() ([]byte, error)
func (BoshDirector) ExportReleases ¶
func (d BoshDirector) ExportReleases(targetDirectory string, releases []string) error
func (BoshDirector) Interpolate ¶
func (d BoshDirector) Interpolate(manifestBytes []byte, interpolateParams InterpolateParams) ([]byte, error)
func (BoshDirector) UploadRelease ¶
func (d BoshDirector) UploadRelease(URL string) error
func (BoshDirector) UploadStemcell ¶
func (d BoshDirector) UploadStemcell(URL string) error
type CLICoordinator ¶
type CLICoordinator struct {
// contains filtered or unexported fields
}
func NewCLICoordinator ¶
func (CLICoordinator) BasicDeps ¶
func (c CLICoordinator) BasicDeps(writer io.Writer) boshcmd.BasicDeps
func (CLICoordinator) GlobalOpts ¶
func (c CLICoordinator) GlobalOpts(proxyAddr string) boshcmd.BoshOpts
func (CLICoordinator) StartProxy ¶
func (c CLICoordinator) StartProxy() (string, error)
type CommandRunner ¶
type CommandRunner struct {
// contains filtered or unexported fields
}
func NewCommandRunner ¶
func NewCommandRunner(cliCoordinator CLICoordinator) CommandRunner
func (CommandRunner) Execute ¶
func (c CommandRunner) Execute(commandOpts interface{}) error
func (CommandRunner) ExecuteWithDefaultOverride ¶
func (c CommandRunner) ExecuteWithDefaultOverride(commandOpts interface{}, override func(interface{}) (interface{}, error), writer io.Writer) error
func (CommandRunner) ExecuteWithWriter ¶
func (c CommandRunner) ExecuteWithWriter(commandOpts interface{}, writer io.Writer) error
type DeployParams ¶
type DeploymentManifest ¶
type DeploymentManifest struct {
// contains filtered or unexported fields
}
func NewDeploymentManifest ¶
func NewDeploymentManifest(manifest []byte) (DeploymentManifest, error)
func (DeploymentManifest) Manifest ¶
func (d DeploymentManifest) Manifest() []byte
func (DeploymentManifest) UseReleaseVersion ¶
func (d DeploymentManifest) UseReleaseVersion(releaseName, version string) error
func (DeploymentManifest) UseStemcellVersion ¶
func (d DeploymentManifest) UseStemcellVersion(stemcellName, os, version string) error
type Director ¶
type Director interface { Delete(force bool) error Deploy(manifestBytes []byte, deployParams DeployParams) error Interpolate(manifestBytes []byte, interpolateParams InterpolateParams) ([]byte, error) DownloadManifest() ([]byte, error) ExportReleases(targetDirectory string, releases []string) error UploadRelease(releaseURL string) error UploadStemcell(stemcellURL string) error }
type InterpolateParams ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.