trireme-lib: go.aporeto.io/trireme-lib/controller/internal/enforcer/utils/rpcwrapper/mockrpcwrapper Index | Files

package mockrpcwrapper

import "go.aporeto.io/trireme-lib/controller/internal/enforcer/utils/rpcwrapper/mockrpcwrapper"

Package mockrpcwrapper is a generated GoMock package.

Index

Package Files

mockrpcwrapper.go

type MockRPCClient Uses

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

MockRPCClient is a mock of RPCClient interface nolint

func NewMockRPCClient Uses

func NewMockRPCClient(ctrl *gomock.Controller) *MockRPCClient

NewMockRPCClient creates a new mock instance nolint

func (*MockRPCClient) CheckValidity Uses

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

CheckValidity mocks base method nolint

func (*MockRPCClient) ContextList Uses

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

ContextList mocks base method nolint

func (*MockRPCClient) DestroyRPCClient Uses

func (m *MockRPCClient) DestroyRPCClient(contextID string)

DestroyRPCClient mocks base method nolint

func (*MockRPCClient) EXPECT Uses

func (m *MockRPCClient) EXPECT() *MockRPCClientMockRecorder

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

func (*MockRPCClient) GetRPCClient Uses

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

GetRPCClient mocks base method nolint

func (*MockRPCClient) NewRPCClient Uses

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

NewRPCClient mocks base method nolint

func (*MockRPCClient) RemoteCall Uses

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

RemoteCall mocks base method nolint

type MockRPCClientMockRecorder Uses

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

MockRPCClientMockRecorder is the mock recorder for MockRPCClient nolint

func (*MockRPCClientMockRecorder) CheckValidity Uses

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

CheckValidity indicates an expected call of CheckValidity nolint

func (*MockRPCClientMockRecorder) ContextList Uses

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

ContextList indicates an expected call of ContextList nolint

func (*MockRPCClientMockRecorder) DestroyRPCClient Uses

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

DestroyRPCClient indicates an expected call of DestroyRPCClient nolint

func (*MockRPCClientMockRecorder) GetRPCClient Uses

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

GetRPCClient indicates an expected call of GetRPCClient nolint

func (*MockRPCClientMockRecorder) NewRPCClient Uses

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

NewRPCClient indicates an expected call of NewRPCClient nolint

func (*MockRPCClientMockRecorder) RemoteCall Uses

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

RemoteCall indicates an expected call of RemoteCall nolint

type MockRPCServer Uses

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

MockRPCServer is a mock of RPCServer interface nolint

func NewMockRPCServer Uses

func NewMockRPCServer(ctrl *gomock.Controller) *MockRPCServer

NewMockRPCServer creates a new mock instance nolint

func (*MockRPCServer) CheckValidity Uses

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

CheckValidity mocks base method nolint

func (*MockRPCServer) EXPECT Uses

func (m *MockRPCServer) EXPECT() *MockRPCServerMockRecorder

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

func (*MockRPCServer) ProcessMessage Uses

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

ProcessMessage mocks base method nolint

func (*MockRPCServer) StartServer Uses

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

StartServer mocks base method nolint

type MockRPCServerMockRecorder Uses

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

MockRPCServerMockRecorder is the mock recorder for MockRPCServer nolint

func (*MockRPCServerMockRecorder) CheckValidity Uses

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

CheckValidity indicates an expected call of CheckValidity nolint

func (*MockRPCServerMockRecorder) ProcessMessage Uses

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

ProcessMessage indicates an expected call of ProcessMessage nolint

func (*MockRPCServerMockRecorder) StartServer Uses

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

StartServer indicates an expected call of StartServer nolint

Package mockrpcwrapper imports 4 packages (graph). Updated 2018-07-23. Refresh now. Tools for package owners.