Documentation
¶
Overview ¶
Code generated by MockGen. DO NOT EDIT. Source: antrea.io/antrea/pkg/agent/secondarynetwork/podwatch (interfaces: InterfaceConfigurator)
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
Package testing is a generated GoMock package.
Index ¶
- type MockInterfaceConfigurator
- func (m *MockInterfaceConfigurator) ConfigureSriovSecondaryInterface(arg0, arg1, arg2, arg3, arg4 string, arg5 int, arg6 string, ...) error
- func (m *MockInterfaceConfigurator) ConfigureVLANSecondaryInterface(arg0, arg1, arg2, arg3, arg4 string, arg5 int, arg6 uint16, ...) (string, error)
- func (m *MockInterfaceConfigurator) DeleteVLANSecondaryInterface(arg0, arg1, arg2 string) error
- func (m *MockInterfaceConfigurator) EXPECT() *MockInterfaceConfiguratorMockRecorder
- type MockInterfaceConfiguratorMockRecorder
- func (mr *MockInterfaceConfiguratorMockRecorder) ConfigureSriovSecondaryInterface(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7 any) *gomock.Call
- func (mr *MockInterfaceConfiguratorMockRecorder) ConfigureVLANSecondaryInterface(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7 any) *gomock.Call
- func (mr *MockInterfaceConfiguratorMockRecorder) DeleteVLANSecondaryInterface(arg0, arg1, arg2 any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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 ¶
func (m *MockInterfaceConfigurator) EXPECT() *MockInterfaceConfiguratorMockRecorder
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.