Documentation ¶
Overview ¶
Code generated by MockGen. DO NOT EDIT. Source: dynconfig.go
Generated by this command:
mockgen -destination mocks/dynconfig_mock.go -source dynconfig.go -package mocks
Package mocks is a generated GoMock package.
Index ¶
- type MockDynconfigInterface
- func (m *MockDynconfigInterface) Deregister(arg0 config.Observer)
- func (m *MockDynconfigInterface) EXPECT() *MockDynconfigInterfaceMockRecorder
- func (m *MockDynconfigInterface) Get() (*config.DynconfigData, error)
- func (m *MockDynconfigInterface) GetApplications() ([]*manager.Application, error)
- func (m *MockDynconfigInterface) GetResolveSeedPeerAddrs() ([]resolver.Address, error)
- func (m *MockDynconfigInterface) GetScheduler() (*manager.Scheduler, error)
- func (m *MockDynconfigInterface) GetSchedulerCluster() (*manager.SchedulerCluster, error)
- func (m *MockDynconfigInterface) GetSchedulerClusterClientConfig() (types.SchedulerClusterClientConfig, error)
- func (m *MockDynconfigInterface) GetSchedulerClusterConfig() (types.SchedulerClusterConfig, error)
- func (m *MockDynconfigInterface) GetSeedPeers() ([]*manager.SeedPeer, error)
- func (m *MockDynconfigInterface) Notify() error
- func (m *MockDynconfigInterface) Refresh() error
- func (m *MockDynconfigInterface) Register(arg0 config.Observer)
- func (m *MockDynconfigInterface) Serve() error
- func (m *MockDynconfigInterface) Stop() error
- type MockDynconfigInterfaceMockRecorder
- func (mr *MockDynconfigInterfaceMockRecorder) Deregister(arg0 any) *gomock.Call
- func (mr *MockDynconfigInterfaceMockRecorder) Get() *gomock.Call
- func (mr *MockDynconfigInterfaceMockRecorder) GetApplications() *gomock.Call
- func (mr *MockDynconfigInterfaceMockRecorder) GetResolveSeedPeerAddrs() *gomock.Call
- func (mr *MockDynconfigInterfaceMockRecorder) GetScheduler() *gomock.Call
- func (mr *MockDynconfigInterfaceMockRecorder) GetSchedulerCluster() *gomock.Call
- func (mr *MockDynconfigInterfaceMockRecorder) GetSchedulerClusterClientConfig() *gomock.Call
- func (mr *MockDynconfigInterfaceMockRecorder) GetSchedulerClusterConfig() *gomock.Call
- func (mr *MockDynconfigInterfaceMockRecorder) GetSeedPeers() *gomock.Call
- func (mr *MockDynconfigInterfaceMockRecorder) Notify() *gomock.Call
- func (mr *MockDynconfigInterfaceMockRecorder) Refresh() *gomock.Call
- func (mr *MockDynconfigInterfaceMockRecorder) Register(arg0 any) *gomock.Call
- func (mr *MockDynconfigInterfaceMockRecorder) Serve() *gomock.Call
- func (mr *MockDynconfigInterfaceMockRecorder) Stop() *gomock.Call
- type MockObserver
- type MockObserverMockRecorder
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
func (m *MockDynconfigInterface) EXPECT() *MockDynconfigInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDynconfigInterface) Get ¶ added in v2.0.2
func (m *MockDynconfigInterface) Get() (*config.DynconfigData, error)
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 any) *gomock.Call
Deregister indicates an expected call of Deregister.
func (*MockDynconfigInterfaceMockRecorder) Get ¶ added in v2.0.2
func (mr *MockDynconfigInterfaceMockRecorder) Get() *gomock.Call
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
func (mr *MockDynconfigInterfaceMockRecorder) Notify() *gomock.Call
Notify indicates an expected call of Notify.
func (*MockDynconfigInterfaceMockRecorder) Refresh ¶ added in v2.0.6
func (mr *MockDynconfigInterfaceMockRecorder) Refresh() *gomock.Call
Refresh indicates an expected call of Refresh.
func (*MockDynconfigInterfaceMockRecorder) Register ¶ added in v2.0.2
func (mr *MockDynconfigInterfaceMockRecorder) Register(arg0 any) *gomock.Call
Register indicates an expected call of Register.
func (*MockDynconfigInterfaceMockRecorder) Serve ¶ added in v2.0.2
func (mr *MockDynconfigInterfaceMockRecorder) Serve() *gomock.Call
Serve indicates an expected call of Serve.
func (*MockDynconfigInterfaceMockRecorder) Stop ¶ added in v2.0.2
func (mr *MockDynconfigInterfaceMockRecorder) Stop() *gomock.Call
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
func (m *MockObserver) EXPECT() *MockObserverMockRecorder
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.