Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockDiscoveryPlugin
- func (m *MockDiscoveryPlugin) DiscoverUpstreams(arg0 []string, arg1 string, arg2 clients.WatchOpts, arg3 discovery.Opts) (chan v1.UpstreamList, chan error, error)
- func (m *MockDiscoveryPlugin) EXPECT() *MockDiscoveryPluginMockRecorder
- func (m *MockDiscoveryPlugin) Init(arg0 plugins.InitParams) error
- func (m *MockDiscoveryPlugin) Name() string
- func (m *MockDiscoveryPlugin) UpdateUpstream(arg0, arg1 *v1.Upstream) (bool, error)
- func (m *MockDiscoveryPlugin) WatchEndpoints(arg0 string, arg1 v1.UpstreamList, arg2 clients.WatchOpts) (<-chan v1.EndpointList, <-chan error, error)
- type MockDiscoveryPluginMockRecorder
- func (mr *MockDiscoveryPluginMockRecorder) DiscoverUpstreams(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockDiscoveryPluginMockRecorder) Init(arg0 interface{}) *gomock.Call
- func (mr *MockDiscoveryPluginMockRecorder) Name() *gomock.Call
- func (mr *MockDiscoveryPluginMockRecorder) UpdateUpstream(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDiscoveryPluginMockRecorder) WatchEndpoints(arg0, arg1, arg2 interface{}) *gomock.Call
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 ¶
func (m *MockDiscoveryPlugin) EXPECT() *MockDiscoveryPluginMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDiscoveryPlugin) Init ¶
func (m *MockDiscoveryPlugin) Init(arg0 plugins.InitParams) error
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
func (mr *MockDiscoveryPluginMockRecorder) Name() *gomock.Call
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.