Documentation ¶
Overview ¶
Package mock_driver is a generated GoMock package.
Index ¶
- type MockNetworkAPIs
- func (m *MockNetworkAPIs) EXPECT() *MockNetworkAPIsMockRecorder
- func (m *MockNetworkAPIs) SetupBranchENIPodNetwork(arg0, arg1, arg2 string, arg3, arg4 *net.IPNet, arg5 int, arg6, arg7 string, ...) error
- func (m *MockNetworkAPIs) SetupPodNetwork(arg0, arg1, arg2 string, arg3, arg4 *net.IPNet, arg5, arg6 int, ...) error
- func (m *MockNetworkAPIs) TeardownBranchENIPodNetwork(arg0 *net.IPNet, arg1 int, arg2 sgpp.EnforcingMode, arg3 logger.Logger) error
- func (m *MockNetworkAPIs) TeardownPodNetwork(arg0 *net.IPNet, arg1 int, arg2 logger.Logger) error
- type MockNetworkAPIsMockRecorder
- func (mr *MockNetworkAPIsMockRecorder) SetupBranchENIPodNetwork(...) *gomock.Call
- func (mr *MockNetworkAPIsMockRecorder) SetupPodNetwork(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7 interface{}) *gomock.Call
- func (mr *MockNetworkAPIsMockRecorder) TeardownBranchENIPodNetwork(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockNetworkAPIsMockRecorder) TeardownPodNetwork(arg0, arg1, arg2 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockNetworkAPIs ¶
type MockNetworkAPIs struct {
// contains filtered or unexported fields
}
MockNetworkAPIs is a mock of NetworkAPIs interface
func NewMockNetworkAPIs ¶
func NewMockNetworkAPIs(ctrl *gomock.Controller) *MockNetworkAPIs
NewMockNetworkAPIs creates a new mock instance
func (*MockNetworkAPIs) EXPECT ¶
func (m *MockNetworkAPIs) EXPECT() *MockNetworkAPIsMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockNetworkAPIs) SetupBranchENIPodNetwork ¶ added in v1.11.0
func (m *MockNetworkAPIs) SetupBranchENIPodNetwork(arg0, arg1, arg2 string, arg3, arg4 *net.IPNet, arg5 int, arg6, arg7 string, arg8, arg9 int, arg10 sgpp.EnforcingMode, arg11 logger.Logger) error
SetupBranchENIPodNetwork mocks base method
func (*MockNetworkAPIs) SetupPodNetwork ¶ added in v1.11.0
func (m *MockNetworkAPIs) SetupPodNetwork(arg0, arg1, arg2 string, arg3, arg4 *net.IPNet, arg5, arg6 int, arg7 logger.Logger) error
SetupPodNetwork mocks base method
func (*MockNetworkAPIs) TeardownBranchENIPodNetwork ¶ added in v1.11.0
func (m *MockNetworkAPIs) TeardownBranchENIPodNetwork(arg0 *net.IPNet, arg1 int, arg2 sgpp.EnforcingMode, arg3 logger.Logger) error
TeardownBranchENIPodNetwork mocks base method
func (*MockNetworkAPIs) TeardownPodNetwork ¶ added in v1.11.0
TeardownPodNetwork mocks base method
type MockNetworkAPIsMockRecorder ¶
type MockNetworkAPIsMockRecorder struct {
// contains filtered or unexported fields
}
MockNetworkAPIsMockRecorder is the mock recorder for MockNetworkAPIs
func (*MockNetworkAPIsMockRecorder) SetupBranchENIPodNetwork ¶ added in v1.11.0
func (mr *MockNetworkAPIsMockRecorder) SetupBranchENIPodNetwork(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11 interface{}) *gomock.Call
SetupBranchENIPodNetwork indicates an expected call of SetupBranchENIPodNetwork
func (*MockNetworkAPIsMockRecorder) SetupPodNetwork ¶ added in v1.11.0
func (mr *MockNetworkAPIsMockRecorder) SetupPodNetwork(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7 interface{}) *gomock.Call
SetupPodNetwork indicates an expected call of SetupPodNetwork
func (*MockNetworkAPIsMockRecorder) TeardownBranchENIPodNetwork ¶ added in v1.11.0
func (mr *MockNetworkAPIsMockRecorder) TeardownBranchENIPodNetwork(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
TeardownBranchENIPodNetwork indicates an expected call of TeardownBranchENIPodNetwork
func (*MockNetworkAPIsMockRecorder) TeardownPodNetwork ¶ added in v1.11.0
func (mr *MockNetworkAPIsMockRecorder) TeardownPodNetwork(arg0, arg1, arg2 interface{}) *gomock.Call
TeardownPodNetwork indicates an expected call of TeardownPodNetwork