Documentation ¶
Index ¶
- type FakeRecord
- func (r *FakeRecord) IsDeployed(manifestPath string, release bmrel.Release, ...) (bool, error)
- func (r *FakeRecord) SetIsDeployedBehavior(manifestPath string, release bmrel.Release, ...) error
- func (r *FakeRecord) SetUpdateBehavior(manifestPath string, release bmrel.Release, err error) error
- func (r *FakeRecord) Update(manifestPath string, release bmrel.Release) error
- type FakeVMDeployer
- type IsDeployedInput
- type UpdateInput
- type VMDeployInput
- type WaitUntilReadyInput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeRecord ¶
type FakeRecord struct { IsDeployedInputs []IsDeployedInput UpdateInputs []UpdateInput // contains filtered or unexported fields }
func NewFakeRecord ¶
func NewFakeRecord() *FakeRecord
func (*FakeRecord) IsDeployed ¶
func (r *FakeRecord) IsDeployed(manifestPath string, release bmrel.Release, stemcell bmstemcell.ExtractedStemcell) (bool, error)
func (*FakeRecord) SetIsDeployedBehavior ¶
func (r *FakeRecord) SetIsDeployedBehavior( manifestPath string, release bmrel.Release, stemcell bmstemcell.ExtractedStemcell, isDeployed bool, err error, ) error
func (*FakeRecord) SetUpdateBehavior ¶
type FakeVMDeployer ¶
type FakeVMDeployer struct { DeployInputs []VMDeployInput DeployOutputs []vmDeployOutput WaitUntilReadyInputs []WaitUntilReadyInput WaitUntilReadyErr error }
func NewFakeVMDeployer ¶
func NewFakeVMDeployer() *FakeVMDeployer
func (*FakeVMDeployer) Deploy ¶
func (m *FakeVMDeployer) Deploy( cloud bmcloud.Cloud, deploymentManifest bmdeplmanifest.Manifest, stemcell bmstemcell.CloudStemcell, mbusURL string, eventLoggerStage bmeventlog.Stage, ) (bmvm.VM, error)
func (*FakeVMDeployer) SetDeployBehavior ¶
func (m *FakeVMDeployer) SetDeployBehavior(vm bmvm.VM, err error)
func (*FakeVMDeployer) WaitUntilReady ¶
func (m *FakeVMDeployer) WaitUntilReady(vm bmvm.VM, sshTunnelOptions bmsshtunnel.Options, eventLoggerStage bmeventlog.Stage) error
type IsDeployedInput ¶
type IsDeployedInput struct { ManifestPath string Release bmrel.Release Stemcell bmstemcell.ExtractedStemcell }
type UpdateInput ¶
type VMDeployInput ¶
type VMDeployInput struct { Cloud bmcloud.Cloud Manifest bmdeplmanifest.Manifest Stemcell bmstemcell.CloudStemcell MbusURL string EventLoggerStage bmeventlog.Stage }
type WaitUntilReadyInput ¶
type WaitUntilReadyInput struct { VM bmvm.VM SSHTunnelOptions bmsshtunnel.Options EventLoggerStage bmeventlog.Stage }
Click to show internal directories.
Click to hide internal directories.