testing

package
v1.15.2 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Code generated by MockGen. DO NOT EDIT. Source: antrea.io/antrea/pkg/controller/networkpolicy (interfaces: EndpointQuerier)

Generated by this command:

mockgen -copyright_file hack/boilerplate/license_header.raw.txt -destination pkg/controller/networkpolicy/testing/mock_networkpolicy.go -package testing antrea.io/antrea/pkg/controller/networkpolicy EndpointQuerier

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 MockEndpointQuerier

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

MockEndpointQuerier is a mock of EndpointQuerier interface.

func NewMockEndpointQuerier

func NewMockEndpointQuerier(ctrl *gomock.Controller) *MockEndpointQuerier

NewMockEndpointQuerier creates a new mock instance.

func (*MockEndpointQuerier) EXPECT

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

func (*MockEndpointQuerier) QueryNetworkPolicies

func (m *MockEndpointQuerier) QueryNetworkPolicies(arg0, arg1 string) (*networkpolicy.EndpointQueryResponse, error)

QueryNetworkPolicies mocks base method.

type MockEndpointQuerierMockRecorder

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

MockEndpointQuerierMockRecorder is the mock recorder for MockEndpointQuerier.

func (*MockEndpointQuerierMockRecorder) QueryNetworkPolicies

func (mr *MockEndpointQuerierMockRecorder) QueryNetworkPolicies(arg0, arg1 any) *gomock.Call

QueryNetworkPolicies indicates an expected call of QueryNetworkPolicies.

Jump to

Keyboard shortcuts

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