mock

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package mock_gnmi is a generated GoMock package.

Package mock_device is a generated GoMock package.

Package mock_device is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockDeviceServiceClient

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

MockDeviceServiceClient is a mock of DeviceServiceClient interface

func NewMockDeviceServiceClient

func NewMockDeviceServiceClient(ctrl *gomock.Controller) *MockDeviceServiceClient

NewMockDeviceServiceClient creates a new mock instance

func (*MockDeviceServiceClient) Add

Add mocks base method

func (*MockDeviceServiceClient) EXPECT

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

func (*MockDeviceServiceClient) Get

Get mocks base method

func (*MockDeviceServiceClient) List

List mocks base method

func (*MockDeviceServiceClient) Remove

Remove mocks base method

func (*MockDeviceServiceClient) Update

Update mocks base method

type MockDeviceServiceClientMockRecorder

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

MockDeviceServiceClientMockRecorder is the mock recorder for MockDeviceServiceClient

func (*MockDeviceServiceClientMockRecorder) Add

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

Add indicates an expected call of Add

func (*MockDeviceServiceClientMockRecorder) Get

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

Get indicates an expected call of Get

func (*MockDeviceServiceClientMockRecorder) List

func (mr *MockDeviceServiceClientMockRecorder) List(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

List indicates an expected call of List

func (*MockDeviceServiceClientMockRecorder) Remove

func (mr *MockDeviceServiceClientMockRecorder) Remove(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

Remove indicates an expected call of Remove

func (*MockDeviceServiceClientMockRecorder) Update

func (mr *MockDeviceServiceClientMockRecorder) Update(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

Update indicates an expected call of Update

type MockDeviceService_ListClient

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

MockDeviceService_ListClient is a mock of DeviceService_ListClient interface

func NewMockDeviceService_ListClient

func NewMockDeviceService_ListClient(ctrl *gomock.Controller) *MockDeviceService_ListClient

NewMockDeviceService_ListClient creates a new mock instance

func (*MockDeviceService_ListClient) CloseSend

func (m *MockDeviceService_ListClient) CloseSend() error

CloseSend mocks base method

func (*MockDeviceService_ListClient) Context

Context mocks base method

func (*MockDeviceService_ListClient) EXPECT

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

func (*MockDeviceService_ListClient) Header

Header mocks base method

func (*MockDeviceService_ListClient) Recv

Recv mocks base method

func (*MockDeviceService_ListClient) RecvMsg

func (m *MockDeviceService_ListClient) RecvMsg(arg0 interface{}) error

RecvMsg mocks base method

func (*MockDeviceService_ListClient) SendMsg

func (m *MockDeviceService_ListClient) SendMsg(arg0 interface{}) error

SendMsg mocks base method

func (*MockDeviceService_ListClient) Trailer

Trailer mocks base method

type MockDeviceService_ListClientMockRecorder

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

MockDeviceService_ListClientMockRecorder is the mock recorder for MockDeviceService_ListClient

func (*MockDeviceService_ListClientMockRecorder) CloseSend

CloseSend indicates an expected call of CloseSend

func (*MockDeviceService_ListClientMockRecorder) Context

Context indicates an expected call of Context

func (*MockDeviceService_ListClientMockRecorder) Header

Header indicates an expected call of Header

func (*MockDeviceService_ListClientMockRecorder) Recv

Recv indicates an expected call of Recv

func (*MockDeviceService_ListClientMockRecorder) RecvMsg

func (mr *MockDeviceService_ListClientMockRecorder) RecvMsg(arg0 interface{}) *gomock.Call

RecvMsg indicates an expected call of RecvMsg

func (*MockDeviceService_ListClientMockRecorder) SendMsg

func (mr *MockDeviceService_ListClientMockRecorder) SendMsg(arg0 interface{}) *gomock.Call

SendMsg indicates an expected call of SendMsg

func (*MockDeviceService_ListClientMockRecorder) Trailer

Trailer indicates an expected call of Trailer

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