Documentation ¶
Index ¶
- type MockCNIClient
- func (_m *MockCNIClient) Capabilities(_param0 string) ([]string, error)
- func (_m *MockCNIClient) CleanupNS(_param0 context.Context, _param1 *ecscni.Config, _param2 time.Duration) error
- func (_m *MockCNIClient) EXPECT() *_MockCNIClientRecorder
- func (_m *MockCNIClient) ReleaseIPResource(_param0 *ecscni.Config) error
- func (_m *MockCNIClient) SetupNS(_param0 context.Context, _param1 *ecscni.Config, _param2 time.Duration) (*current.Result, error)
- func (_m *MockCNIClient) Version(_param0 string) (string, error)
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
}
Mock of CNIClient interface
func NewMockCNIClient ¶
func NewMockCNIClient(ctrl *gomock.Controller) *MockCNIClient
func (*MockCNIClient) Capabilities ¶
func (_m *MockCNIClient) Capabilities(_param0 string) ([]string, error)
func (*MockCNIClient) EXPECT ¶
func (_m *MockCNIClient) EXPECT() *_MockCNIClientRecorder
func (*MockCNIClient) ReleaseIPResource ¶
func (_m *MockCNIClient) ReleaseIPResource(_param0 *ecscni.Config) error
Click to show internal directories.
Click to hide internal directories.