mock_rpc

package
v1.18.1 Latest Latest
Warning

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

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

Documentation

Overview

Package mock_rpc 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) AddNetwork

AddNetwork mocks base method.

func (*MockCNIBackendClient) DelNetwork

DelNetwork mocks base method.

func (*MockCNIBackendClient) EXPECT

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

type MockCNIBackendClientMockRecorder

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

MockCNIBackendClientMockRecorder is the mock recorder for MockCNIBackendClient.

func (*MockCNIBackendClientMockRecorder) AddNetwork

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

AddNetwork indicates an expected call of AddNetwork.

func (*MockCNIBackendClientMockRecorder) DelNetwork

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

DelNetwork indicates an expected call of DelNetwork.

type MockNPBackendClient added in v1.17.1

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

MockNPBackendClient is a mock of NPBackendClient interface.

func NewMockNPBackendClient added in v1.17.1

func NewMockNPBackendClient(ctrl *gomock.Controller) *MockNPBackendClient

NewMockNPBackendClient creates a new mock instance.

func (*MockNPBackendClient) EXPECT added in v1.17.1

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

func (*MockNPBackendClient) EnforceNpToPod added in v1.17.1

func (m *MockNPBackendClient) EnforceNpToPod(arg0 context.Context, arg1 *rpc.EnforceNpRequest, arg2 ...grpc.CallOption) (*rpc.EnforceNpReply, error)

EnforceNpToPod mocks base method.

type MockNPBackendClientMockRecorder added in v1.17.1

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

MockNPBackendClientMockRecorder is the mock recorder for MockNPBackendClient.

func (*MockNPBackendClientMockRecorder) EnforceNpToPod added in v1.17.1

func (mr *MockNPBackendClientMockRecorder) EnforceNpToPod(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

EnforceNpToPod indicates an expected call of EnforceNpToPod.

Jump to

Keyboard shortcuts

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