mock_ecscni

package
v1.41.1 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package mock_ecscni is a generated GoMock package.

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
}

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

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

func (*MockCNIClient) SetupNS

func (m *MockCNIClient) SetupNS(arg0 context.Context, arg1 *ecscni.Config, arg2 time.Duration) (*current.Result, error)

SetupNS mocks base method

func (*MockCNIClient) Version

func (m *MockCNIClient) Version(arg0 string) (string, error)

Version 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

Jump to

Keyboard shortcuts

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