ociruntime

package
v3.1.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2019 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Creating represent creating status during container lifecycle
	Creating = "creating"
	// Created represent created status during container lifecycle
	Created = "created"
	// Running represent running status during container lifecycle
	Running = "running"
	// Stopped represent stopped status during container lifecycle
	Stopped = "stopped"
	// Paused represent paused status during container lifecycle
	Paused = "paused"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Control

type Control struct {
	ConsoleSize    *specs.Box `json:"consoleSize,omitempty"`
	ReopenLog      bool       `json:"reopenLog,omitempty"`
	StartContainer bool       `json:"startContainer,omitempty"`
	Pause          bool       `json:"pause,omitempty"`
	Resume         bool       `json:"resume,omitempty"`
}

Control is used to pass information for container control like terminal resize or log file reopen

type State

type State struct {
	specs.State
	CreatedAt     *int64 `json:"createdAt,omitempty"`
	StartedAt     *int64 `json:"startedAt,omitempty"`
	FinishedAt    *int64 `json:"finishedAt,omitempty"`
	ExitCode      *int   `json:"exitCode,omitempty"`
	ExitDesc      string `json:"exitDesc,omitempty"`
	AttachSocket  string `json:"attachSocket,omitempty"`
	ControlSocket string `json:"controlSocket,omitempty"`
}

State represents the state of the container

Jump to

Keyboard shortcuts

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