Documentation ¶
Overview ¶
Package mock_driver is a generated GoMock package.
Index ¶
- type MockNetworkAPIs
- func (m *MockNetworkAPIs) EXPECT() *MockNetworkAPIsMockRecorder
- func (m *MockNetworkAPIs) SetupNS(arg0, arg1, arg2 string, arg3 *net.IPNet, arg4 int, arg5 []string, arg6 bool, ...) error
- func (m *MockNetworkAPIs) SetupPodENINetwork(arg0, arg1, arg2 string, arg3 *net.IPNet, arg4 int, arg5, arg6 string, ...) error
- func (m *MockNetworkAPIs) TeardownNS(arg0 *net.IPNet, arg1 int, arg2 logger.Logger) error
- func (m *MockNetworkAPIs) TeardownPodENINetwork(arg0 int, arg1 logger.Logger) error
- type MockNetworkAPIsMockRecorder
- func (mr *MockNetworkAPIsMockRecorder) SetupNS(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8 interface{}) *gomock.Call
- func (mr *MockNetworkAPIsMockRecorder) SetupPodENINetwork(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 interface{}) *gomock.Call
- func (mr *MockNetworkAPIsMockRecorder) TeardownNS(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockNetworkAPIsMockRecorder) TeardownPodENINetwork(arg0, arg1 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) SetupNS ¶
func (m *MockNetworkAPIs) SetupNS(arg0, arg1, arg2 string, arg3 *net.IPNet, arg4 int, arg5 []string, arg6 bool, arg7 int, arg8 logger.Logger) error
SetupNS mocks base method
func (*MockNetworkAPIs) SetupPodENINetwork ¶ added in v1.6.4
func (m *MockNetworkAPIs) SetupPodENINetwork(arg0, arg1, arg2 string, arg3 *net.IPNet, arg4 int, arg5, arg6 string, arg7, arg8 int, arg9 logger.Logger) error
SetupPodENINetwork mocks base method
func (*MockNetworkAPIs) TeardownNS ¶
TeardownNS mocks base method
func (*MockNetworkAPIs) TeardownPodENINetwork ¶ added in v1.6.4
func (m *MockNetworkAPIs) TeardownPodENINetwork(arg0 int, arg1 logger.Logger) error
TeardownPodENINetwork mocks base method
type MockNetworkAPIsMockRecorder ¶
type MockNetworkAPIsMockRecorder struct {
// contains filtered or unexported fields
}
MockNetworkAPIsMockRecorder is the mock recorder for MockNetworkAPIs
func (*MockNetworkAPIsMockRecorder) SetupNS ¶
func (mr *MockNetworkAPIsMockRecorder) SetupNS(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8 interface{}) *gomock.Call
SetupNS indicates an expected call of SetupNS
func (*MockNetworkAPIsMockRecorder) SetupPodENINetwork ¶ added in v1.6.4
func (mr *MockNetworkAPIsMockRecorder) SetupPodENINetwork(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 interface{}) *gomock.Call
SetupPodENINetwork indicates an expected call of SetupPodENINetwork
func (*MockNetworkAPIsMockRecorder) TeardownNS ¶
func (mr *MockNetworkAPIsMockRecorder) TeardownNS(arg0, arg1, arg2 interface{}) *gomock.Call
TeardownNS indicates an expected call of TeardownNS
func (*MockNetworkAPIsMockRecorder) TeardownPodENINetwork ¶ added in v1.6.4
func (mr *MockNetworkAPIsMockRecorder) TeardownPodENINetwork(arg0, arg1 interface{}) *gomock.Call
TeardownPodENINetwork indicates an expected call of TeardownPodENINetwork