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" )
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"`
}
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
Click to show internal directories.
Click to hide internal directories.