Documentation ¶
Overview ¶
Package mock_data is a generated GoMock package.
Index ¶
- type MockNetworkDataClient
- func (m *MockNetworkDataClient) AssignGeneveDstPort(arg0 string) (uint16, error)
- func (m *MockNetworkDataClient) EXPECT() *MockNetworkDataClientMockRecorder
- func (m *MockNetworkDataClient) GetNetworkNamespace(arg0 string) (*tasknetworkconfig.NetworkNamespace, error)
- func (m *MockNetworkDataClient) GetNetworkNamespacesByTaskID(arg0 string) ([]*tasknetworkconfig.NetworkNamespace, error)
- func (m *MockNetworkDataClient) ReleaseGeneveDstPort(arg0 uint16, arg1 string) error
- func (m *MockNetworkDataClient) SaveNetworkNamespace(arg0 *tasknetworkconfig.NetworkNamespace) error
- type MockNetworkDataClientMockRecorder
- func (mr *MockNetworkDataClientMockRecorder) AssignGeneveDstPort(arg0 interface{}) *gomock.Call
- func (mr *MockNetworkDataClientMockRecorder) GetNetworkNamespace(arg0 interface{}) *gomock.Call
- func (mr *MockNetworkDataClientMockRecorder) GetNetworkNamespacesByTaskID(arg0 interface{}) *gomock.Call
- func (mr *MockNetworkDataClientMockRecorder) ReleaseGeneveDstPort(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockNetworkDataClientMockRecorder) SaveNetworkNamespace(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockNetworkDataClient ¶
type MockNetworkDataClient struct {
// contains filtered or unexported fields
}
MockNetworkDataClient is a mock of NetworkDataClient interface.
func NewMockNetworkDataClient ¶
func NewMockNetworkDataClient(ctrl *gomock.Controller) *MockNetworkDataClient
NewMockNetworkDataClient creates a new mock instance.
func (*MockNetworkDataClient) AssignGeneveDstPort ¶
func (m *MockNetworkDataClient) AssignGeneveDstPort(arg0 string) (uint16, error)
AssignGeneveDstPort mocks base method.
func (*MockNetworkDataClient) EXPECT ¶
func (m *MockNetworkDataClient) EXPECT() *MockNetworkDataClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockNetworkDataClient) GetNetworkNamespace ¶
func (m *MockNetworkDataClient) GetNetworkNamespace(arg0 string) (*tasknetworkconfig.NetworkNamespace, error)
GetNetworkNamespace mocks base method.
func (*MockNetworkDataClient) GetNetworkNamespacesByTaskID ¶
func (m *MockNetworkDataClient) GetNetworkNamespacesByTaskID(arg0 string) ([]*tasknetworkconfig.NetworkNamespace, error)
GetNetworkNamespacesByTaskID mocks base method.
func (*MockNetworkDataClient) ReleaseGeneveDstPort ¶
func (m *MockNetworkDataClient) ReleaseGeneveDstPort(arg0 uint16, arg1 string) error
ReleaseGeneveDstPort mocks base method.
func (*MockNetworkDataClient) SaveNetworkNamespace ¶
func (m *MockNetworkDataClient) SaveNetworkNamespace(arg0 *tasknetworkconfig.NetworkNamespace) error
SaveNetworkNamespace mocks base method.
type MockNetworkDataClientMockRecorder ¶
type MockNetworkDataClientMockRecorder struct {
// contains filtered or unexported fields
}
MockNetworkDataClientMockRecorder is the mock recorder for MockNetworkDataClient.
func (*MockNetworkDataClientMockRecorder) AssignGeneveDstPort ¶
func (mr *MockNetworkDataClientMockRecorder) AssignGeneveDstPort(arg0 interface{}) *gomock.Call
AssignGeneveDstPort indicates an expected call of AssignGeneveDstPort.
func (*MockNetworkDataClientMockRecorder) GetNetworkNamespace ¶
func (mr *MockNetworkDataClientMockRecorder) GetNetworkNamespace(arg0 interface{}) *gomock.Call
GetNetworkNamespace indicates an expected call of GetNetworkNamespace.
func (*MockNetworkDataClientMockRecorder) GetNetworkNamespacesByTaskID ¶
func (mr *MockNetworkDataClientMockRecorder) GetNetworkNamespacesByTaskID(arg0 interface{}) *gomock.Call
GetNetworkNamespacesByTaskID indicates an expected call of GetNetworkNamespacesByTaskID.
func (*MockNetworkDataClientMockRecorder) ReleaseGeneveDstPort ¶
func (mr *MockNetworkDataClientMockRecorder) ReleaseGeneveDstPort(arg0, arg1 interface{}) *gomock.Call
ReleaseGeneveDstPort indicates an expected call of ReleaseGeneveDstPort.
func (*MockNetworkDataClientMockRecorder) SaveNetworkNamespace ¶
func (mr *MockNetworkDataClientMockRecorder) SaveNetworkNamespace(arg0 interface{}) *gomock.Call
SaveNetworkNamespace indicates an expected call of SaveNetworkNamespace.