mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
f2614f2107
Signed-off-by: Alexander Morozov <lk4d4@docker.com>
17 lines
634 B
Go
17 lines
634 B
Go
package specs
|
|
|
|
// State holds information about the runtime state of the container.
|
|
type State struct {
|
|
// Version is the version of the specification that is supported.
|
|
Version string `json:"version"`
|
|
// ID is the container ID
|
|
ID string `json:"id"`
|
|
// Status is the runtime state of the container.
|
|
Status string `json:"status"`
|
|
// Pid is the process ID for the container process.
|
|
Pid int `json:"pid"`
|
|
// BundlePath is the path to the container's bundle directory.
|
|
BundlePath string `json:"bundlePath"`
|
|
// Annotations are the annotations associated with the container.
|
|
Annotations map[string]string `json:"annotations"`
|
|
}
|