mirror of
https://github.com/containers/skopeo.git
synced 2025-09-21 18:09:08 +00:00
This requires re-vendoring a bunch of other things (as well as the old Sirupsen/logrus path), the relevant commits being: * github.com/xeipuuv/gojsonschema@0c8571ac0ce161a5feb57375a9cdf148c98c0f70 * github.com/xeipuuv/gojsonpointer@6fe8760cad3569743d51ddbb243b26f8456742dc * github.com/xeipuuv/gojsonreference@e02fc20de94c78484cd5ffb007f8af96be030a45 * go4.org@034d17a462f7b2dcd1a4a73553ec5357ff6e6c6e Signed-off-by: Aleksa Sarai <asarai@suse.de>
18 lines
641 B
Go
18 lines
641 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:"ociVersion"`
|
|
// ID is the container ID
|
|
ID string `json:"id"`
|
|
// Status is the runtime status of the container.
|
|
Status string `json:"status"`
|
|
// Pid is the process ID for the container process.
|
|
Pid int `json:"pid,omitempty"`
|
|
// Bundle is the path to the container's bundle directory.
|
|
Bundle string `json:"bundle"`
|
|
// Annotations are key values associated with the container.
|
|
Annotations map[string]string `json:"annotations,omitempty"`
|
|
}
|