console

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Package console is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConsoleController

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

func NewController

func NewController(
	grpcClient grpc_v1.RouterServiceClient,
	deviceName string,
	executor executer.Executer,
	log *log.PrefixLogger,
) *ConsoleController

func (*ConsoleController) Sync

type MockRouterServiceClient

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

MockRouterServiceClient is a mock of RouterServiceClient interface.

func NewMockRouterServiceClient

func NewMockRouterServiceClient(ctrl *gomock.Controller) *MockRouterServiceClient

NewMockRouterServiceClient creates a new mock instance.

func (*MockRouterServiceClient) EXPECT

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

func (*MockRouterServiceClient) Stream

Stream mocks base method.

type MockRouterServiceClientMockRecorder

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

MockRouterServiceClientMockRecorder is the mock recorder for MockRouterServiceClient.

func (*MockRouterServiceClientMockRecorder) Stream

func (mr *MockRouterServiceClientMockRecorder) Stream(ctx any, opts ...any) *gomock.Call

Stream indicates an expected call of Stream.

type MockRouterServiceServer

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

MockRouterServiceServer is a mock of RouterServiceServer interface.

func NewMockRouterServiceServer

func NewMockRouterServiceServer(ctrl *gomock.Controller) *MockRouterServiceServer

NewMockRouterServiceServer creates a new mock instance.

func (*MockRouterServiceServer) EXPECT

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

func (*MockRouterServiceServer) Stream

Stream mocks base method.

type MockRouterServiceServerMockRecorder

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

MockRouterServiceServerMockRecorder is the mock recorder for MockRouterServiceServer.

func (*MockRouterServiceServerMockRecorder) Stream

Stream indicates an expected call of Stream.

type MockRouterService_StreamClient

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

MockRouterService_StreamClient is a mock of RouterService_StreamClient interface.

func NewMockRouterService_StreamClient

func NewMockRouterService_StreamClient(ctrl *gomock.Controller) *MockRouterService_StreamClient

NewMockRouterService_StreamClient creates a new mock instance.

func (*MockRouterService_StreamClient) CloseSend

func (m *MockRouterService_StreamClient) CloseSend() error

CloseSend mocks base method.

func (*MockRouterService_StreamClient) Context

Context mocks base method.

func (*MockRouterService_StreamClient) EXPECT

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

func (*MockRouterService_StreamClient) Header

Header mocks base method.

func (*MockRouterService_StreamClient) Recv

Recv mocks base method.

func (*MockRouterService_StreamClient) RecvMsg

func (m_2 *MockRouterService_StreamClient) RecvMsg(m any) error

RecvMsg mocks base method.

func (*MockRouterService_StreamClient) Send

Send mocks base method.

func (*MockRouterService_StreamClient) SendMsg

func (m_2 *MockRouterService_StreamClient) SendMsg(m any) error

SendMsg mocks base method.

func (*MockRouterService_StreamClient) Trailer

Trailer mocks base method.

type MockRouterService_StreamClientMockRecorder

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

MockRouterService_StreamClientMockRecorder is the mock recorder for MockRouterService_StreamClient.

func (*MockRouterService_StreamClientMockRecorder) CloseSend

CloseSend indicates an expected call of CloseSend.

func (*MockRouterService_StreamClientMockRecorder) Context

Context indicates an expected call of Context.

func (*MockRouterService_StreamClientMockRecorder) Header

Header indicates an expected call of Header.

func (*MockRouterService_StreamClientMockRecorder) Recv

Recv indicates an expected call of Recv.

func (*MockRouterService_StreamClientMockRecorder) RecvMsg

RecvMsg indicates an expected call of RecvMsg.

func (*MockRouterService_StreamClientMockRecorder) Send

Send indicates an expected call of Send.

func (*MockRouterService_StreamClientMockRecorder) SendMsg

SendMsg indicates an expected call of SendMsg.

func (*MockRouterService_StreamClientMockRecorder) Trailer

Trailer indicates an expected call of Trailer.

type MockRouterService_StreamServer

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

MockRouterService_StreamServer is a mock of RouterService_StreamServer interface.

func NewMockRouterService_StreamServer

func NewMockRouterService_StreamServer(ctrl *gomock.Controller) *MockRouterService_StreamServer

NewMockRouterService_StreamServer creates a new mock instance.

func (*MockRouterService_StreamServer) Context

Context mocks base method.

func (*MockRouterService_StreamServer) EXPECT

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

func (*MockRouterService_StreamServer) Recv

Recv mocks base method.

func (*MockRouterService_StreamServer) RecvMsg

func (m_2 *MockRouterService_StreamServer) RecvMsg(m any) error

RecvMsg mocks base method.

func (*MockRouterService_StreamServer) Send

Send mocks base method.

func (*MockRouterService_StreamServer) SendHeader

func (m *MockRouterService_StreamServer) SendHeader(arg0 metadata.MD) error

SendHeader mocks base method.

func (*MockRouterService_StreamServer) SendMsg

func (m_2 *MockRouterService_StreamServer) SendMsg(m any) error

SendMsg mocks base method.

func (*MockRouterService_StreamServer) SetHeader

func (m *MockRouterService_StreamServer) SetHeader(arg0 metadata.MD) error

SetHeader mocks base method.

func (*MockRouterService_StreamServer) SetTrailer

func (m *MockRouterService_StreamServer) SetTrailer(arg0 metadata.MD)

SetTrailer mocks base method.

type MockRouterService_StreamServerMockRecorder

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

MockRouterService_StreamServerMockRecorder is the mock recorder for MockRouterService_StreamServer.

func (*MockRouterService_StreamServerMockRecorder) Context

Context indicates an expected call of Context.

func (*MockRouterService_StreamServerMockRecorder) Recv

Recv indicates an expected call of Recv.

func (*MockRouterService_StreamServerMockRecorder) RecvMsg

RecvMsg indicates an expected call of RecvMsg.

func (*MockRouterService_StreamServerMockRecorder) Send

Send indicates an expected call of Send.

func (*MockRouterService_StreamServerMockRecorder) SendHeader

SendHeader indicates an expected call of SendHeader.

func (*MockRouterService_StreamServerMockRecorder) SendMsg

SendMsg indicates an expected call of SendMsg.

func (*MockRouterService_StreamServerMockRecorder) SetHeader

SetHeader indicates an expected call of SetHeader.

func (*MockRouterService_StreamServerMockRecorder) SetTrailer

SetTrailer indicates an expected call of SetTrailer.

type MockUnsafeRouterServiceServer

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

MockUnsafeRouterServiceServer is a mock of UnsafeRouterServiceServer interface.

func NewMockUnsafeRouterServiceServer

func NewMockUnsafeRouterServiceServer(ctrl *gomock.Controller) *MockUnsafeRouterServiceServer

NewMockUnsafeRouterServiceServer creates a new mock instance.

func (*MockUnsafeRouterServiceServer) EXPECT

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

type MockUnsafeRouterServiceServerMockRecorder

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

MockUnsafeRouterServiceServerMockRecorder is the mock recorder for MockUnsafeRouterServiceServer.

Jump to

Keyboard shortcuts

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