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) GetSchedulers() ([]*manager.Scheduler, error)
- func (m *MockDynconfig) Notify() 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) GetSchedulers() *gomock.Call
- func (mr *MockDynconfigMockRecorder) Notify() *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 ¶ 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) GetSchedulers ¶ added in v2.0.4
func (m *MockDynconfig) GetSchedulers() ([]*manager.Scheduler, error)
GetSchedulers mocks base method.
func (*MockDynconfig) Notify ¶ added in v2.0.4
func (m *MockDynconfig) Notify() error
Notify 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 interface{}) *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) GetSchedulers ¶ added in v2.0.4
func (mr *MockDynconfigMockRecorder) GetSchedulers() *gomock.Call
GetSchedulers indicates an expected call of GetSchedulers.
func (*MockDynconfigMockRecorder) Notify ¶ added in v2.0.4
func (mr *MockDynconfigMockRecorder) Notify() *gomock.Call
Notify indicates an expected call of Notify.
func (*MockDynconfigMockRecorder) Register ¶ added in v2.0.4
func (mr *MockDynconfigMockRecorder) Register(arg0 interface{}) *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.
func (*MockObserverMockRecorder) OnNotify ¶ added in v2.0.4
func (mr *MockObserverMockRecorder) OnNotify(arg0 interface{}) *gomock.Call
OnNotify indicates an expected call of OnNotify.