testing

package
v1.9.6 Latest Latest
Warning

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

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

Documentation

Overview

Package testing is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockCNIBackendClient

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

MockCNIBackendClient is a mock of CNIBackendClient interface.

func NewMockCNIBackendClient

func NewMockCNIBackendClient(ctrl *gomock.Controller) *MockCNIBackendClient

NewMockCNIBackendClient creates a new mock instance.

func (*MockCNIBackendClient) AllocateIP

AllocateIP mocks base method.

func (*MockCNIBackendClient) CheckIP

CheckIP mocks base method.

func (*MockCNIBackendClient) EXPECT

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

func (*MockCNIBackendClient) ReleaseIP

ReleaseIP mocks base method.

type MockCNIBackendClientMockRecorder

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

MockCNIBackendClientMockRecorder is the mock recorder for MockCNIBackendClient.

func (*MockCNIBackendClientMockRecorder) AllocateIP

func (mr *MockCNIBackendClientMockRecorder) AllocateIP(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

AllocateIP indicates an expected call of AllocateIP.

func (*MockCNIBackendClientMockRecorder) CheckIP

func (mr *MockCNIBackendClientMockRecorder) CheckIP(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

CheckIP indicates an expected call of CheckIP.

func (*MockCNIBackendClientMockRecorder) ReleaseIP

func (mr *MockCNIBackendClientMockRecorder) ReleaseIP(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

ReleaseIP indicates an expected call of ReleaseIP.

Jump to

Keyboard shortcuts

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