container

package
v0.0.0-...-862810d Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2020 License: GPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExitStatus

type ExitStatus struct {
	Code  uint32
	Error error
}

type Image

type Image interface{}

type InteractiveInput

type InteractiveInput interface {
	Stdin() io.Reader
	Stdout() io.WriteCloser
	Stderr() io.Writer

	Initial() *TermSize
	Updates() <-chan TermSize
}

type Manager

type Manager interface {
	Prepare(ctx context.Context, imageRef string) error
}

type ManagerSpawner

type ManagerSpawner interface {
	Manager
	Spawner
}

type Spawner

type Spawner interface {
	Spawn(ctx context.Context, imageRef string, argv []string, in InteractiveInput) (<-chan ExitStatus, error)
}

type TermSize

type TermSize struct {
	Height uint32
	Width  uint32
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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