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: 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

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

MockDynconfigInterface is a mock of DynconfigInterface interface.

func NewMockDynconfigInterface

func NewMockDynconfigInterface(ctrl *gomock.Controller) *MockDynconfigInterface

NewMockDynconfigInterface creates a new mock instance.

func (*MockDynconfigInterface) Deregister

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

Deregister mocks base method.

func (*MockDynconfigInterface) EXPECT

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

func (*MockDynconfigInterface) Get

Get mocks base method.

func (*MockDynconfigInterface) GetApplications

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

GetApplications mocks base method.

func (*MockDynconfigInterface) GetResolveSeedPeerAddrs

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

GetResolveSeedPeerAddrs mocks base method.

func (*MockDynconfigInterface) GetScheduler

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

GetScheduler mocks base method.

func (*MockDynconfigInterface) GetSchedulerCluster

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

GetSchedulerCluster mocks base method.

func (*MockDynconfigInterface) GetSchedulerClusterClientConfig

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

GetSchedulerClusterClientConfig mocks base method.

func (*MockDynconfigInterface) GetSchedulerClusterConfig

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

GetSchedulerClusterConfig mocks base method.

func (*MockDynconfigInterface) GetSeedPeers

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

GetSeedPeers mocks base method.

func (*MockDynconfigInterface) Notify

func (m *MockDynconfigInterface) Notify() error

Notify mocks base method.

func (*MockDynconfigInterface) Refresh

func (m *MockDynconfigInterface) Refresh() error

Refresh mocks base method.

func (*MockDynconfigInterface) Register

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

Register mocks base method.

func (*MockDynconfigInterface) Serve

func (m *MockDynconfigInterface) Serve() error

Serve mocks base method.

func (*MockDynconfigInterface) Stop

func (m *MockDynconfigInterface) Stop() error

Stop mocks base method.

type MockDynconfigInterfaceMockRecorder

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

MockDynconfigInterfaceMockRecorder is the mock recorder for MockDynconfigInterface.

func (*MockDynconfigInterfaceMockRecorder) Deregister

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

Deregister indicates an expected call of Deregister.

func (*MockDynconfigInterfaceMockRecorder) Get

Get indicates an expected call of Get.

func (*MockDynconfigInterfaceMockRecorder) GetApplications

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

GetApplications indicates an expected call of GetApplications.

func (*MockDynconfigInterfaceMockRecorder) GetResolveSeedPeerAddrs

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

GetResolveSeedPeerAddrs indicates an expected call of GetResolveSeedPeerAddrs.

func (*MockDynconfigInterfaceMockRecorder) GetScheduler

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

GetScheduler indicates an expected call of GetScheduler.

func (*MockDynconfigInterfaceMockRecorder) GetSchedulerCluster

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

GetSchedulerCluster indicates an expected call of GetSchedulerCluster.

func (*MockDynconfigInterfaceMockRecorder) GetSchedulerClusterClientConfig

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

GetSchedulerClusterClientConfig indicates an expected call of GetSchedulerClusterClientConfig.

func (*MockDynconfigInterfaceMockRecorder) GetSchedulerClusterConfig

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

GetSchedulerClusterConfig indicates an expected call of GetSchedulerClusterConfig.

func (*MockDynconfigInterfaceMockRecorder) GetSeedPeers

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

GetSeedPeers indicates an expected call of GetSeedPeers.

func (*MockDynconfigInterfaceMockRecorder) Notify

Notify indicates an expected call of Notify.

func (*MockDynconfigInterfaceMockRecorder) Refresh

Refresh indicates an expected call of Refresh.

func (*MockDynconfigInterfaceMockRecorder) Register

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

Register indicates an expected call of Register.

func (*MockDynconfigInterfaceMockRecorder) Serve

Serve indicates an expected call of Serve.

func (*MockDynconfigInterfaceMockRecorder) 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