schedulermock

package
v1.9.3 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2020 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) 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) 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

Jump to

Keyboard shortcuts

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