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 ¶
- type MockRouteInterface
- func (m *MockRouteInterface) AddMrouteEntry(arg0, arg1 net.IP, arg2 uint16, arg3 []uint16) error
- func (m *MockRouteInterface) AllocateVIFs(arg0 []string, arg1 uint16) ([]uint16, error)
- func (m *MockRouteInterface) DelMrouteEntry(arg0, arg1 net.IP, arg2 uint16) error
- func (m *MockRouteInterface) EXPECT() *MockRouteInterfaceMockRecorder
- func (m *MockRouteInterface) FlushMRoute()
- func (m *MockRouteInterface) GetFD() int
- func (m *MockRouteInterface) MulticastInterfaceJoinMgroup(arg0, arg1 net.IP, arg2 string) error
- func (m *MockRouteInterface) MulticastInterfaceLeaveMgroup(arg0, arg1 net.IP, arg2 string) error
- type MockRouteInterfaceMockRecorder
- func (mr *MockRouteInterfaceMockRecorder) AddMrouteEntry(arg0, arg1, arg2, arg3 any) *gomock.Call
- func (mr *MockRouteInterfaceMockRecorder) AllocateVIFs(arg0, arg1 any) *gomock.Call
- func (mr *MockRouteInterfaceMockRecorder) DelMrouteEntry(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockRouteInterfaceMockRecorder) FlushMRoute() *gomock.Call
- func (mr *MockRouteInterfaceMockRecorder) GetFD() *gomock.Call
- func (mr *MockRouteInterfaceMockRecorder) MulticastInterfaceJoinMgroup(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockRouteInterfaceMockRecorder) MulticastInterfaceLeaveMgroup(arg0, arg1, arg2 any) *gomock.Call
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 ¶
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 ¶
func (m *MockRouteInterface) EXPECT() *MockRouteInterfaceMockRecorder
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 ¶
func (mr *MockRouteInterfaceMockRecorder) GetFD() *gomock.Call
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.