schedulermock

package
v2.0.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 27, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package schedulermock is a generated GoMock package.

Index

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

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) GetIP

func (m *MockScheduler) GetIP(arg0 context.Context, arg1 string) *api.IP

GetIP mocks base method.

func (*MockScheduler) Start

func (m *MockScheduler) Start(arg0 context.Context, arg1 models.IP) (models.IP, error)

Start mocks base method.

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) UpdateIP

func (m *MockScheduler) UpdateIP(arg0 context.Context, arg1 models.IP) error

UpdateIP 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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL