state.go (641B)
1 package specs 2 3 // State holds information about the runtime state of the container. 4 type State struct { 5 // Version is the version of the specification that is supported. 6 Version string `json:"ociVersion"` 7 // ID is the container ID 8 ID string `json:"id"` 9 // Status is the runtime status of the container. 10 Status string `json:"status"` 11 // Pid is the process ID for the container process. 12 Pid int `json:"pid,omitempty"` 13 // Bundle is the path to the container's bundle directory. 14 Bundle string `json:"bundle"` 15 // Annotations are key values associated with the container. 16 Annotations map[string]string `json:"annotations,omitempty"` 17 }