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.5.0-rc.1
Published
Apr 13, 2021
Platform
windows/amd64
Imports
3 packages
Last checked
1 minute ago

Tools for package owners.