Documentation
¶
Index ¶
- type FakeVMDeployer
- func (m *FakeVMDeployer) Deploy(cloud bicloud.Cloud, deploymentManifest bideplmanifest.Manifest, ...) (bivm.VM, error)
- func (m *FakeVMDeployer) SetDeployBehavior(vm bivm.VM, err error)
- func (m *FakeVMDeployer) WaitUntilReady(vm bivm.VM, sshTunnelOptions bisshtunnel.Options, eventLoggerStage biui.Stage) error
- type VMDeployInput
- type WaitUntilReadyInput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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 bicloud.Cloud,
deploymentManifest bideplmanifest.Manifest,
stemcell bistemcell.CloudStemcell,
mbusURL string,
eventLoggerStage biui.Stage,
) (bivm.VM, error)
func (*FakeVMDeployer) SetDeployBehavior ¶
func (m *FakeVMDeployer) SetDeployBehavior(vm bivm.VM, err error)
func (*FakeVMDeployer) WaitUntilReady ¶
func (m *FakeVMDeployer) WaitUntilReady(vm bivm.VM, sshTunnelOptions bisshtunnel.Options, eventLoggerStage biui.Stage) error
type VMDeployInput ¶
type VMDeployInput struct {
Cloud bicloud.Cloud
Manifest bideplmanifest.Manifest
Stemcell bistemcell.CloudStemcell
MbusURL string
EventLoggerStage biui.Stage
}
type WaitUntilReadyInput ¶
type WaitUntilReadyInput struct {
VM bivm.VM
SSHTunnelOptions bisshtunnel.Options
EventLoggerStage biui.Stage
}
Click to show internal directories.
Click to hide internal directories.