mock_ecscni

package
v0.0.0-...-b702281 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package mock_ecscni is a generated GoMock package.

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) (*types100.Result, error)

SetupNS mocks base method.

func (*MockCNIClient) Version

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

Version 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

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.

Jump to

Keyboard shortcuts

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