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 MockDynconfig
- func (m *MockDynconfig) Deregister(arg0 config.Observer)
- func (m *MockDynconfig) EXPECT() *MockDynconfigMockRecorder
- func (m *MockDynconfig) Get() (*config.DynconfigData, error)
- func (m *MockDynconfig) GetObjectStorage() (*manager.ObjectStorage, error)
- func (m *MockDynconfig) GetResolveSchedulerAddrs() ([]resolver.Address, error)
- func (m *MockDynconfig) GetSchedulerClusterID() uint64
- func (m *MockDynconfig) GetSchedulers() ([]*manager.Scheduler, error)
- func (m *MockDynconfig) GetSeedPeers() ([]*manager.SeedPeer, error)
- func (m *MockDynconfig) Notify() error
- func (m *MockDynconfig) OnNotify(arg0 *config.DaemonOption)
- func (m *MockDynconfig) Refresh() error
- func (m *MockDynconfig) Register(arg0 config.Observer)
- func (m *MockDynconfig) Serve() error
- func (m *MockDynconfig) Stop() error
- type MockDynconfigMockRecorder
- func (mr *MockDynconfigMockRecorder) Deregister(arg0 any) *gomock.Call
- func (mr *MockDynconfigMockRecorder) Get() *gomock.Call
- func (mr *MockDynconfigMockRecorder) GetObjectStorage() *gomock.Call
- func (mr *MockDynconfigMockRecorder) GetResolveSchedulerAddrs() *gomock.Call
- func (mr *MockDynconfigMockRecorder) GetSchedulerClusterID() *gomock.Call
- func (mr *MockDynconfigMockRecorder) GetSchedulers() *gomock.Call
- func (mr *MockDynconfigMockRecorder) GetSeedPeers() *gomock.Call
- func (mr *MockDynconfigMockRecorder) Notify() *gomock.Call
- func (mr *MockDynconfigMockRecorder) OnNotify(arg0 any) *gomock.Call
- func (mr *MockDynconfigMockRecorder) Refresh() *gomock.Call
- func (mr *MockDynconfigMockRecorder) Register(arg0 any) *gomock.Call
- func (mr *MockDynconfigMockRecorder) Serve() *gomock.Call
- func (mr *MockDynconfigMockRecorder) Stop() *gomock.Call
- type MockObserver
- type MockObserverMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockDynconfig ¶ added in v2.0.4
type MockDynconfig struct {
// contains filtered or unexported fields
}
MockDynconfig is a mock of Dynconfig interface.
func NewMockDynconfig ¶ added in v2.0.4
func NewMockDynconfig(ctrl *gomock.Controller) *MockDynconfig
NewMockDynconfig creates a new mock instance.
func (*MockDynconfig) Deregister ¶ added in v2.0.4
func (m *MockDynconfig) Deregister(arg0 config.Observer)
Deregister mocks base method.
func (*MockDynconfig) EXPECT ¶ added in v2.0.4
func (m *MockDynconfig) EXPECT() *MockDynconfigMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDynconfig) Get ¶ added in v2.0.4
func (m *MockDynconfig) Get() (*config.DynconfigData, error)
Get mocks base method.
func (*MockDynconfig) GetObjectStorage ¶ added in v2.0.4
func (m *MockDynconfig) GetObjectStorage() (*manager.ObjectStorage, error)
GetObjectStorage mocks base method.
func (*MockDynconfig) GetResolveSchedulerAddrs ¶ added in v2.0.6
func (m *MockDynconfig) GetResolveSchedulerAddrs() ([]resolver.Address, error)
GetResolveSchedulerAddrs mocks base method.
func (*MockDynconfig) GetSchedulerClusterID ¶ added in v2.0.30
func (m *MockDynconfig) GetSchedulerClusterID() uint64
GetSchedulerClusterID mocks base method.
func (*MockDynconfig) GetSchedulers ¶ added in v2.0.4
func (m *MockDynconfig) GetSchedulers() ([]*manager.Scheduler, error)
GetSchedulers mocks base method.
func (*MockDynconfig) GetSeedPeers ¶ added in v2.1.22
func (m *MockDynconfig) GetSeedPeers() ([]*manager.SeedPeer, error)
GetSeedPeers mocks base method.
func (*MockDynconfig) Notify ¶ added in v2.0.4
func (m *MockDynconfig) Notify() error
Notify mocks base method.
func (*MockDynconfig) OnNotify ¶ added in v2.0.9
func (m *MockDynconfig) OnNotify(arg0 *config.DaemonOption)
OnNotify mocks base method.
func (*MockDynconfig) Refresh ¶ added in v2.0.6
func (m *MockDynconfig) Refresh() error
Refresh mocks base method.
func (*MockDynconfig) Register ¶ added in v2.0.4
func (m *MockDynconfig) Register(arg0 config.Observer)
Register mocks base method.
func (*MockDynconfig) Serve ¶ added in v2.0.4
func (m *MockDynconfig) Serve() error
Serve mocks base method.
func (*MockDynconfig) Stop ¶ added in v2.0.4
func (m *MockDynconfig) Stop() error
Stop mocks base method.
type MockDynconfigMockRecorder ¶ added in v2.0.4
type MockDynconfigMockRecorder struct {
// contains filtered or unexported fields
}
MockDynconfigMockRecorder is the mock recorder for MockDynconfig.
func (*MockDynconfigMockRecorder) Deregister ¶ added in v2.0.4
func (mr *MockDynconfigMockRecorder) Deregister(arg0 any) *gomock.Call
Deregister indicates an expected call of Deregister.
func (*MockDynconfigMockRecorder) Get ¶ added in v2.0.4
func (mr *MockDynconfigMockRecorder) Get() *gomock.Call
Get indicates an expected call of Get.
func (*MockDynconfigMockRecorder) GetObjectStorage ¶ added in v2.0.4
func (mr *MockDynconfigMockRecorder) GetObjectStorage() *gomock.Call
GetObjectStorage indicates an expected call of GetObjectStorage.
func (*MockDynconfigMockRecorder) GetResolveSchedulerAddrs ¶ added in v2.0.6
func (mr *MockDynconfigMockRecorder) GetResolveSchedulerAddrs() *gomock.Call
GetResolveSchedulerAddrs indicates an expected call of GetResolveSchedulerAddrs.
func (*MockDynconfigMockRecorder) GetSchedulerClusterID ¶ added in v2.0.30
func (mr *MockDynconfigMockRecorder) GetSchedulerClusterID() *gomock.Call
GetSchedulerClusterID indicates an expected call of GetSchedulerClusterID.
func (*MockDynconfigMockRecorder) GetSchedulers ¶ added in v2.0.4
func (mr *MockDynconfigMockRecorder) GetSchedulers() *gomock.Call
GetSchedulers indicates an expected call of GetSchedulers.
func (*MockDynconfigMockRecorder) GetSeedPeers ¶ added in v2.1.22
func (mr *MockDynconfigMockRecorder) GetSeedPeers() *gomock.Call
GetSeedPeers indicates an expected call of GetSeedPeers.
func (*MockDynconfigMockRecorder) Notify ¶ added in v2.0.4
func (mr *MockDynconfigMockRecorder) Notify() *gomock.Call
Notify indicates an expected call of Notify.
func (*MockDynconfigMockRecorder) OnNotify ¶ added in v2.0.9
func (mr *MockDynconfigMockRecorder) OnNotify(arg0 any) *gomock.Call
OnNotify indicates an expected call of OnNotify.
func (*MockDynconfigMockRecorder) Refresh ¶ added in v2.0.6
func (mr *MockDynconfigMockRecorder) Refresh() *gomock.Call
Refresh indicates an expected call of Refresh.
func (*MockDynconfigMockRecorder) Register ¶ added in v2.0.4
func (mr *MockDynconfigMockRecorder) Register(arg0 any) *gomock.Call
Register indicates an expected call of Register.
func (*MockDynconfigMockRecorder) Serve ¶ added in v2.0.4
func (mr *MockDynconfigMockRecorder) Serve() *gomock.Call
Serve indicates an expected call of Serve.
func (*MockDynconfigMockRecorder) Stop ¶ added in v2.0.4
func (mr *MockDynconfigMockRecorder) Stop() *gomock.Call
Stop indicates an expected call of Stop.
type MockObserver ¶ added in v2.0.4
type MockObserver struct {
// contains filtered or unexported fields
}
MockObserver is a mock of Observer interface.
func NewMockObserver ¶ added in v2.0.4
func NewMockObserver(ctrl *gomock.Controller) *MockObserver
NewMockObserver creates a new mock instance.
func (*MockObserver) EXPECT ¶ added in v2.0.4
func (m *MockObserver) EXPECT() *MockObserverMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockObserver) OnNotify ¶ added in v2.0.4
func (m *MockObserver) OnNotify(arg0 *config.DynconfigData)
OnNotify mocks base method.
type MockObserverMockRecorder ¶ added in v2.0.4
type MockObserverMockRecorder struct {
// contains filtered or unexported fields
}
MockObserverMockRecorder is the mock recorder for MockObserver.