mocks

package
v0.0.24 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockDeployer

type MockDeployer struct {
	// contains filtered or unexported fields
}

Mock of Deployer interface

func NewMockDeployer

func NewMockDeployer(ctrl *gomock.Controller) *MockDeployer

func (*MockDeployer) Deploy

func (_m *MockDeployer) Deploy(_param0 cloud.Cloud, _param1 manifest0.Manifest, _param2 stemcell.CloudStemcell, _param3 manifest.Registry, _param4 vm.Manager, _param5 blobstore.Blobstore, _param6 ui.Stage) (deployment.Deployment, error)

func (*MockDeployer) EXPECT

func (_m *MockDeployer) EXPECT() *_MockDeployerRecorder

type MockDeployment

type MockDeployment struct {
	// contains filtered or unexported fields
}

Mock of Deployment interface

func NewMockDeployment

func NewMockDeployment(ctrl *gomock.Controller) *MockDeployment

func (*MockDeployment) Delete

func (_m *MockDeployment) Delete(_param0 ui.Stage) error

func (*MockDeployment) EXPECT

func (_m *MockDeployment) EXPECT() *_MockDeploymentRecorder

type MockFactory

type MockFactory struct {
	// contains filtered or unexported fields
}

Mock of Factory interface

func NewMockFactory

func NewMockFactory(ctrl *gomock.Controller) *MockFactory

func (*MockFactory) EXPECT

func (_m *MockFactory) EXPECT() *_MockFactoryRecorder

func (*MockFactory) NewDeployment

func (_m *MockFactory) NewDeployment(_param0 []instance.Instance, _param1 []disk.Disk, _param2 []stemcell.CloudStemcell) deployment.Deployment

type MockManager

type MockManager struct {
	// contains filtered or unexported fields
}

Mock of Manager interface

func NewMockManager

func NewMockManager(ctrl *gomock.Controller) *MockManager

func (*MockManager) Cleanup

func (_m *MockManager) Cleanup(_param0 ui.Stage) error

func (*MockManager) EXPECT

func (_m *MockManager) EXPECT() *_MockManagerRecorder

func (*MockManager) FindCurrent

func (_m *MockManager) FindCurrent() (deployment.Deployment, bool, error)

type MockManagerFactory

type MockManagerFactory struct {
	// contains filtered or unexported fields
}

Mock of ManagerFactory interface

func NewMockManagerFactory

func NewMockManagerFactory(ctrl *gomock.Controller) *MockManagerFactory

func (*MockManagerFactory) EXPECT

func (_m *MockManagerFactory) EXPECT() *_MockManagerFactoryRecorder

func (*MockManagerFactory) NewManager

func (_m *MockManagerFactory) NewManager(_param0 cloud.Cloud, _param1 agentclient.AgentClient, _param2 blobstore.Blobstore) deployment.Manager

Jump to

Keyboard shortcuts

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