2016-07-18 23:47:59 +00:00
|
|
|
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"`
|
2016-09-17 13:50:35 +00:00
|
|
|
// Pid is the process ID for the container process.
|
2016-07-18 23:47:59 +00:00
|
|
|
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"`
|
|
|
|
}
|