testing

package
v1.15.1 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Code generated by MockGen. DO NOT EDIT. Source: antrea.io/antrea/pkg/agent/secondarynetwork/podwatch (interfaces: InterfaceConfigurator,IPAMAllocator)

Generated by this command:

mockgen -copyright_file hack/boilerplate/license_header.raw.txt -destination pkg/agent/secondarynetwork/podwatch/testing/mock_podwatch.go -package testing antrea.io/antrea/pkg/agent/secondarynetwork/podwatch InterfaceConfigurator,IPAMAllocator

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 MockIPAMAllocator added in v1.15.0

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

MockIPAMAllocator is a mock of IPAMAllocator interface.

func NewMockIPAMAllocator added in v1.15.0

func NewMockIPAMAllocator(ctrl *gomock.Controller) *MockIPAMAllocator

NewMockIPAMAllocator creates a new mock instance.

func (*MockIPAMAllocator) EXPECT added in v1.15.0

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

func (*MockIPAMAllocator) SecondaryNetworkAllocate added in v1.15.0

func (m *MockIPAMAllocator) SecondaryNetworkAllocate(arg0 *v1alpha2.PodOwner, arg1 *types.NetworkConfig) (*ipam.IPAMResult, error)

SecondaryNetworkAllocate mocks base method.

func (*MockIPAMAllocator) SecondaryNetworkRelease added in v1.15.0

func (m *MockIPAMAllocator) SecondaryNetworkRelease(arg0 *v1alpha2.PodOwner) error

SecondaryNetworkRelease mocks base method.

type MockIPAMAllocatorMockRecorder added in v1.15.0

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

MockIPAMAllocatorMockRecorder is the mock recorder for MockIPAMAllocator.

func (*MockIPAMAllocatorMockRecorder) SecondaryNetworkAllocate added in v1.15.0

func (mr *MockIPAMAllocatorMockRecorder) SecondaryNetworkAllocate(arg0, arg1 any) *gomock.Call

SecondaryNetworkAllocate indicates an expected call of SecondaryNetworkAllocate.

func (*MockIPAMAllocatorMockRecorder) SecondaryNetworkRelease added in v1.15.0

func (mr *MockIPAMAllocatorMockRecorder) SecondaryNetworkRelease(arg0 any) *gomock.Call

SecondaryNetworkRelease indicates an expected call of SecondaryNetworkRelease.

type MockInterfaceConfigurator

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

MockInterfaceConfigurator is a mock of InterfaceConfigurator interface.

func NewMockInterfaceConfigurator

func NewMockInterfaceConfigurator(ctrl *gomock.Controller) *MockInterfaceConfigurator

NewMockInterfaceConfigurator creates a new mock instance.

func (*MockInterfaceConfigurator) ConfigureSriovSecondaryInterface

func (m *MockInterfaceConfigurator) ConfigureSriovSecondaryInterface(arg0, arg1, arg2, arg3, arg4 string, arg5 int, arg6 string, arg7 *types100.Result) error

ConfigureSriovSecondaryInterface mocks base method.

func (*MockInterfaceConfigurator) ConfigureVLANSecondaryInterface added in v1.14.0

func (m *MockInterfaceConfigurator) ConfigureVLANSecondaryInterface(arg0, arg1, arg2, arg3, arg4 string, arg5 int, arg6 uint16, arg7 *types100.Result) (string, error)

ConfigureVLANSecondaryInterface mocks base method.

func (*MockInterfaceConfigurator) DeleteVLANSecondaryInterface added in v1.14.0

func (m *MockInterfaceConfigurator) DeleteVLANSecondaryInterface(arg0, arg1, arg2 string) error

DeleteVLANSecondaryInterface mocks base method.

func (*MockInterfaceConfigurator) EXPECT

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

type MockInterfaceConfiguratorMockRecorder

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

MockInterfaceConfiguratorMockRecorder is the mock recorder for MockInterfaceConfigurator.

func (*MockInterfaceConfiguratorMockRecorder) ConfigureSriovSecondaryInterface

func (mr *MockInterfaceConfiguratorMockRecorder) ConfigureSriovSecondaryInterface(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7 any) *gomock.Call

ConfigureSriovSecondaryInterface indicates an expected call of ConfigureSriovSecondaryInterface.

func (*MockInterfaceConfiguratorMockRecorder) ConfigureVLANSecondaryInterface added in v1.14.0

func (mr *MockInterfaceConfiguratorMockRecorder) ConfigureVLANSecondaryInterface(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7 any) *gomock.Call

ConfigureVLANSecondaryInterface indicates an expected call of ConfigureVLANSecondaryInterface.

func (*MockInterfaceConfiguratorMockRecorder) DeleteVLANSecondaryInterface added in v1.14.0

func (mr *MockInterfaceConfiguratorMockRecorder) DeleteVLANSecondaryInterface(arg0, arg1, arg2 any) *gomock.Call

DeleteVLANSecondaryInterface indicates an expected call of DeleteVLANSecondaryInterface.

Jump to

Keyboard shortcuts

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