mocks

package
v1.0.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 26, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

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

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockTargetRegistry) Get

func (m *MockTargetRegistry) Get(arg0 context.Context, arg1 *v1.Target) ([]*v1.Target, error)

Get mocks base method.

func (*MockTargetRegistry) Remove

func (m *MockTargetRegistry) Remove(arg0 context.Context, arg1 *v1.Target) error

Remove mocks base method.

func (*MockTargetRegistry) Set

func (m *MockTargetRegistry) Set(arg0 context.Context, arg1 *v1.Target) error

Set mocks base method.

func (*MockTargetRegistry) Watch

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

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.

func (*MockTargetWatcher) Stop

func (m *MockTargetWatcher) Stop()

Stop 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

Stop indicates an expected call of Stop.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL