mocks

package
v1.17.18 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: Apache-2.0 Imports: 6 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 MockDiscoveryPlugin

type MockDiscoveryPlugin struct {
	// contains filtered or unexported fields
}

MockDiscoveryPlugin is a mock of DiscoveryPlugin interface.

func NewMockDiscoveryPlugin

func NewMockDiscoveryPlugin(ctrl *gomock.Controller) *MockDiscoveryPlugin

NewMockDiscoveryPlugin creates a new mock instance.

func (*MockDiscoveryPlugin) DiscoverUpstreams

func (m *MockDiscoveryPlugin) DiscoverUpstreams(arg0 []string, arg1 string, arg2 clients.WatchOpts, arg3 discovery.Opts) (chan v1.UpstreamList, chan error, error)

DiscoverUpstreams mocks base method.

func (*MockDiscoveryPlugin) EXPECT

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

func (*MockDiscoveryPlugin) Init

func (m *MockDiscoveryPlugin) Init(arg0 plugins.InitParams)

Init mocks base method.

func (*MockDiscoveryPlugin) Name added in v1.9.25

func (m *MockDiscoveryPlugin) Name() string

Name mocks base method.

func (*MockDiscoveryPlugin) UpdateUpstream

func (m *MockDiscoveryPlugin) UpdateUpstream(arg0, arg1 *v1.Upstream) (bool, error)

UpdateUpstream mocks base method.

func (*MockDiscoveryPlugin) WatchEndpoints

func (m *MockDiscoveryPlugin) WatchEndpoints(arg0 string, arg1 v1.UpstreamList, arg2 clients.WatchOpts) (<-chan v1.EndpointList, <-chan error, error)

WatchEndpoints mocks base method.

type MockDiscoveryPluginMockRecorder

type MockDiscoveryPluginMockRecorder struct {
	// contains filtered or unexported fields
}

MockDiscoveryPluginMockRecorder is the mock recorder for MockDiscoveryPlugin.

func (*MockDiscoveryPluginMockRecorder) DiscoverUpstreams

func (mr *MockDiscoveryPluginMockRecorder) DiscoverUpstreams(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

DiscoverUpstreams indicates an expected call of DiscoverUpstreams.

func (*MockDiscoveryPluginMockRecorder) Init

func (mr *MockDiscoveryPluginMockRecorder) Init(arg0 interface{}) *gomock.Call

Init indicates an expected call of Init.

func (*MockDiscoveryPluginMockRecorder) Name added in v1.9.25

Name indicates an expected call of Name.

func (*MockDiscoveryPluginMockRecorder) UpdateUpstream

func (mr *MockDiscoveryPluginMockRecorder) UpdateUpstream(arg0, arg1 interface{}) *gomock.Call

UpdateUpstream indicates an expected call of UpdateUpstream.

func (*MockDiscoveryPluginMockRecorder) WatchEndpoints

func (mr *MockDiscoveryPluginMockRecorder) WatchEndpoints(arg0, arg1, arg2 interface{}) *gomock.Call

WatchEndpoints indicates an expected call of WatchEndpoints.

Jump to

Keyboard shortcuts

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