ocicnitypesmock

package
v1.29.2 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package ocicnitypesmock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockCNIPlugin

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

MockCNIPlugin is a mock of CNIPlugin interface.

func NewMockCNIPlugin

func NewMockCNIPlugin(ctrl *gomock.Controller) *MockCNIPlugin

NewMockCNIPlugin creates a new mock instance.

func (*MockCNIPlugin) EXPECT

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

func (*MockCNIPlugin) GetDefaultNetworkName

func (m *MockCNIPlugin) GetDefaultNetworkName() string

GetDefaultNetworkName mocks base method.

func (*MockCNIPlugin) GetPodNetworkStatus

func (m *MockCNIPlugin) GetPodNetworkStatus(arg0 ocicni.PodNetwork) ([]ocicni.NetResult, error)

GetPodNetworkStatus mocks base method.

func (*MockCNIPlugin) GetPodNetworkStatusWithContext added in v1.17.5

func (m *MockCNIPlugin) GetPodNetworkStatusWithContext(arg0 context.Context, arg1 ocicni.PodNetwork) ([]ocicni.NetResult, error)

GetPodNetworkStatusWithContext mocks base method.

func (*MockCNIPlugin) Name

func (m *MockCNIPlugin) Name() string

Name mocks base method.

func (*MockCNIPlugin) SetUpPod

func (m *MockCNIPlugin) SetUpPod(arg0 ocicni.PodNetwork) ([]ocicni.NetResult, error)

SetUpPod mocks base method.

func (*MockCNIPlugin) SetUpPodWithContext added in v1.17.5

func (m *MockCNIPlugin) SetUpPodWithContext(arg0 context.Context, arg1 ocicni.PodNetwork) ([]ocicni.NetResult, error)

SetUpPodWithContext mocks base method.

func (*MockCNIPlugin) Shutdown

func (m *MockCNIPlugin) Shutdown() error

Shutdown mocks base method.

func (*MockCNIPlugin) Status

func (m *MockCNIPlugin) Status() error

Status mocks base method.

func (*MockCNIPlugin) TearDownPod

func (m *MockCNIPlugin) TearDownPod(arg0 ocicni.PodNetwork) error

TearDownPod mocks base method.

func (*MockCNIPlugin) TearDownPodWithContext added in v1.17.5

func (m *MockCNIPlugin) TearDownPodWithContext(arg0 context.Context, arg1 ocicni.PodNetwork) error

TearDownPodWithContext mocks base method.

type MockCNIPluginMockRecorder

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

MockCNIPluginMockRecorder is the mock recorder for MockCNIPlugin.

func (*MockCNIPluginMockRecorder) GetDefaultNetworkName

func (mr *MockCNIPluginMockRecorder) GetDefaultNetworkName() *gomock.Call

GetDefaultNetworkName indicates an expected call of GetDefaultNetworkName.

func (*MockCNIPluginMockRecorder) GetPodNetworkStatus

func (mr *MockCNIPluginMockRecorder) GetPodNetworkStatus(arg0 interface{}) *gomock.Call

GetPodNetworkStatus indicates an expected call of GetPodNetworkStatus.

func (*MockCNIPluginMockRecorder) GetPodNetworkStatusWithContext added in v1.17.5

func (mr *MockCNIPluginMockRecorder) GetPodNetworkStatusWithContext(arg0, arg1 interface{}) *gomock.Call

GetPodNetworkStatusWithContext indicates an expected call of GetPodNetworkStatusWithContext.

func (*MockCNIPluginMockRecorder) Name

Name indicates an expected call of Name.

func (*MockCNIPluginMockRecorder) SetUpPod

func (mr *MockCNIPluginMockRecorder) SetUpPod(arg0 interface{}) *gomock.Call

SetUpPod indicates an expected call of SetUpPod.

func (*MockCNIPluginMockRecorder) SetUpPodWithContext added in v1.17.5

func (mr *MockCNIPluginMockRecorder) SetUpPodWithContext(arg0, arg1 interface{}) *gomock.Call

SetUpPodWithContext indicates an expected call of SetUpPodWithContext.

func (*MockCNIPluginMockRecorder) Shutdown

func (mr *MockCNIPluginMockRecorder) Shutdown() *gomock.Call

Shutdown indicates an expected call of Shutdown.

func (*MockCNIPluginMockRecorder) Status

func (mr *MockCNIPluginMockRecorder) Status() *gomock.Call

Status indicates an expected call of Status.

func (*MockCNIPluginMockRecorder) TearDownPod

func (mr *MockCNIPluginMockRecorder) TearDownPod(arg0 interface{}) *gomock.Call

TearDownPod indicates an expected call of TearDownPod.

func (*MockCNIPluginMockRecorder) TearDownPodWithContext added in v1.17.5

func (mr *MockCNIPluginMockRecorder) TearDownPodWithContext(arg0, arg1 interface{}) *gomock.Call

TearDownPodWithContext indicates an expected call of TearDownPodWithContext.

Jump to

Keyboard shortcuts

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