mocks

package
v2.0.2-beta.0 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2022 License: Apache-2.0 Imports: 4 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 MockDynconfigInterface added in v2.0.2

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

MockDynconfigInterface is a mock of DynconfigInterface interface.

func NewMockDynconfigInterface added in v2.0.2

func NewMockDynconfigInterface(ctrl *gomock.Controller) *MockDynconfigInterface

NewMockDynconfigInterface creates a new mock instance.

func (*MockDynconfigInterface) Deregister added in v2.0.2

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

Deregister mocks base method.

func (*MockDynconfigInterface) EXPECT added in v2.0.2

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

func (*MockDynconfigInterface) Get added in v2.0.2

Get mocks base method.

func (*MockDynconfigInterface) GetCDNClusterConfig added in v2.0.2

func (m *MockDynconfigInterface) GetCDNClusterConfig(arg0 uint) (types.CDNClusterConfig, bool)

GetCDNClusterConfig mocks base method.

func (*MockDynconfigInterface) GetSchedulerClusterClientConfig added in v2.0.2

func (m *MockDynconfigInterface) GetSchedulerClusterClientConfig() (types.SchedulerClusterClientConfig, bool)

GetSchedulerClusterClientConfig mocks base method.

func (*MockDynconfigInterface) GetSchedulerClusterConfig added in v2.0.2

func (m *MockDynconfigInterface) GetSchedulerClusterConfig() (types.SchedulerClusterConfig, bool)

GetSchedulerClusterConfig mocks base method.

func (*MockDynconfigInterface) Notify added in v2.0.2

func (m *MockDynconfigInterface) Notify() error

Notify mocks base method.

func (*MockDynconfigInterface) Register added in v2.0.2

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

Register mocks base method.

func (*MockDynconfigInterface) Serve added in v2.0.2

func (m *MockDynconfigInterface) Serve() error

Serve mocks base method.

func (*MockDynconfigInterface) Stop added in v2.0.2

func (m *MockDynconfigInterface) Stop() error

Stop mocks base method.

type MockDynconfigInterfaceMockRecorder added in v2.0.2

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

MockDynconfigInterfaceMockRecorder is the mock recorder for MockDynconfigInterface.

func (*MockDynconfigInterfaceMockRecorder) Deregister added in v2.0.2

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

Deregister indicates an expected call of Deregister.

func (*MockDynconfigInterfaceMockRecorder) Get added in v2.0.2

Get indicates an expected call of Get.

func (*MockDynconfigInterfaceMockRecorder) GetCDNClusterConfig added in v2.0.2

func (mr *MockDynconfigInterfaceMockRecorder) GetCDNClusterConfig(arg0 interface{}) *gomock.Call

GetCDNClusterConfig indicates an expected call of GetCDNClusterConfig.

func (*MockDynconfigInterfaceMockRecorder) GetSchedulerClusterClientConfig added in v2.0.2

func (mr *MockDynconfigInterfaceMockRecorder) GetSchedulerClusterClientConfig() *gomock.Call

GetSchedulerClusterClientConfig indicates an expected call of GetSchedulerClusterClientConfig.

func (*MockDynconfigInterfaceMockRecorder) GetSchedulerClusterConfig added in v2.0.2

func (mr *MockDynconfigInterfaceMockRecorder) GetSchedulerClusterConfig() *gomock.Call

GetSchedulerClusterConfig indicates an expected call of GetSchedulerClusterConfig.

func (*MockDynconfigInterfaceMockRecorder) Notify added in v2.0.2

Notify indicates an expected call of Notify.

func (*MockDynconfigInterfaceMockRecorder) Register added in v2.0.2

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

Register indicates an expected call of Register.

func (*MockDynconfigInterfaceMockRecorder) Serve added in v2.0.2

Serve indicates an expected call of Serve.

func (*MockDynconfigInterfaceMockRecorder) Stop added in v2.0.2

Stop indicates an expected call of Stop.

type MockObserver added in v2.0.2

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

MockObserver is a mock of Observer interface.

func NewMockObserver added in v2.0.2

func NewMockObserver(ctrl *gomock.Controller) *MockObserver

NewMockObserver creates a new mock instance.

func (*MockObserver) EXPECT added in v2.0.2

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

func (*MockObserver) OnNotify added in v2.0.2

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

OnNotify mocks base method.

type MockObserverMockRecorder added in v2.0.2

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

MockObserverMockRecorder is the mock recorder for MockObserver.

func (*MockObserverMockRecorder) OnNotify added in v2.0.2

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