Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockTargetRegistry
- func (m *MockTargetRegistry) EXPECT() *MockTargetRegistryMockRecorder
- func (m *MockTargetRegistry) Get(arg0 context.Context, arg1 *v1.Target) ([]*v1.Target, error)
- func (m *MockTargetRegistry) Remove(arg0 context.Context, arg1 *v1.Target) error
- func (m *MockTargetRegistry) Set(arg0 context.Context, arg1 *v1.Target) error
- func (m *MockTargetRegistry) Watch(arg0 context.Context, arg1 *v1.Target) (types.TargetWatcher, error)
- type MockTargetRegistryMockRecorder
- func (mr *MockTargetRegistryMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockTargetRegistryMockRecorder) Remove(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockTargetRegistryMockRecorder) Set(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockTargetRegistryMockRecorder) Watch(arg0, arg1 interface{}) *gomock.Call
- type MockTargetWatcher
- type MockTargetWatcherMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockTargetRegistry ¶
type MockTargetRegistry struct {
// contains filtered or unexported fields
}
MockTargetRegistry is a mock of TargetRegistry interface.
func NewMockTargetRegistry ¶
func NewMockTargetRegistry(ctrl *gomock.Controller) *MockTargetRegistry
NewMockTargetRegistry creates a new mock instance.
func (*MockTargetRegistry) EXPECT ¶
func (m *MockTargetRegistry) EXPECT() *MockTargetRegistryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTargetRegistry) Watch ¶
func (m *MockTargetRegistry) Watch(arg0 context.Context, arg1 *v1.Target) (types.TargetWatcher, error)
Watch mocks base method.
type MockTargetRegistryMockRecorder ¶
type MockTargetRegistryMockRecorder struct {
// contains filtered or unexported fields
}
MockTargetRegistryMockRecorder is the mock recorder for MockTargetRegistry.
func (*MockTargetRegistryMockRecorder) Get ¶
func (mr *MockTargetRegistryMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockTargetRegistryMockRecorder) Remove ¶
func (mr *MockTargetRegistryMockRecorder) Remove(arg0, arg1 interface{}) *gomock.Call
Remove indicates an expected call of Remove.
func (*MockTargetRegistryMockRecorder) Set ¶
func (mr *MockTargetRegistryMockRecorder) Set(arg0, arg1 interface{}) *gomock.Call
Set indicates an expected call of Set.
func (*MockTargetRegistryMockRecorder) Watch ¶
func (mr *MockTargetRegistryMockRecorder) Watch(arg0, arg1 interface{}) *gomock.Call
Watch indicates an expected call of Watch.
type MockTargetWatcher ¶
type MockTargetWatcher struct {
// contains filtered or unexported fields
}
MockTargetWatcher is a mock of TargetWatcher interface.
func NewMockTargetWatcher ¶
func NewMockTargetWatcher(ctrl *gomock.Controller) *MockTargetWatcher
NewMockTargetWatcher creates a new mock instance.
func (*MockTargetWatcher) EXPECT ¶
func (m *MockTargetWatcher) EXPECT() *MockTargetWatcherMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTargetWatcher) ResultChan ¶
func (m *MockTargetWatcher) ResultChan() <-chan []*v1.Target
ResultChan mocks base method.
type MockTargetWatcherMockRecorder ¶
type MockTargetWatcherMockRecorder struct {
// contains filtered or unexported fields
}
MockTargetWatcherMockRecorder is the mock recorder for MockTargetWatcher.
func (*MockTargetWatcherMockRecorder) ResultChan ¶
func (mr *MockTargetWatcherMockRecorder) ResultChan() *gomock.Call
ResultChan indicates an expected call of ResultChan.
func (*MockTargetWatcherMockRecorder) Stop ¶
func (mr *MockTargetWatcherMockRecorder) Stop() *gomock.Call
Stop indicates an expected call of Stop.