testing

package
v1.15.0 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Code generated by MockGen. DO NOT EDIT. Source: antrea.io/antrea/pkg/agent/proxy (interfaces: Proxier)

Generated by this command:

mockgen -copyright_file hack/boilerplate/license_header.raw.txt -destination pkg/agent/proxy/testing/mock_proxy.go -package testing antrea.io/antrea/pkg/agent/proxy Proxier

Package testing is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockProxier

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

MockProxier is a mock of Proxier interface.

func NewMockProxier

func NewMockProxier(ctrl *gomock.Controller) *MockProxier

NewMockProxier creates a new mock instance.

func (*MockProxier) EXPECT

func (m *MockProxier) EXPECT() *MockProxierMockRecorder

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

func (*MockProxier) GetProxyProvider

func (m *MockProxier) GetProxyProvider() proxy.Provider

GetProxyProvider mocks base method.

func (*MockProxier) GetServiceByIP

func (m *MockProxier) GetServiceByIP(arg0 string) (proxy.ServicePortName, bool)

GetServiceByIP mocks base method.

func (*MockProxier) GetServiceFlowKeys

func (m *MockProxier) GetServiceFlowKeys(arg0, arg1 string) ([]string, []openflow.GroupIDType, bool)

GetServiceFlowKeys mocks base method.

type MockProxierMockRecorder

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

MockProxierMockRecorder is the mock recorder for MockProxier.

func (*MockProxierMockRecorder) GetProxyProvider

func (mr *MockProxierMockRecorder) GetProxyProvider() *gomock.Call

GetProxyProvider indicates an expected call of GetProxyProvider.

func (*MockProxierMockRecorder) GetServiceByIP

func (mr *MockProxierMockRecorder) GetServiceByIP(arg0 any) *gomock.Call

GetServiceByIP indicates an expected call of GetServiceByIP.

func (*MockProxierMockRecorder) GetServiceFlowKeys

func (mr *MockProxierMockRecorder) GetServiceFlowKeys(arg0, arg1 any) *gomock.Call

GetServiceFlowKeys indicates an expected call of GetServiceFlowKeys.

Jump to

Keyboard shortcuts

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