Documentation ¶
Index ¶
- type MockUnitInterface
- func (_m *MockUnitInterface) Create()
- func (_m *MockUnitInterface) Destroy()
- func (_m *MockUnitInterface) EXPECT() *MockUnitInterfaceMockRecorder
- func (_m *MockUnitInterface) LoadAndWatch()
- func (_m *MockUnitInterface) PutOnQueue()
- func (_m *MockUnitInterface) Restart()
- func (_m *MockUnitInterface) SaveOnEtcd()
- func (_m *MockUnitInterface) SetDesiredState(_param0 state.State)
- func (_m *MockUnitInterface) SetState(_param0 state.State)
- func (_m *MockUnitInterface) Start()
- func (_m *MockUnitInterface) Stop()
- func (_m *MockUnitInterface) Watch()
- type MockUnitInterfaceMockRecorder
- func (_mr *MockUnitInterfaceMockRecorder) Create() *gomock.Call
- func (_mr *MockUnitInterfaceMockRecorder) Destroy() *gomock.Call
- func (_mr *MockUnitInterfaceMockRecorder) LoadAndWatch() *gomock.Call
- func (_mr *MockUnitInterfaceMockRecorder) PutOnQueue() *gomock.Call
- func (_mr *MockUnitInterfaceMockRecorder) Restart() *gomock.Call
- func (_mr *MockUnitInterfaceMockRecorder) SaveOnEtcd() *gomock.Call
- func (_mr *MockUnitInterfaceMockRecorder) SetDesiredState(arg0 interface{}) *gomock.Call
- func (_mr *MockUnitInterfaceMockRecorder) SetState(arg0 interface{}) *gomock.Call
- func (_mr *MockUnitInterfaceMockRecorder) Start() *gomock.Call
- func (_mr *MockUnitInterfaceMockRecorder) Stop() *gomock.Call
- func (_mr *MockUnitInterfaceMockRecorder) Watch() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockUnitInterface ¶
type MockUnitInterface struct {
// contains filtered or unexported fields
}
MockUnitInterface is a mock of UnitInterface interface
func NewMockUnitInterface ¶
func NewMockUnitInterface(ctrl *gomock.Controller) *MockUnitInterface
NewMockUnitInterface creates a new mock instance
func (*MockUnitInterface) Destroy ¶
func (_m *MockUnitInterface) Destroy()
Destroy mocks base method
func (*MockUnitInterface) EXPECT ¶
func (_m *MockUnitInterface) EXPECT() *MockUnitInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockUnitInterface) LoadAndWatch ¶
func (_m *MockUnitInterface) LoadAndWatch()
LoadAndWatch mocks base method
func (*MockUnitInterface) PutOnQueue ¶
func (_m *MockUnitInterface) PutOnQueue()
PutOnQueue mocks base method
func (*MockUnitInterface) Restart ¶
func (_m *MockUnitInterface) Restart()
Restart mocks base method
func (*MockUnitInterface) SaveOnEtcd ¶
func (_m *MockUnitInterface) SaveOnEtcd()
SaveOnEtcd mocks base method
func (*MockUnitInterface) SetDesiredState ¶
func (_m *MockUnitInterface) SetDesiredState(_param0 state.State)
SetDesiredState mocks base method
func (*MockUnitInterface) SetState ¶
func (_m *MockUnitInterface) SetState(_param0 state.State)
SetState mocks base method
type MockUnitInterfaceMockRecorder ¶
type MockUnitInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockUnitInterfaceMockRecorder is the mock recorder for MockUnitInterface
func (*MockUnitInterfaceMockRecorder) Create ¶
func (_mr *MockUnitInterfaceMockRecorder) Create() *gomock.Call
Create indicates an expected call of Create
func (*MockUnitInterfaceMockRecorder) Destroy ¶
func (_mr *MockUnitInterfaceMockRecorder) Destroy() *gomock.Call
Destroy indicates an expected call of Destroy
func (*MockUnitInterfaceMockRecorder) LoadAndWatch ¶
func (_mr *MockUnitInterfaceMockRecorder) LoadAndWatch() *gomock.Call
LoadAndWatch indicates an expected call of LoadAndWatch
func (*MockUnitInterfaceMockRecorder) PutOnQueue ¶
func (_mr *MockUnitInterfaceMockRecorder) PutOnQueue() *gomock.Call
PutOnQueue indicates an expected call of PutOnQueue
func (*MockUnitInterfaceMockRecorder) Restart ¶
func (_mr *MockUnitInterfaceMockRecorder) Restart() *gomock.Call
Restart indicates an expected call of Restart
func (*MockUnitInterfaceMockRecorder) SaveOnEtcd ¶
func (_mr *MockUnitInterfaceMockRecorder) SaveOnEtcd() *gomock.Call
SaveOnEtcd indicates an expected call of SaveOnEtcd
func (*MockUnitInterfaceMockRecorder) SetDesiredState ¶
func (_mr *MockUnitInterfaceMockRecorder) SetDesiredState(arg0 interface{}) *gomock.Call
SetDesiredState indicates an expected call of SetDesiredState
func (*MockUnitInterfaceMockRecorder) SetState ¶
func (_mr *MockUnitInterfaceMockRecorder) SetState(arg0 interface{}) *gomock.Call
SetState indicates an expected call of SetState
func (*MockUnitInterfaceMockRecorder) Start ¶
func (_mr *MockUnitInterfaceMockRecorder) Start() *gomock.Call
Start indicates an expected call of Start
func (*MockUnitInterfaceMockRecorder) Stop ¶
func (_mr *MockUnitInterfaceMockRecorder) Stop() *gomock.Call
Stop indicates an expected call of Stop
func (*MockUnitInterfaceMockRecorder) Watch ¶
func (_mr *MockUnitInterfaceMockRecorder) Watch() *gomock.Call
Watch indicates an expected call of Watch