package stdio

import "github.com/containerd/containerd/pkg/stdio"

Index

Types

type Platform

type Platform interface {
	CopyConsole(ctx context.Context, console console.Console, id, stdin, stdout, stderr string,
		wg *sync.WaitGroup) (console.Console, error)
	ShutdownConsole(ctx context.Context, console console.Console) error
	Close() error
}

Platform handles platform-specific behavior that may differs across platform implementations

type Stdio

type Stdio struct {
	Stdin    string
	Stdout   string
	Stderr   string
	Terminal bool
}

Stdio of a process

func (Stdio) IsNull

func (s Stdio) IsNull() bool

IsNull returns true if the stdio is not defined

Source Files

platform.go stdio.go

Version
v1.6.34
Published
Jul 18, 2024
Platform
js/wasm
Imports
3 packages
Last checked
10 seconds ago

Tools for package owners.