-
Notifications
You must be signed in to change notification settings - Fork 541
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Talk about host specific/independent instead of mutability
Cover my action item from this week's OCI call. Also moved State json out of config.go since its not really part of the config.json file/config. Signed-off-by: Doug Davis <[email protected]>
- Loading branch information
Doug Davis
committed
Oct 30, 2015
1 parent
ab4acc0
commit e14e826
Showing
4 changed files
with
28 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package specs | ||
|
||
// State holds information about the runtime state of the container. | ||
// This information will be stored in a file called `state.json`. | ||
// The location of this file will be operating system specific. On Linux | ||
// it will be in `/run/opencontainers/runc/<containerID>/state.json` | ||
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"` | ||
// Pid is the process id for the container's main process. | ||
Pid int `json:"pid"` | ||
// BundlePath is the path to the container's bundle directory. | ||
BundlePath string `json:"bundlePath"` | ||
} |