Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockCloudStemcell
- type MockCloudStemcellMockRecorder
- func (mr *MockCloudStemcellMockRecorder) CID() *gomock.Call
- func (mr *MockCloudStemcellMockRecorder) Delete() *gomock.Call
- func (mr *MockCloudStemcellMockRecorder) Name() *gomock.Call
- func (mr *MockCloudStemcellMockRecorder) PromoteAsCurrent() *gomock.Call
- func (mr *MockCloudStemcellMockRecorder) Version() *gomock.Call
- type MockManager
- func (m *MockManager) DeleteUnused(arg0 ui.Stage) error
- func (m *MockManager) EXPECT() *MockManagerMockRecorder
- func (m *MockManager) FindCurrent() ([]stemcell.CloudStemcell, error)
- func (m *MockManager) FindUnused() ([]stemcell.CloudStemcell, error)
- func (m *MockManager) Upload(arg0 stemcell.ExtractedStemcell, arg1 ui.Stage) (stemcell.CloudStemcell, error)
- type MockManagerMockRecorder
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
}
MockCloudStemcell is a mock of CloudStemcell interface.
func NewMockCloudStemcell ¶
func NewMockCloudStemcell(ctrl *gomock.Controller) *MockCloudStemcell
NewMockCloudStemcell creates a new mock instance.
func (*MockCloudStemcell) Delete ¶
func (m *MockCloudStemcell) Delete() error
Delete mocks base method.
func (*MockCloudStemcell) EXPECT ¶
func (m *MockCloudStemcell) EXPECT() *MockCloudStemcellMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCloudStemcell) PromoteAsCurrent ¶
func (m *MockCloudStemcell) PromoteAsCurrent() error
PromoteAsCurrent mocks base method.
func (*MockCloudStemcell) Version ¶
func (m *MockCloudStemcell) Version() string
Version mocks base method.
type MockCloudStemcellMockRecorder ¶
type MockCloudStemcellMockRecorder struct {
// contains filtered or unexported fields
}
MockCloudStemcellMockRecorder is the mock recorder for MockCloudStemcell.
func (*MockCloudStemcellMockRecorder) CID ¶
func (mr *MockCloudStemcellMockRecorder) CID() *gomock.Call
CID indicates an expected call of CID.
func (*MockCloudStemcellMockRecorder) Delete ¶
func (mr *MockCloudStemcellMockRecorder) Delete() *gomock.Call
Delete indicates an expected call of Delete.
func (*MockCloudStemcellMockRecorder) Name ¶
func (mr *MockCloudStemcellMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name.
func (*MockCloudStemcellMockRecorder) PromoteAsCurrent ¶
func (mr *MockCloudStemcellMockRecorder) PromoteAsCurrent() *gomock.Call
PromoteAsCurrent indicates an expected call of PromoteAsCurrent.
func (*MockCloudStemcellMockRecorder) Version ¶
func (mr *MockCloudStemcellMockRecorder) Version() *gomock.Call
Version indicates an expected call of Version.
type MockManager ¶
type MockManager struct {
// contains filtered or unexported fields
}
MockManager is a mock of Manager interface.
func NewMockManager ¶
func NewMockManager(ctrl *gomock.Controller) *MockManager
NewMockManager creates a new mock instance.
func (*MockManager) DeleteUnused ¶
func (m *MockManager) DeleteUnused(arg0 ui.Stage) error
DeleteUnused mocks base method.
func (*MockManager) EXPECT ¶
func (m *MockManager) EXPECT() *MockManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockManager) FindCurrent ¶
func (m *MockManager) FindCurrent() ([]stemcell.CloudStemcell, error)
FindCurrent mocks base method.
func (*MockManager) FindUnused ¶
func (m *MockManager) FindUnused() ([]stemcell.CloudStemcell, error)
FindUnused mocks base method.
func (*MockManager) Upload ¶
func (m *MockManager) Upload(arg0 stemcell.ExtractedStemcell, arg1 ui.Stage) (stemcell.CloudStemcell, error)
Upload mocks base method.
type MockManagerMockRecorder ¶
type MockManagerMockRecorder struct {
// contains filtered or unexported fields
}
MockManagerMockRecorder is the mock recorder for MockManager.
func (*MockManagerMockRecorder) DeleteUnused ¶
func (mr *MockManagerMockRecorder) DeleteUnused(arg0 interface{}) *gomock.Call
DeleteUnused indicates an expected call of DeleteUnused.
func (*MockManagerMockRecorder) FindCurrent ¶
func (mr *MockManagerMockRecorder) FindCurrent() *gomock.Call
FindCurrent indicates an expected call of FindCurrent.
func (*MockManagerMockRecorder) FindUnused ¶
func (mr *MockManagerMockRecorder) FindUnused() *gomock.Call
FindUnused indicates an expected call of FindUnused.
func (*MockManagerMockRecorder) Upload ¶
func (mr *MockManagerMockRecorder) Upload(arg0, arg1 interface{}) *gomock.Call
Upload indicates an expected call of Upload.