fakes

package
v0.0.18 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 5, 2015 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

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
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL