Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockInstance
- func (m *MockInstance) Delete(arg0, arg1 time.Duration, arg2 bool, arg3 ui.Stage) error
- func (m *MockInstance) Disks() ([]disk.Disk, error)
- func (m *MockInstance) EXPECT() *MockInstanceMockRecorder
- func (m *MockInstance) ID() int
- func (m *MockInstance) JobName() string
- func (m *MockInstance) Start(arg0 manifest.Update, arg1, arg2 time.Duration, arg3 ui.Stage) error
- func (m *MockInstance) Stop(arg0, arg1 time.Duration, arg2 bool, arg3 ui.Stage) error
- func (m *MockInstance) UpdateDisks(arg0 manifest.Manifest, arg1 ui.Stage) ([]disk.Disk, error)
- func (m *MockInstance) UpdateJobs(arg0 manifest.Manifest, arg1 ui.Stage) error
- func (m *MockInstance) WaitUntilReady(arg0 manifest0.Registry, arg1 ui.Stage) error
- type MockInstanceMockRecorder
- func (mr *MockInstanceMockRecorder) Delete(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockInstanceMockRecorder) Disks() *gomock.Call
- func (mr *MockInstanceMockRecorder) ID() *gomock.Call
- func (mr *MockInstanceMockRecorder) JobName() *gomock.Call
- func (mr *MockInstanceMockRecorder) Start(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockInstanceMockRecorder) Stop(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockInstanceMockRecorder) UpdateDisks(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockInstanceMockRecorder) UpdateJobs(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockInstanceMockRecorder) WaitUntilReady(arg0, arg1 interface{}) *gomock.Call
- type MockManager
- func (m *MockManager) Create(arg0 string, arg1 int, arg2 manifest.Manifest, arg3 stemcell.CloudStemcell, ...) (instance.Instance, []disk.Disk, error)
- func (m *MockManager) DeleteAll(arg0, arg1 time.Duration, arg2 bool, arg3 ui.Stage) error
- func (m *MockManager) EXPECT() *MockManagerMockRecorder
- func (m *MockManager) FindCurrent() ([]instance.Instance, error)
- type MockManagerMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockInstance ¶
type MockInstance struct {
// contains filtered or unexported fields
}
MockInstance is a mock of Instance interface
func NewMockInstance ¶
func NewMockInstance(ctrl *gomock.Controller) *MockInstance
NewMockInstance creates a new mock instance
func (*MockInstance) Disks ¶
func (m *MockInstance) Disks() ([]disk.Disk, error)
Disks mocks base method
func (*MockInstance) EXPECT ¶
func (m *MockInstance) EXPECT() *MockInstanceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockInstance) UpdateDisks ¶
UpdateDisks mocks base method
func (*MockInstance) UpdateJobs ¶
UpdateJobs mocks base method
func (*MockInstance) WaitUntilReady ¶
WaitUntilReady mocks base method
type MockInstanceMockRecorder ¶
type MockInstanceMockRecorder struct {
// contains filtered or unexported fields
}
MockInstanceMockRecorder is the mock recorder for MockInstance
func (*MockInstanceMockRecorder) Delete ¶
func (mr *MockInstanceMockRecorder) Delete(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
Delete indicates an expected call of Delete
func (*MockInstanceMockRecorder) Disks ¶
func (mr *MockInstanceMockRecorder) Disks() *gomock.Call
Disks indicates an expected call of Disks
func (*MockInstanceMockRecorder) ID ¶
func (mr *MockInstanceMockRecorder) ID() *gomock.Call
ID indicates an expected call of ID
func (*MockInstanceMockRecorder) JobName ¶
func (mr *MockInstanceMockRecorder) JobName() *gomock.Call
JobName indicates an expected call of JobName
func (*MockInstanceMockRecorder) Start ¶
func (mr *MockInstanceMockRecorder) Start(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
Start indicates an expected call of Start
func (*MockInstanceMockRecorder) Stop ¶
func (mr *MockInstanceMockRecorder) Stop(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
Stop indicates an expected call of Stop
func (*MockInstanceMockRecorder) UpdateDisks ¶
func (mr *MockInstanceMockRecorder) UpdateDisks(arg0, arg1 interface{}) *gomock.Call
UpdateDisks indicates an expected call of UpdateDisks
func (*MockInstanceMockRecorder) UpdateJobs ¶
func (mr *MockInstanceMockRecorder) UpdateJobs(arg0, arg1 interface{}) *gomock.Call
UpdateJobs indicates an expected call of UpdateJobs
func (*MockInstanceMockRecorder) WaitUntilReady ¶
func (mr *MockInstanceMockRecorder) WaitUntilReady(arg0, arg1 interface{}) *gomock.Call
WaitUntilReady indicates an expected call of WaitUntilReady
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) Create ¶
func (m *MockManager) Create(arg0 string, arg1 int, arg2 manifest.Manifest, arg3 stemcell.CloudStemcell, arg4 manifest0.Registry, arg5 ui.Stage) (instance.Instance, []disk.Disk, error)
Create 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() ([]instance.Instance, error)
FindCurrent mocks base method
type MockManagerMockRecorder ¶
type MockManagerMockRecorder struct {
// contains filtered or unexported fields
}
MockManagerMockRecorder is the mock recorder for MockManager
func (*MockManagerMockRecorder) Create ¶
func (mr *MockManagerMockRecorder) Create(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockManagerMockRecorder) DeleteAll ¶
func (mr *MockManagerMockRecorder) DeleteAll(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
DeleteAll indicates an expected call of DeleteAll
func (*MockManagerMockRecorder) FindCurrent ¶
func (mr *MockManagerMockRecorder) FindCurrent() *gomock.Call
FindCurrent indicates an expected call of FindCurrent