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/multicast (interfaces: RouteInterface)

Generated by this command:

mockgen -copyright_file hack/boilerplate/license_header.raw.txt -destination pkg/agent/multicast/testing/mock_multicast.go -package testing antrea.io/antrea/pkg/agent/multicast RouteInterface

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 MockRouteInterface

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

MockRouteInterface is a mock of RouteInterface interface.

func NewMockRouteInterface

func NewMockRouteInterface(ctrl *gomock.Controller) *MockRouteInterface

NewMockRouteInterface creates a new mock instance.

func (*MockRouteInterface) AddMrouteEntry

func (m *MockRouteInterface) AddMrouteEntry(arg0, arg1 net.IP, arg2 uint16, arg3 []uint16) error

AddMrouteEntry mocks base method.

func (*MockRouteInterface) AllocateVIFs

func (m *MockRouteInterface) AllocateVIFs(arg0 []string, arg1 uint16) ([]uint16, error)

AllocateVIFs mocks base method.

func (*MockRouteInterface) DelMrouteEntry

func (m *MockRouteInterface) DelMrouteEntry(arg0, arg1 net.IP, arg2 uint16) error

DelMrouteEntry mocks base method.

func (*MockRouteInterface) EXPECT

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

func (*MockRouteInterface) FlushMRoute

func (m *MockRouteInterface) FlushMRoute()

FlushMRoute mocks base method.

func (*MockRouteInterface) GetFD

func (m *MockRouteInterface) GetFD() int

GetFD mocks base method.

func (*MockRouteInterface) MulticastInterfaceJoinMgroup

func (m *MockRouteInterface) MulticastInterfaceJoinMgroup(arg0, arg1 net.IP, arg2 string) error

MulticastInterfaceJoinMgroup mocks base method.

func (*MockRouteInterface) MulticastInterfaceLeaveMgroup

func (m *MockRouteInterface) MulticastInterfaceLeaveMgroup(arg0, arg1 net.IP, arg2 string) error

MulticastInterfaceLeaveMgroup mocks base method.

type MockRouteInterfaceMockRecorder

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

MockRouteInterfaceMockRecorder is the mock recorder for MockRouteInterface.

func (*MockRouteInterfaceMockRecorder) AddMrouteEntry

func (mr *MockRouteInterfaceMockRecorder) AddMrouteEntry(arg0, arg1, arg2, arg3 any) *gomock.Call

AddMrouteEntry indicates an expected call of AddMrouteEntry.

func (*MockRouteInterfaceMockRecorder) AllocateVIFs

func (mr *MockRouteInterfaceMockRecorder) AllocateVIFs(arg0, arg1 any) *gomock.Call

AllocateVIFs indicates an expected call of AllocateVIFs.

func (*MockRouteInterfaceMockRecorder) DelMrouteEntry

func (mr *MockRouteInterfaceMockRecorder) DelMrouteEntry(arg0, arg1, arg2 any) *gomock.Call

DelMrouteEntry indicates an expected call of DelMrouteEntry.

func (*MockRouteInterfaceMockRecorder) FlushMRoute

func (mr *MockRouteInterfaceMockRecorder) FlushMRoute() *gomock.Call

FlushMRoute indicates an expected call of FlushMRoute.

func (*MockRouteInterfaceMockRecorder) GetFD

GetFD indicates an expected call of GetFD.

func (*MockRouteInterfaceMockRecorder) MulticastInterfaceJoinMgroup

func (mr *MockRouteInterfaceMockRecorder) MulticastInterfaceJoinMgroup(arg0, arg1, arg2 any) *gomock.Call

MulticastInterfaceJoinMgroup indicates an expected call of MulticastInterfaceJoinMgroup.

func (*MockRouteInterfaceMockRecorder) MulticastInterfaceLeaveMgroup

func (mr *MockRouteInterfaceMockRecorder) MulticastInterfaceLeaveMgroup(arg0, arg1, arg2 any) *gomock.Call

MulticastInterfaceLeaveMgroup indicates an expected call of MulticastInterfaceLeaveMgroup.

Jump to

Keyboard shortcuts

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