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: 4 Imported by: 0

Documentation

Overview

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

Generated by this command:

mockgen -copyright_file hack/boilerplate/license_header.raw.txt -destination pkg/agent/servicecidr/testing/mock_servicecidr.go -package testing antrea.io/antrea/pkg/agent/servicecidr Interface

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 MockInterface

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

MockInterface is a mock of Interface interface.

func NewMockInterface

func NewMockInterface(ctrl *gomock.Controller) *MockInterface

NewMockInterface creates a new mock instance.

func (*MockInterface) AddEventHandler

func (m *MockInterface) AddEventHandler(arg0 servicecidr.EventHandler)

AddEventHandler mocks base method.

func (*MockInterface) EXPECT

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

func (*MockInterface) GetServiceCIDRs added in v1.11.4

func (m *MockInterface) GetServiceCIDRs() ([]*net.IPNet, error)

GetServiceCIDRs mocks base method.

type MockInterfaceMockRecorder

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

MockInterfaceMockRecorder is the mock recorder for MockInterface.

func (*MockInterfaceMockRecorder) AddEventHandler

func (mr *MockInterfaceMockRecorder) AddEventHandler(arg0 any) *gomock.Call

AddEventHandler indicates an expected call of AddEventHandler.

func (*MockInterfaceMockRecorder) GetServiceCIDRs added in v1.11.4

func (mr *MockInterfaceMockRecorder) GetServiceCIDRs() *gomock.Call

GetServiceCIDRs indicates an expected call of GetServiceCIDRs.

Jump to

Keyboard shortcuts

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