mock_ecscni

package
v1.18.0-coveo.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 23, 2018 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 4 more Imports: 5 Imported by: 0

Documentation

Index

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) CleanupNS

func (_m *MockCNIClient) CleanupNS(_param0 context.Context, _param1 *ecscni.Config, _param2 time.Duration) error

func (*MockCNIClient) EXPECT

func (_m *MockCNIClient) EXPECT() *_MockCNIClientRecorder

func (*MockCNIClient) ReleaseIPResource

func (_m *MockCNIClient) ReleaseIPResource(_param0 *ecscni.Config) error

func (*MockCNIClient) SetupNS

func (_m *MockCNIClient) SetupNS(_param0 context.Context, _param1 *ecscni.Config, _param2 time.Duration) (*current.Result, error)

func (*MockCNIClient) Version

func (_m *MockCNIClient) Version(_param0 string) (string, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL