mocks

package
v1.0.15 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2023 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

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

MockDynconfig is a mock of Dynconfig interface.

func NewMockDynconfig

func NewMockDynconfig(ctrl *gomock.Controller) *MockDynconfig

NewMockDynconfig creates a new mock instance.

func (*MockDynconfig) Deregister

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

Deregister mocks base method.

func (*MockDynconfig) EXPECT

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

func (*MockDynconfig) Get

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

Get mocks base method.

func (*MockDynconfig) GetObjectStorage

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

GetObjectStorage mocks base method.

func (*MockDynconfig) GetResolveSchedulerAddrs

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

GetResolveSchedulerAddrs mocks base method.

func (*MockDynconfig) GetSchedulers

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

GetSchedulers mocks base method.

func (*MockDynconfig) Notify

func (m *MockDynconfig) Notify() error

Notify mocks base method.

func (*MockDynconfig) OnNotify

func (m *MockDynconfig) OnNotify(arg0 *config.DaemonOption)

OnNotify mocks base method.

func (*MockDynconfig) Refresh

func (m *MockDynconfig) Refresh() error

Refresh mocks base method.

func (*MockDynconfig) Register

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

Register mocks base method.

func (*MockDynconfig) Serve

func (m *MockDynconfig) Serve() error

Serve mocks base method.

func (*MockDynconfig) Stop

func (m *MockDynconfig) Stop() error

Stop mocks base method.

type MockDynconfigMockRecorder

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

MockDynconfigMockRecorder is the mock recorder for MockDynconfig.

func (*MockDynconfigMockRecorder) Deregister

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

Deregister indicates an expected call of Deregister.

func (*MockDynconfigMockRecorder) Get

Get indicates an expected call of Get.

func (*MockDynconfigMockRecorder) GetObjectStorage

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

GetObjectStorage indicates an expected call of GetObjectStorage.

func (*MockDynconfigMockRecorder) GetResolveSchedulerAddrs

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

GetResolveSchedulerAddrs indicates an expected call of GetResolveSchedulerAddrs.

func (*MockDynconfigMockRecorder) GetSchedulers

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

GetSchedulers indicates an expected call of GetSchedulers.

func (*MockDynconfigMockRecorder) Notify

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

Notify indicates an expected call of Notify.

func (*MockDynconfigMockRecorder) OnNotify

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

OnNotify indicates an expected call of OnNotify.

func (*MockDynconfigMockRecorder) Refresh

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

Refresh indicates an expected call of Refresh.

func (*MockDynconfigMockRecorder) Register

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

Register indicates an expected call of Register.

func (*MockDynconfigMockRecorder) Serve

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

Serve indicates an expected call of Serve.

func (*MockDynconfigMockRecorder) Stop

Stop indicates an expected call of Stop.

type MockObserver

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

MockObserver is a mock of Observer interface.

func NewMockObserver

func NewMockObserver(ctrl *gomock.Controller) *MockObserver

NewMockObserver creates a new mock instance.

func (*MockObserver) EXPECT

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

func (*MockObserver) OnNotify

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

OnNotify mocks base method.

type MockObserverMockRecorder

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

MockObserverMockRecorder is the mock recorder for MockObserver.

func (*MockObserverMockRecorder) OnNotify

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