console

package
v0.0.0-...-648dfe1 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2026 License: Apache-2.0, BSD-3-Clause, MIT Imports: 5 Imported by: 9

Documentation

Overview

Package console contains utilities for working with pty consols in runsc.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewWithSocket

func NewWithSocket(socketPath string) (*os.File, error)

NewWithSocket creates pty master/replica pair, sends the master FD over the given socket, and returns the replica.

func StdioIsPty

func StdioIsPty() bool

StdioIsPty returns true if all stdio FDs are ptys.

Types

This section is empty.

Jump to

Keyboard shortcuts

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