mock

package
v0.0.0-...-2151b9b Latest Latest
Warning

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

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

Documentation

Overview

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockGNMIClient

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

MockGNMIClient is a mock of GNMIClient interface.

func NewMockGNMIClient

func NewMockGNMIClient(ctrl *gomock.Controller) *MockGNMIClient

NewMockGNMIClient creates a new mock instance.

func (*MockGNMIClient) Capabilities

func (m *MockGNMIClient) Capabilities(arg0 context.Context, arg1 *gnmi.CapabilityRequest, arg2 ...grpc.CallOption) (*gnmi.CapabilityResponse, error)

Capabilities mocks base method.

func (*MockGNMIClient) EXPECT

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

func (*MockGNMIClient) Get

func (m *MockGNMIClient) Get(arg0 context.Context, arg1 *gnmi.GetRequest, arg2 ...grpc.CallOption) (*gnmi.GetResponse, error)

Get mocks base method.

func (*MockGNMIClient) Set

func (m *MockGNMIClient) Set(arg0 context.Context, arg1 *gnmi.SetRequest, arg2 ...grpc.CallOption) (*gnmi.SetResponse, error)

Set mocks base method.

func (*MockGNMIClient) Subscribe

Subscribe mocks base method.

type MockGNMIClientMockRecorder

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

MockGNMIClientMockRecorder is the mock recorder for MockGNMIClient.

func (*MockGNMIClientMockRecorder) Capabilities

func (mr *MockGNMIClientMockRecorder) Capabilities(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

Capabilities indicates an expected call of Capabilities.

func (*MockGNMIClientMockRecorder) Get

func (mr *MockGNMIClientMockRecorder) Get(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockGNMIClientMockRecorder) Set

func (mr *MockGNMIClientMockRecorder) Set(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

Set indicates an expected call of Set.

func (*MockGNMIClientMockRecorder) Subscribe

func (mr *MockGNMIClientMockRecorder) Subscribe(arg0 interface{}, arg1 ...interface{}) *gomock.Call

Subscribe indicates an expected call of Subscribe.

Jump to

Keyboard shortcuts

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