state.go 441 B

1234567891011121314
  1. package specs
  2. // State holds information about the runtime state of the container.
  3. type State struct {
  4. // Version is the version of the specification that is supported.
  5. Version string `json:"version"`
  6. // ID is the container ID
  7. ID string `json:"id"`
  8. // Pid is the process id for the container's main process.
  9. Pid int `json:"pid"`
  10. // BundlePath is the path to the container's bundle directory.
  11. BundlePath string `json:"bundlePath"`
  12. }