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: 5 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 MockCNI

type MockCNI struct {
	// contains filtered or unexported fields
}

MockCNI is a mock of CNI interface.

func NewMockCNI

func NewMockCNI(ctrl *gomock.Controller) *MockCNI

NewMockCNI creates a new mock instance.

func (*MockCNI) Add

func (m *MockCNI) Add(arg0 context.Context, arg1 ecscni.PluginConfig) (types.Result, error)

Add mocks base method.

func (*MockCNI) Del

func (m *MockCNI) Del(arg0 context.Context, arg1 ecscni.PluginConfig) error

Del mocks base method.

func (*MockCNI) EXPECT

func (m *MockCNI) EXPECT() *MockCNIMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockCNI) Version

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

Version mocks base method.

type MockCNIMockRecorder

type MockCNIMockRecorder struct {
	// contains filtered or unexported fields
}

MockCNIMockRecorder is the mock recorder for MockCNI.

func (*MockCNIMockRecorder) Add

func (mr *MockCNIMockRecorder) Add(arg0, arg1 interface{}) *gomock.Call

Add indicates an expected call of Add.

func (*MockCNIMockRecorder) Del

func (mr *MockCNIMockRecorder) Del(arg0, arg1 interface{}) *gomock.Call

Del indicates an expected call of Del.

func (*MockCNIMockRecorder) Version

func (mr *MockCNIMockRecorder) 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