mocks

package
v2.0.8-beta.3 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockDynconfig added in v2.0.4

type MockDynconfig struct {
	// contains filtered or unexported fields
}

MockDynconfig is a mock of Dynconfig interface.

func NewMockDynconfig added in v2.0.4

func NewMockDynconfig(ctrl *gomock.Controller) *MockDynconfig

NewMockDynconfig creates a new mock instance.

func (*MockDynconfig) Deregister added in v2.0.4

func (m *MockDynconfig) Deregister(arg0 config.Observer)

Deregister mocks base method.

func (*MockDynconfig) EXPECT added in v2.0.4

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockDynconfig) Get added in v2.0.4

func (m *MockDynconfig) Get() (*config.DynconfigData, error)

Get mocks base method.

func (*MockDynconfig) GetObjectStorage added in v2.0.4

func (m *MockDynconfig) GetObjectStorage() (*v1.ObjectStorage, error)

GetObjectStorage mocks base method.

func (*MockDynconfig) GetResolveSchedulerAddrs added in v2.0.6

func (m *MockDynconfig) GetResolveSchedulerAddrs() ([]resolver.Address, error)

GetResolveSchedulerAddrs mocks base method.

func (*MockDynconfig) GetSchedulers added in v2.0.4

func (m *MockDynconfig) GetSchedulers() ([]*v1.Scheduler, error)

GetSchedulers mocks base method.

func (*MockDynconfig) Notify added in v2.0.4

func (m *MockDynconfig) Notify() error

Notify mocks base method.

func (*MockDynconfig) Refresh added in v2.0.6

func (m *MockDynconfig) Refresh() error

Refresh mocks base method.

func (*MockDynconfig) Register added in v2.0.4

func (m *MockDynconfig) Register(arg0 config.Observer)

Register mocks base method.

func (*MockDynconfig) Serve added in v2.0.4

func (m *MockDynconfig) Serve() error

Serve mocks base method.

func (*MockDynconfig) Stop added in v2.0.4

func (m *MockDynconfig) Stop() error

Stop mocks base method.

type MockDynconfigMockRecorder added in v2.0.4

type MockDynconfigMockRecorder struct {
	// contains filtered or unexported fields
}

MockDynconfigMockRecorder is the mock recorder for MockDynconfig.

func (*MockDynconfigMockRecorder) Deregister added in v2.0.4

func (mr *MockDynconfigMockRecorder) Deregister(arg0 interface{}) *gomock.Call

Deregister indicates an expected call of Deregister.

func (*MockDynconfigMockRecorder) Get added in v2.0.4

Get indicates an expected call of Get.

func (*MockDynconfigMockRecorder) GetObjectStorage added in v2.0.4

func (mr *MockDynconfigMockRecorder) GetObjectStorage() *gomock.Call

GetObjectStorage indicates an expected call of GetObjectStorage.

func (*MockDynconfigMockRecorder) GetResolveSchedulerAddrs added in v2.0.6

func (mr *MockDynconfigMockRecorder) GetResolveSchedulerAddrs() *gomock.Call

GetResolveSchedulerAddrs indicates an expected call of GetResolveSchedulerAddrs.

func (*MockDynconfigMockRecorder) GetSchedulers added in v2.0.4

func (mr *MockDynconfigMockRecorder) GetSchedulers() *gomock.Call

GetSchedulers indicates an expected call of GetSchedulers.

func (*MockDynconfigMockRecorder) Notify added in v2.0.4

func (mr *MockDynconfigMockRecorder) Notify() *gomock.Call

Notify indicates an expected call of Notify.

func (*MockDynconfigMockRecorder) Refresh added in v2.0.6

func (mr *MockDynconfigMockRecorder) Refresh() *gomock.Call

Refresh indicates an expected call of Refresh.

func (*MockDynconfigMockRecorder) Register added in v2.0.4

func (mr *MockDynconfigMockRecorder) Register(arg0 interface{}) *gomock.Call

Register indicates an expected call of Register.

func (*MockDynconfigMockRecorder) Serve added in v2.0.4

func (mr *MockDynconfigMockRecorder) Serve() *gomock.Call

Serve indicates an expected call of Serve.

func (*MockDynconfigMockRecorder) Stop added in v2.0.4

Stop indicates an expected call of Stop.

type MockObserver added in v2.0.4

type MockObserver struct {
	// contains filtered or unexported fields
}

MockObserver is a mock of Observer interface.

func NewMockObserver added in v2.0.4

func NewMockObserver(ctrl *gomock.Controller) *MockObserver

NewMockObserver creates a new mock instance.

func (*MockObserver) EXPECT added in v2.0.4

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockObserver) OnNotify added in v2.0.4

func (m *MockObserver) OnNotify(arg0 *config.DynconfigData)

OnNotify mocks base method.

type MockObserverMockRecorder added in v2.0.4

type MockObserverMockRecorder struct {
	// contains filtered or unexported fields
}

MockObserverMockRecorder is the mock recorder for MockObserver.

func (*MockObserverMockRecorder) OnNotify added in v2.0.4

func (mr *MockObserverMockRecorder) OnNotify(arg0 interface{}) *gomock.Call

OnNotify indicates an expected call of OnNotify.

Jump to

Keyboard shortcuts

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