Documentation ¶
Index ¶
- type MockCloudStemcell
- type MockManager
- func (_m *MockManager) DeleteUnused(_param0 ui.Stage) error
- func (_m *MockManager) EXPECT() *_MockManagerRecorder
- func (_m *MockManager) FindCurrent() ([]stemcell.CloudStemcell, error)
- func (_m *MockManager) FindUnused() ([]stemcell.CloudStemcell, error)
- func (_m *MockManager) Upload(_param0 stemcell.ExtractedStemcell, _param1 ui.Stage) (stemcell.CloudStemcell, error)
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)
Click to show internal directories.
Click to hide internal directories.