Add basic bundle, spec, and config types

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
Michael Crosby
2016-12-09 14:27:31 -08:00
parent 0808a5c485
commit dd39b4dcf0
3 changed files with 150 additions and 0 deletions

18
config.go Normal file
View File

@@ -0,0 +1,18 @@
package containerd
type Process struct {
Args []string
Env []string
Cwd string
Uid int
Gid int
TTY bool
}
type Config struct {
Process Process
Hostname string
Domain string
Labels map[string]string
StopSignal int
}