mocks

package
v0.0.126 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2016 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockCloudStemcell

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

Mock of CloudStemcell interface

func NewMockCloudStemcell

func NewMockCloudStemcell(ctrl *gomock.Controller) *MockCloudStemcell

func (*MockCloudStemcell) CID

func (_m *MockCloudStemcell) CID() string

func (*MockCloudStemcell) Delete

func (_m *MockCloudStemcell) Delete() error

func (*MockCloudStemcell) EXPECT

func (_m *MockCloudStemcell) EXPECT() *_MockCloudStemcellRecorder

func (*MockCloudStemcell) Name

func (_m *MockCloudStemcell) Name() string

func (*MockCloudStemcell) PromoteAsCurrent

func (_m *MockCloudStemcell) PromoteAsCurrent() error

func (*MockCloudStemcell) Version

func (_m *MockCloudStemcell) Version() string

type MockManager

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

Mock of Manager interface

func NewMockManager

func NewMockManager(ctrl *gomock.Controller) *MockManager

func (*MockManager) DeleteUnused

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

func (*MockManager) EXPECT

func (_m *MockManager) EXPECT() *_MockManagerRecorder

func (*MockManager) FindCurrent

func (_m *MockManager) FindCurrent() ([]stemcell.CloudStemcell, error)

func (*MockManager) FindUnused

func (_m *MockManager) FindUnused() ([]stemcell.CloudStemcell, error)

func (*MockManager) Upload

func (_m *MockManager) Upload(_param0 stemcell.ExtractedStemcell, _param1 ui.Stage) (stemcell.CloudStemcell, error)

Jump to

Keyboard shortcuts

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