mockrpcwrapper

package
v10.29.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2018 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mockrpcwrapper is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockRPCClient

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

MockRPCClient is a mock of RPCClient interface nolint

func NewMockRPCClient

func NewMockRPCClient(ctrl *gomock.Controller) *MockRPCClient

NewMockRPCClient creates a new mock instance nolint

func (*MockRPCClient) CheckValidity

func (m *MockRPCClient) CheckValidity(req *rpcwrapper.Request, secret string) bool

CheckValidity mocks base method nolint

func (*MockRPCClient) ContextList

func (m *MockRPCClient) ContextList() []string

ContextList mocks base method nolint

func (*MockRPCClient) DestroyRPCClient

func (m *MockRPCClient) DestroyRPCClient(contextID string)

DestroyRPCClient mocks base method nolint

func (*MockRPCClient) EXPECT

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

func (*MockRPCClient) GetRPCClient

func (m *MockRPCClient) GetRPCClient(contextID string) (*rpcwrapper.RPCHdl, error)

GetRPCClient mocks base method nolint

func (*MockRPCClient) NewRPCClient

func (m *MockRPCClient) NewRPCClient(contextID, channel, rpcSecret string) error

NewRPCClient mocks base method nolint

func (*MockRPCClient) RemoteCall

func (m *MockRPCClient) RemoteCall(contextID, methodName string, req *rpcwrapper.Request, resp *rpcwrapper.Response) error

RemoteCall mocks base method nolint

type MockRPCClientMockRecorder

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

MockRPCClientMockRecorder is the mock recorder for MockRPCClient nolint

func (*MockRPCClientMockRecorder) CheckValidity

func (mr *MockRPCClientMockRecorder) CheckValidity(req, secret interface{}) *gomock.Call

CheckValidity indicates an expected call of CheckValidity nolint

func (*MockRPCClientMockRecorder) ContextList

func (mr *MockRPCClientMockRecorder) ContextList() *gomock.Call

ContextList indicates an expected call of ContextList nolint

func (*MockRPCClientMockRecorder) DestroyRPCClient

func (mr *MockRPCClientMockRecorder) DestroyRPCClient(contextID interface{}) *gomock.Call

DestroyRPCClient indicates an expected call of DestroyRPCClient nolint

func (*MockRPCClientMockRecorder) GetRPCClient

func (mr *MockRPCClientMockRecorder) GetRPCClient(contextID interface{}) *gomock.Call

GetRPCClient indicates an expected call of GetRPCClient nolint

func (*MockRPCClientMockRecorder) NewRPCClient

func (mr *MockRPCClientMockRecorder) NewRPCClient(contextID, channel, rpcSecret interface{}) *gomock.Call

NewRPCClient indicates an expected call of NewRPCClient nolint

func (*MockRPCClientMockRecorder) RemoteCall

func (mr *MockRPCClientMockRecorder) RemoteCall(contextID, methodName, req, resp interface{}) *gomock.Call

RemoteCall indicates an expected call of RemoteCall nolint

type MockRPCServer

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

MockRPCServer is a mock of RPCServer interface nolint

func NewMockRPCServer

func NewMockRPCServer(ctrl *gomock.Controller) *MockRPCServer

NewMockRPCServer creates a new mock instance nolint

func (*MockRPCServer) CheckValidity

func (m *MockRPCServer) CheckValidity(req *rpcwrapper.Request, secret string) bool

CheckValidity mocks base method nolint

func (*MockRPCServer) EXPECT

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

func (*MockRPCServer) ProcessMessage

func (m *MockRPCServer) ProcessMessage(req *rpcwrapper.Request, secret string) bool

ProcessMessage mocks base method nolint

func (*MockRPCServer) StartServer

func (m *MockRPCServer) StartServer(ctx context.Context, protocol, path string, handler interface{}) error

StartServer mocks base method nolint

type MockRPCServerMockRecorder

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

MockRPCServerMockRecorder is the mock recorder for MockRPCServer nolint

func (*MockRPCServerMockRecorder) CheckValidity

func (mr *MockRPCServerMockRecorder) CheckValidity(req, secret interface{}) *gomock.Call

CheckValidity indicates an expected call of CheckValidity nolint

func (*MockRPCServerMockRecorder) ProcessMessage

func (mr *MockRPCServerMockRecorder) ProcessMessage(req, secret interface{}) *gomock.Call

ProcessMessage indicates an expected call of ProcessMessage nolint

func (*MockRPCServerMockRecorder) StartServer

func (mr *MockRPCServerMockRecorder) StartServer(ctx, protocol, path, handler interface{}) *gomock.Call

StartServer indicates an expected call of StartServer nolint

Jump to

Keyboard shortcuts

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