mocks

package
v0.6.4 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockRPCJob

type MockRPCJob struct {
	protos.UnimplementedNanoServer // 嵌入 UnimplementedNanoServer
	// contains filtered or unexported fields
}

MockRPCJob is a mock of RPCJob interface.

func NewMockRPCJob

func NewMockRPCJob(ctrl *gomock.Controller) *MockRPCJob

NewMockRPCJob creates a new mock instance.

func (*MockRPCJob) EXPECT

func (m *MockRPCJob) EXPECT() *MockRPCJobMockRecorder

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

func (*MockRPCJob) GetArgReply

func (m *MockRPCJob) GetArgReply(arg0 string) (protoiface.MessageV1, protoiface.MessageV1, error)

GetArgReply mocks base method.

func (*MockRPCJob) RPC

func (m *MockRPCJob) RPC(arg0 context.Context, arg1, arg2 string, arg3, arg4 protoiface.MessageV1) error

RPC mocks base method.

func (*MockRPCJob) ServerDiscovery

func (m *MockRPCJob) ServerDiscovery(arg0 string, arg1 map[string]interface{}) (string, error)

ServerDiscovery mocks base method.

type MockRPCJobMockRecorder

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

MockRPCJobMockRecorder is the mock recorder for MockRPCJob.

func (*MockRPCJobMockRecorder) GetArgReply

func (mr *MockRPCJobMockRecorder) GetArgReply(arg0 interface{}) *gomock.Call

GetArgReply indicates an expected call of GetArgReply.

func (*MockRPCJobMockRecorder) RPC

func (mr *MockRPCJobMockRecorder) RPC(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

RPC indicates an expected call of RPC.

func (*MockRPCJobMockRecorder) ServerDiscovery

func (mr *MockRPCJobMockRecorder) ServerDiscovery(arg0, arg1 interface{}) *gomock.Call

ServerDiscovery indicates an expected call of ServerDiscovery.

Jump to

Keyboard shortcuts

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