vmconsole

package
v1.15.0-beta.0 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2026 License: MPL-2.0 Imports: 11 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 vmconsole attaches a local terminal to a live VM serial stream.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(ctx context.Context, client machine.HypervisorServiceClient, name string, input *os.File, output io.Writer) (result error)

Run attaches to name and forwards raw bytes until Ctrl-], stdin EOF, cancellation, or a remote failure. It never sends a guest power or shutdown request. Input must be a pollable file descriptor with no other readers. Output must not block forever. Run joins its workers and restores terminal settings before returning, including on SIGTERM and SIGHUP. Ctrl-C is forwarded to the guest in raw mode.

Types

This section is empty.

Jump to

Keyboard shortcuts

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