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) Failover(arg0 context.Context, arg1 string) error
- 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) UpdateIP(arg0 context.Context, arg1 models.IP) error
- type MockSchedulerMockRecorder
- func (mr *MockSchedulerMockRecorder) ConfiguredIPs(arg0 interface{}) *gomock.Call
- func (mr *MockSchedulerMockRecorder) Failover(arg0, arg1 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) UpdateIP(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) Failover ¶
func (m *MockScheduler) Failover(arg0 context.Context, arg1 string) error
Failover mocks base method.
func (*MockScheduler) Status ¶
func (m *MockScheduler) Status(arg0 string) string
Status 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) Failover ¶
func (mr *MockSchedulerMockRecorder) Failover(arg0, arg1 interface{}) *gomock.Call
Failover indicates an expected call of Failover.
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) UpdateIP ¶
func (mr *MockSchedulerMockRecorder) UpdateIP(arg0, arg1 interface{}) *gomock.Call
UpdateIP indicates an expected call of UpdateIP.