Documentation ¶
Overview ¶
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) (*current.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
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 ¶ added in v1.17.3
type MockCNIClientMockRecorder struct {
// contains filtered or unexported fields
}
MockCNIClientMockRecorder is the mock recorder for MockCNIClient
func (*MockCNIClientMockRecorder) Capabilities ¶ added in v1.17.3
func (mr *MockCNIClientMockRecorder) Capabilities(arg0 interface{}) *gomock.Call
Capabilities indicates an expected call of Capabilities
func (*MockCNIClientMockRecorder) CleanupNS ¶ added in v1.17.3
func (mr *MockCNIClientMockRecorder) CleanupNS(arg0, arg1, arg2 interface{}) *gomock.Call
CleanupNS indicates an expected call of CleanupNS
func (*MockCNIClientMockRecorder) ReleaseIPResource ¶ added in v1.17.3
func (mr *MockCNIClientMockRecorder) ReleaseIPResource(arg0, arg1, arg2 interface{}) *gomock.Call
ReleaseIPResource indicates an expected call of ReleaseIPResource
func (*MockCNIClientMockRecorder) SetupNS ¶ added in v1.17.3
func (mr *MockCNIClientMockRecorder) SetupNS(arg0, arg1, arg2 interface{}) *gomock.Call
SetupNS indicates an expected call of SetupNS
func (*MockCNIClientMockRecorder) Version ¶ added in v1.17.3
func (mr *MockCNIClientMockRecorder) Version(arg0 interface{}) *gomock.Call
Version indicates an expected call of Version