Documentation ¶
Index ¶
- type MockInstance
- func (_m *MockInstance) Delete(_param0 time.Duration, _param1 time.Duration, _param2 ui.Stage) error
- func (_m *MockInstance) Disks() ([]disk.Disk, error)
- func (_m *MockInstance) EXPECT() *_MockInstanceRecorder
- func (_m *MockInstance) ID() int
- func (_m *MockInstance) JobName() string
- func (_m *MockInstance) UpdateDisks(_param0 manifest.Manifest, _param1 ui.Stage) ([]disk.Disk, error)
- func (_m *MockInstance) UpdateJobs(_param0 manifest.Manifest, _param1 ui.Stage) error
- func (_m *MockInstance) WaitUntilReady(_param0 manifest0.Registry, _param1 manifest0.SSHTunnel, _param2 ui.Stage) error
- type MockManager
- func (_m *MockManager) Create(_param0 string, _param1 int, _param2 manifest.Manifest, ...) (instance.Instance, []disk.Disk, error)
- func (_m *MockManager) DeleteAll(_param0 time.Duration, _param1 time.Duration, _param2 ui.Stage) error
- func (_m *MockManager) EXPECT() *_MockManagerRecorder
- func (_m *MockManager) FindCurrent() ([]instance.Instance, error)
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
}
Mock of Instance interface
func NewMockInstance ¶
func NewMockInstance(ctrl *gomock.Controller) *MockInstance
func (*MockInstance) EXPECT ¶
func (_m *MockInstance) EXPECT() *_MockInstanceRecorder
func (*MockInstance) ID ¶
func (_m *MockInstance) ID() int
func (*MockInstance) JobName ¶
func (_m *MockInstance) JobName() string
func (*MockInstance) UpdateDisks ¶
func (*MockInstance) UpdateJobs ¶
func (*MockInstance) WaitUntilReady ¶
type MockManager ¶
type MockManager struct {
// contains filtered or unexported fields
}
Mock of Manager interface
func NewMockManager ¶
func NewMockManager(ctrl *gomock.Controller) *MockManager
func (*MockManager) EXPECT ¶
func (_m *MockManager) EXPECT() *_MockManagerRecorder
func (*MockManager) FindCurrent ¶
func (_m *MockManager) FindCurrent() ([]instance.Instance, error)
Click to show internal directories.
Click to hide internal directories.