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/agent/util/ipset (interfaces: Interface)

Generated by this command:

mockgen -copyright_file hack/boilerplate/license_header.raw.txt -destination pkg/agent/util/ipset/testing/mock_ipset.go -package testing antrea.io/antrea/pkg/agent/util/ipset 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) AddEntry

func (m *MockInterface) AddEntry(arg0, arg1 string) error

AddEntry mocks base method.

func (*MockInterface) CreateIPSet

func (m *MockInterface) CreateIPSet(arg0 string, arg1 ipset.SetType, arg2 bool) error

CreateIPSet mocks base method.

func (*MockInterface) DelEntry

func (m *MockInterface) DelEntry(arg0, arg1 string) error

DelEntry mocks base method.

func (*MockInterface) DestroyIPSet added in v1.15.0

func (m *MockInterface) DestroyIPSet(arg0 string) error

DestroyIPSet mocks base method.

func (*MockInterface) EXPECT

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

func (*MockInterface) ListEntries

func (m *MockInterface) ListEntries(arg0 string) ([]string, error)

ListEntries mocks base method.

type MockInterfaceMockRecorder

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

MockInterfaceMockRecorder is the mock recorder for MockInterface.

func (*MockInterfaceMockRecorder) AddEntry

func (mr *MockInterfaceMockRecorder) AddEntry(arg0, arg1 any) *gomock.Call

AddEntry indicates an expected call of AddEntry.

func (*MockInterfaceMockRecorder) CreateIPSet

func (mr *MockInterfaceMockRecorder) CreateIPSet(arg0, arg1, arg2 any) *gomock.Call

CreateIPSet indicates an expected call of CreateIPSet.

func (*MockInterfaceMockRecorder) DelEntry

func (mr *MockInterfaceMockRecorder) DelEntry(arg0, arg1 any) *gomock.Call

DelEntry indicates an expected call of DelEntry.

func (*MockInterfaceMockRecorder) DestroyIPSet added in v1.15.0

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

DestroyIPSet indicates an expected call of DestroyIPSet.

func (*MockInterfaceMockRecorder) ListEntries

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

ListEntries indicates an expected call of ListEntries.

Jump to

Keyboard shortcuts

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