Documentation ¶
Overview ¶
Package mock_ecscni is a generated GoMock package.
Package mock_ecscni is a generated GoMock package.
Index ¶
- type MockCNIClient
- func (m *MockCNIClient) Capabilities(arg0 string) ([]string, error)
- func (m *MockCNIClient) CleanupNS(arg0 context.Context, arg1 *ecscni.Config, arg2 time.Duration) error
- func (m *MockCNIClient) EXPECT() *MockCNIClientMockRecorder
- func (m *MockCNIClient) ReleaseIPResource(arg0 context.Context, arg1 *ecscni.Config, arg2 time.Duration) error
- func (m *MockCNIClient) SetupNS(arg0 context.Context, arg1 *ecscni.Config, arg2 time.Duration) (*types100.Result, error)
- func (m *MockCNIClient) Version(arg0 string) (string, error)
- type MockCNIClientMockRecorder
- func (mr *MockCNIClientMockRecorder) Capabilities(arg0 interface{}) *gomock.Call
- func (mr *MockCNIClientMockRecorder) CleanupNS(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockCNIClientMockRecorder) ReleaseIPResource(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockCNIClientMockRecorder) SetupNS(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockCNIClientMockRecorder) Version(arg0 interface{}) *gomock.Call
- type MockNamespaceHelper
- type MockNamespaceHelperMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCNIClient ¶
type MockCNIClient struct {
// contains filtered or unexported fields
}
MockCNIClient is a mock of CNIClient interface.
func NewMockCNIClient ¶
func NewMockCNIClient(ctrl *gomock.Controller) *MockCNIClient
NewMockCNIClient creates a new mock instance.
func (*MockCNIClient) Capabilities ¶
func (m *MockCNIClient) Capabilities(arg0 string) ([]string, error)
Capabilities mocks base method.
func (*MockCNIClient) CleanupNS ¶
func (m *MockCNIClient) CleanupNS(arg0 context.Context, arg1 *ecscni.Config, arg2 time.Duration) error
CleanupNS mocks base method.
func (*MockCNIClient) EXPECT ¶
func (m *MockCNIClient) EXPECT() *MockCNIClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCNIClient) ReleaseIPResource ¶
func (m *MockCNIClient) ReleaseIPResource(arg0 context.Context, arg1 *ecscni.Config, arg2 time.Duration) error
ReleaseIPResource mocks base method.
type MockCNIClientMockRecorder ¶
type MockCNIClientMockRecorder struct {
// contains filtered or unexported fields
}
MockCNIClientMockRecorder is the mock recorder for MockCNIClient.
func (*MockCNIClientMockRecorder) Capabilities ¶
func (mr *MockCNIClientMockRecorder) Capabilities(arg0 interface{}) *gomock.Call
Capabilities indicates an expected call of Capabilities.
func (*MockCNIClientMockRecorder) CleanupNS ¶
func (mr *MockCNIClientMockRecorder) CleanupNS(arg0, arg1, arg2 interface{}) *gomock.Call
CleanupNS indicates an expected call of CleanupNS.
func (*MockCNIClientMockRecorder) ReleaseIPResource ¶
func (mr *MockCNIClientMockRecorder) ReleaseIPResource(arg0, arg1, arg2 interface{}) *gomock.Call
ReleaseIPResource indicates an expected call of ReleaseIPResource.
func (*MockCNIClientMockRecorder) SetupNS ¶
func (mr *MockCNIClientMockRecorder) SetupNS(arg0, arg1, arg2 interface{}) *gomock.Call
SetupNS indicates an expected call of SetupNS.
func (*MockCNIClientMockRecorder) Version ¶
func (mr *MockCNIClientMockRecorder) Version(arg0 interface{}) *gomock.Call
Version indicates an expected call of Version.
type MockNamespaceHelper ¶
type MockNamespaceHelper struct {
// contains filtered or unexported fields
}
MockNamespaceHelper is a mock of NamespaceHelper interface.
func NewMockNamespaceHelper ¶
func NewMockNamespaceHelper(ctrl *gomock.Controller) *MockNamespaceHelper
NewMockNamespaceHelper creates a new mock instance.
func (*MockNamespaceHelper) ConfigureTaskNamespaceRouting ¶
func (m *MockNamespaceHelper) ConfigureTaskNamespaceRouting(arg0 context.Context, arg1 *networkinterface.NetworkInterface, arg2 *ecscni.Config, arg3 *types100.Result) error
ConfigureTaskNamespaceRouting mocks base method.
func (*MockNamespaceHelper) EXPECT ¶
func (m *MockNamespaceHelper) EXPECT() *MockNamespaceHelperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockNamespaceHelperMockRecorder ¶
type MockNamespaceHelperMockRecorder struct {
// contains filtered or unexported fields
}
MockNamespaceHelperMockRecorder is the mock recorder for MockNamespaceHelper.
func (*MockNamespaceHelperMockRecorder) ConfigureTaskNamespaceRouting ¶
func (mr *MockNamespaceHelperMockRecorder) ConfigureTaskNamespaceRouting(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
ConfigureTaskNamespaceRouting indicates an expected call of ConfigureTaskNamespaceRouting.