console

package
v1.4.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2026 License: Apache-2.0 Imports: 26 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package console is a generated GoMock package.

Index

Constants

View Source
const (
	StdinID  byte = 0
	StdoutID byte = 1
	StderrID byte = 2
	ErrID    byte = 3
	ResizeID byte = 4
	CloseID  byte = 255

	StreamProtocolV5Name = "v5.channel.k8s.io"
)
View Source
const (
	ConsoleUser = "flightctl-console"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager added in v0.10.0

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

func NewManager added in v0.10.0

func NewManager(
	grpcClient grpc_v1.RouterServiceClient,
	deviceName string,
	user string,
	executor executer.Executer,
	watcher spec.Watcher,
	log *log.PrefixLogger,
) *Manager

func (*Manager) Run added in v0.10.0

func (c *Manager) Run(ctx context.Context)

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 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.

type TerminalSize added in v0.5.0

type TerminalSize struct {
	Width  uint16
	Height uint16
}

Jump to

Keyboard shortcuts

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