Documentation ¶
Overview ¶
Package console is a generated GoMock package.
Index ¶
- type ConsoleController
- type MockRouterServiceClient
- type MockRouterServiceClientMockRecorder
- type MockRouterServiceServer
- type MockRouterServiceServerMockRecorder
- type MockRouterService_StreamClient
- func (m *MockRouterService_StreamClient) CloseSend() error
- func (m *MockRouterService_StreamClient) Context() context.Context
- func (m *MockRouterService_StreamClient) EXPECT() *MockRouterService_StreamClientMockRecorder
- func (m *MockRouterService_StreamClient) Header() (metadata.MD, error)
- func (m *MockRouterService_StreamClient) Recv() (*grpc_v1.StreamResponse, error)
- func (m_2 *MockRouterService_StreamClient) RecvMsg(m any) error
- func (m *MockRouterService_StreamClient) Send(arg0 *grpc_v1.StreamRequest) error
- func (m_2 *MockRouterService_StreamClient) SendMsg(m any) error
- func (m *MockRouterService_StreamClient) Trailer() metadata.MD
- type MockRouterService_StreamClientMockRecorder
- func (mr *MockRouterService_StreamClientMockRecorder) CloseSend() *gomock.Call
- func (mr *MockRouterService_StreamClientMockRecorder) Context() *gomock.Call
- func (mr *MockRouterService_StreamClientMockRecorder) Header() *gomock.Call
- func (mr *MockRouterService_StreamClientMockRecorder) Recv() *gomock.Call
- func (mr *MockRouterService_StreamClientMockRecorder) RecvMsg(m any) *gomock.Call
- func (mr *MockRouterService_StreamClientMockRecorder) Send(arg0 any) *gomock.Call
- func (mr *MockRouterService_StreamClientMockRecorder) SendMsg(m any) *gomock.Call
- func (mr *MockRouterService_StreamClientMockRecorder) Trailer() *gomock.Call
- type MockRouterService_StreamServer
- func (m *MockRouterService_StreamServer) Context() context.Context
- func (m *MockRouterService_StreamServer) EXPECT() *MockRouterService_StreamServerMockRecorder
- func (m *MockRouterService_StreamServer) Recv() (*grpc_v1.StreamRequest, error)
- func (m_2 *MockRouterService_StreamServer) RecvMsg(m any) error
- func (m *MockRouterService_StreamServer) Send(arg0 *grpc_v1.StreamResponse) error
- func (m *MockRouterService_StreamServer) SendHeader(arg0 metadata.MD) error
- func (m_2 *MockRouterService_StreamServer) SendMsg(m any) error
- func (m *MockRouterService_StreamServer) SetHeader(arg0 metadata.MD) error
- func (m *MockRouterService_StreamServer) SetTrailer(arg0 metadata.MD)
- type MockRouterService_StreamServerMockRecorder
- func (mr *MockRouterService_StreamServerMockRecorder) Context() *gomock.Call
- func (mr *MockRouterService_StreamServerMockRecorder) Recv() *gomock.Call
- func (mr *MockRouterService_StreamServerMockRecorder) RecvMsg(m any) *gomock.Call
- func (mr *MockRouterService_StreamServerMockRecorder) Send(arg0 any) *gomock.Call
- func (mr *MockRouterService_StreamServerMockRecorder) SendHeader(arg0 any) *gomock.Call
- func (mr *MockRouterService_StreamServerMockRecorder) SendMsg(m any) *gomock.Call
- func (mr *MockRouterService_StreamServerMockRecorder) SetHeader(arg0 any) *gomock.Call
- func (mr *MockRouterService_StreamServerMockRecorder) SetTrailer(arg0 any) *gomock.Call
- type MockUnsafeRouterServiceServer
- type MockUnsafeRouterServiceServerMockRecorder
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 ¶
func (c *ConsoleController) Sync(ctx context.Context, desired *v1alpha1.RenderedDeviceSpec) error
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 ¶
func (m *MockRouterServiceClient) EXPECT() *MockRouterServiceClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRouterServiceClient) Stream ¶
func (m *MockRouterServiceClient) Stream(ctx context.Context, opts ...grpc.CallOption) (grpc_v1.RouterService_StreamClient, error)
Stream mocks base method.
type MockRouterServiceClientMockRecorder ¶
type MockRouterServiceClientMockRecorder struct {
// contains filtered or unexported fields
}
MockRouterServiceClientMockRecorder is the mock recorder for MockRouterServiceClient.
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 ¶
func (m *MockRouterServiceServer) EXPECT() *MockRouterServiceServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRouterServiceServer) Stream ¶
func (m *MockRouterServiceServer) Stream(arg0 grpc_v1.RouterService_StreamServer) error
Stream mocks base method.
type MockRouterServiceServerMockRecorder ¶
type MockRouterServiceServerMockRecorder struct {
// contains filtered or unexported fields
}
MockRouterServiceServerMockRecorder is the mock recorder for MockRouterServiceServer.
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 ¶
func (m *MockRouterService_StreamClient) Context() context.Context
Context mocks base method.
func (*MockRouterService_StreamClient) EXPECT ¶
func (m *MockRouterService_StreamClient) EXPECT() *MockRouterService_StreamClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRouterService_StreamClient) Header ¶
func (m *MockRouterService_StreamClient) Header() (metadata.MD, error)
Header mocks base method.
func (*MockRouterService_StreamClient) Recv ¶
func (m *MockRouterService_StreamClient) Recv() (*grpc_v1.StreamResponse, error)
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 ¶
func (m *MockRouterService_StreamClient) Send(arg0 *grpc_v1.StreamRequest) error
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 ¶
func (m *MockRouterService_StreamClient) Trailer() metadata.MD
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 ¶
func (mr *MockRouterService_StreamClientMockRecorder) CloseSend() *gomock.Call
CloseSend indicates an expected call of CloseSend.
func (*MockRouterService_StreamClientMockRecorder) Context ¶
func (mr *MockRouterService_StreamClientMockRecorder) Context() *gomock.Call
Context indicates an expected call of Context.
func (*MockRouterService_StreamClientMockRecorder) Header ¶
func (mr *MockRouterService_StreamClientMockRecorder) Header() *gomock.Call
Header indicates an expected call of Header.
func (*MockRouterService_StreamClientMockRecorder) Recv ¶
func (mr *MockRouterService_StreamClientMockRecorder) Recv() *gomock.Call
Recv indicates an expected call of Recv.
func (*MockRouterService_StreamClientMockRecorder) RecvMsg ¶
func (mr *MockRouterService_StreamClientMockRecorder) RecvMsg(m any) *gomock.Call
RecvMsg indicates an expected call of RecvMsg.
func (*MockRouterService_StreamClientMockRecorder) Send ¶
func (mr *MockRouterService_StreamClientMockRecorder) Send(arg0 any) *gomock.Call
Send indicates an expected call of Send.
func (*MockRouterService_StreamClientMockRecorder) SendMsg ¶
func (mr *MockRouterService_StreamClientMockRecorder) SendMsg(m any) *gomock.Call
SendMsg indicates an expected call of SendMsg.
func (*MockRouterService_StreamClientMockRecorder) Trailer ¶
func (mr *MockRouterService_StreamClientMockRecorder) Trailer() *gomock.Call
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 ¶
func (m *MockRouterService_StreamServer) Context() context.Context
Context mocks base method.
func (*MockRouterService_StreamServer) EXPECT ¶
func (m *MockRouterService_StreamServer) EXPECT() *MockRouterService_StreamServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRouterService_StreamServer) Recv ¶
func (m *MockRouterService_StreamServer) Recv() (*grpc_v1.StreamRequest, error)
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 ¶
func (m *MockRouterService_StreamServer) Send(arg0 *grpc_v1.StreamResponse) error
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 ¶
func (mr *MockRouterService_StreamServerMockRecorder) Context() *gomock.Call
Context indicates an expected call of Context.
func (*MockRouterService_StreamServerMockRecorder) Recv ¶
func (mr *MockRouterService_StreamServerMockRecorder) Recv() *gomock.Call
Recv indicates an expected call of Recv.
func (*MockRouterService_StreamServerMockRecorder) RecvMsg ¶
func (mr *MockRouterService_StreamServerMockRecorder) RecvMsg(m any) *gomock.Call
RecvMsg indicates an expected call of RecvMsg.
func (*MockRouterService_StreamServerMockRecorder) Send ¶
func (mr *MockRouterService_StreamServerMockRecorder) Send(arg0 any) *gomock.Call
Send indicates an expected call of Send.
func (*MockRouterService_StreamServerMockRecorder) SendHeader ¶
func (mr *MockRouterService_StreamServerMockRecorder) SendHeader(arg0 any) *gomock.Call
SendHeader indicates an expected call of SendHeader.
func (*MockRouterService_StreamServerMockRecorder) SendMsg ¶
func (mr *MockRouterService_StreamServerMockRecorder) SendMsg(m any) *gomock.Call
SendMsg indicates an expected call of SendMsg.
func (*MockRouterService_StreamServerMockRecorder) SetHeader ¶
func (mr *MockRouterService_StreamServerMockRecorder) SetHeader(arg0 any) *gomock.Call
SetHeader indicates an expected call of SetHeader.
func (*MockRouterService_StreamServerMockRecorder) SetTrailer ¶
func (mr *MockRouterService_StreamServerMockRecorder) SetTrailer(arg0 any) *gomock.Call
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 ¶
func (m *MockUnsafeRouterServiceServer) EXPECT() *MockUnsafeRouterServiceServerMockRecorder
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.