Documentation ¶
Overview ¶
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) GetSchedulers() ([]*manager.Scheduler, 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 interface{}) *gomock.Call
- func (mr *MockDynconfigMockRecorder) Get() *gomock.Call
- func (mr *MockDynconfigMockRecorder) GetObjectStorage() *gomock.Call
- func (mr *MockDynconfigMockRecorder) GetResolveSchedulerAddrs() *gomock.Call
- func (mr *MockDynconfigMockRecorder) GetSchedulers() *gomock.Call
- func (mr *MockDynconfigMockRecorder) Notify() *gomock.Call
- func (mr *MockDynconfigMockRecorder) OnNotify(arg0 interface{}) *gomock.Call
- func (mr *MockDynconfigMockRecorder) Refresh() *gomock.Call
- func (mr *MockDynconfigMockRecorder) Register(arg0 interface{}) *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 ¶
type MockDynconfig struct {
// contains filtered or unexported fields
}
MockDynconfig is a mock of Dynconfig interface.
func NewMockDynconfig ¶
func NewMockDynconfig(ctrl *gomock.Controller) *MockDynconfig
NewMockDynconfig creates a new mock instance.
func (*MockDynconfig) Deregister ¶
func (m *MockDynconfig) Deregister(arg0 config.Observer)
Deregister mocks base method.
func (*MockDynconfig) EXPECT ¶
func (m *MockDynconfig) EXPECT() *MockDynconfigMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDynconfig) Get ¶
func (m *MockDynconfig) Get() (*config.DynconfigData, error)
Get mocks base method.
func (*MockDynconfig) GetObjectStorage ¶
func (m *MockDynconfig) GetObjectStorage() (*manager.ObjectStorage, error)
GetObjectStorage mocks base method.
func (*MockDynconfig) GetResolveSchedulerAddrs ¶
func (m *MockDynconfig) GetResolveSchedulerAddrs() ([]resolver.Address, error)
GetResolveSchedulerAddrs mocks base method.
func (*MockDynconfig) GetSchedulers ¶
func (m *MockDynconfig) GetSchedulers() ([]*manager.Scheduler, error)
GetSchedulers mocks base method.
func (*MockDynconfig) OnNotify ¶
func (m *MockDynconfig) OnNotify(arg0 *config.DaemonOption)
OnNotify mocks base method.
func (*MockDynconfig) Register ¶
func (m *MockDynconfig) Register(arg0 config.Observer)
Register mocks base method.
type MockDynconfigMockRecorder ¶
type MockDynconfigMockRecorder struct {
// contains filtered or unexported fields
}
MockDynconfigMockRecorder is the mock recorder for MockDynconfig.
func (*MockDynconfigMockRecorder) Deregister ¶
func (mr *MockDynconfigMockRecorder) Deregister(arg0 interface{}) *gomock.Call
Deregister indicates an expected call of Deregister.
func (*MockDynconfigMockRecorder) Get ¶
func (mr *MockDynconfigMockRecorder) Get() *gomock.Call
Get indicates an expected call of Get.
func (*MockDynconfigMockRecorder) GetObjectStorage ¶
func (mr *MockDynconfigMockRecorder) GetObjectStorage() *gomock.Call
GetObjectStorage indicates an expected call of GetObjectStorage.
func (*MockDynconfigMockRecorder) GetResolveSchedulerAddrs ¶
func (mr *MockDynconfigMockRecorder) GetResolveSchedulerAddrs() *gomock.Call
GetResolveSchedulerAddrs indicates an expected call of GetResolveSchedulerAddrs.
func (*MockDynconfigMockRecorder) GetSchedulers ¶
func (mr *MockDynconfigMockRecorder) GetSchedulers() *gomock.Call
GetSchedulers indicates an expected call of GetSchedulers.
func (*MockDynconfigMockRecorder) Notify ¶
func (mr *MockDynconfigMockRecorder) Notify() *gomock.Call
Notify indicates an expected call of Notify.
func (*MockDynconfigMockRecorder) OnNotify ¶
func (mr *MockDynconfigMockRecorder) OnNotify(arg0 interface{}) *gomock.Call
OnNotify indicates an expected call of OnNotify.
func (*MockDynconfigMockRecorder) Refresh ¶
func (mr *MockDynconfigMockRecorder) Refresh() *gomock.Call
Refresh indicates an expected call of Refresh.
func (*MockDynconfigMockRecorder) Register ¶
func (mr *MockDynconfigMockRecorder) Register(arg0 interface{}) *gomock.Call
Register indicates an expected call of Register.
func (*MockDynconfigMockRecorder) Serve ¶
func (mr *MockDynconfigMockRecorder) Serve() *gomock.Call
Serve indicates an expected call of Serve.
func (*MockDynconfigMockRecorder) Stop ¶
func (mr *MockDynconfigMockRecorder) Stop() *gomock.Call
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 ¶
func (m *MockObserver) EXPECT() *MockObserverMockRecorder
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.