mocks

package
v2.1.0-alpha.8 Latest Latest
Warning

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

Go to latest
Published: May 25, 2023 License: Apache-2.0 Imports: 6 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) GetApplications added in v2.0.9

func (m *MockDynconfigInterface) GetApplications() ([]*manager.Application, error)

GetApplications mocks base method.

func (*MockDynconfigInterface) GetResolveSeedPeerAddrs added in v2.0.6

func (m *MockDynconfigInterface) GetResolveSeedPeerAddrs() ([]resolver.Address, error)

GetResolveSeedPeerAddrs mocks base method.

func (*MockDynconfigInterface) GetScheduler added in v2.0.9

func (m *MockDynconfigInterface) GetScheduler() (*manager.Scheduler, error)

GetScheduler mocks base method.

func (*MockDynconfigInterface) GetSchedulerCluster added in v2.0.9

func (m *MockDynconfigInterface) GetSchedulerCluster() (*manager.SchedulerCluster, error)

GetSchedulerCluster mocks base method.

func (*MockDynconfigInterface) GetSchedulerClusterClientConfig added in v2.0.2

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

GetSchedulerClusterClientConfig mocks base method.

func (*MockDynconfigInterface) GetSchedulerClusterConfig added in v2.0.2

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

GetSchedulerClusterConfig mocks base method.

func (*MockDynconfigInterface) GetSeedPeers added in v2.0.6

func (m *MockDynconfigInterface) GetSeedPeers() ([]*manager.SeedPeer, error)

GetSeedPeers mocks base method.

func (*MockDynconfigInterface) Notify added in v2.0.2

func (m *MockDynconfigInterface) Notify() error

Notify mocks base method.

func (*MockDynconfigInterface) Refresh added in v2.0.6

func (m *MockDynconfigInterface) Refresh() error

Refresh 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) GetApplications added in v2.0.9

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

GetApplications indicates an expected call of GetApplications.

func (*MockDynconfigInterfaceMockRecorder) GetResolveSeedPeerAddrs added in v2.0.6

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

GetResolveSeedPeerAddrs indicates an expected call of GetResolveSeedPeerAddrs.

func (*MockDynconfigInterfaceMockRecorder) GetScheduler added in v2.0.9

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

GetScheduler indicates an expected call of GetScheduler.

func (*MockDynconfigInterfaceMockRecorder) GetSchedulerCluster added in v2.0.9

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

GetSchedulerCluster indicates an expected call of GetSchedulerCluster.

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) GetSeedPeers added in v2.0.6

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

GetSeedPeers indicates an expected call of GetSeedPeers.

func (*MockDynconfigInterfaceMockRecorder) Notify added in v2.0.2

Notify indicates an expected call of Notify.

func (*MockDynconfigInterfaceMockRecorder) Refresh added in v2.0.6

Refresh indicates an expected call of Refresh.

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