Documentation ¶
Overview ¶
Package schedulermock is a generated GoMock package.
Index ¶
- type MockScheduler
- func (m *MockScheduler) ConfiguredIPs(arg0 context.Context) []api.IP
- func (m *MockScheduler) EXPECT() *MockSchedulerMockRecorder
- func (m *MockScheduler) GetIP(arg0 context.Context, arg1 string) *api.IP
- func (m *MockScheduler) Start(arg0 context.Context, arg1 models.IP) (models.IP, error)
- func (m *MockScheduler) Status(arg0 string) string
- func (m *MockScheduler) Stop(arg0 context.Context, arg1 string) error
- func (m *MockScheduler) TryGetLock(arg0 context.Context, arg1 string) bool
- type MockSchedulerMockRecorder
- func (mr *MockSchedulerMockRecorder) ConfiguredIPs(arg0 interface{}) *gomock.Call
- func (mr *MockSchedulerMockRecorder) GetIP(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSchedulerMockRecorder) Start(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSchedulerMockRecorder) Status(arg0 interface{}) *gomock.Call
- func (mr *MockSchedulerMockRecorder) Stop(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSchedulerMockRecorder) TryGetLock(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockScheduler ¶
type MockScheduler struct {
// contains filtered or unexported fields
}
MockScheduler is a mock of Scheduler interface
func NewMockScheduler ¶
func NewMockScheduler(ctrl *gomock.Controller) *MockScheduler
NewMockScheduler creates a new mock instance
func (*MockScheduler) ConfiguredIPs ¶
func (m *MockScheduler) ConfiguredIPs(arg0 context.Context) []api.IP
ConfiguredIPs mocks base method
func (*MockScheduler) EXPECT ¶
func (m *MockScheduler) EXPECT() *MockSchedulerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockScheduler) Status ¶
func (m *MockScheduler) Status(arg0 string) string
Status mocks base method
func (*MockScheduler) Stop ¶
func (m *MockScheduler) Stop(arg0 context.Context, arg1 string) error
Stop mocks base method
func (*MockScheduler) TryGetLock ¶
func (m *MockScheduler) TryGetLock(arg0 context.Context, arg1 string) bool
TryGetLock mocks base method
type MockSchedulerMockRecorder ¶
type MockSchedulerMockRecorder struct {
// contains filtered or unexported fields
}
MockSchedulerMockRecorder is the mock recorder for MockScheduler
func (*MockSchedulerMockRecorder) ConfiguredIPs ¶
func (mr *MockSchedulerMockRecorder) ConfiguredIPs(arg0 interface{}) *gomock.Call
ConfiguredIPs indicates an expected call of ConfiguredIPs
func (*MockSchedulerMockRecorder) GetIP ¶
func (mr *MockSchedulerMockRecorder) GetIP(arg0, arg1 interface{}) *gomock.Call
GetIP indicates an expected call of GetIP
func (*MockSchedulerMockRecorder) Start ¶
func (mr *MockSchedulerMockRecorder) Start(arg0, arg1 interface{}) *gomock.Call
Start indicates an expected call of Start
func (*MockSchedulerMockRecorder) Status ¶
func (mr *MockSchedulerMockRecorder) Status(arg0 interface{}) *gomock.Call
Status indicates an expected call of Status
func (*MockSchedulerMockRecorder) Stop ¶
func (mr *MockSchedulerMockRecorder) Stop(arg0, arg1 interface{}) *gomock.Call
Stop indicates an expected call of Stop
func (*MockSchedulerMockRecorder) TryGetLock ¶
func (mr *MockSchedulerMockRecorder) TryGetLock(arg0, arg1 interface{}) *gomock.Call
TryGetLock indicates an expected call of TryGetLock