containerd/api/v1/types.go

12 lines
243 B
Go
Raw Normal View History

2015-11-05 23:29:53 +00:00
package v1
type State struct {
Containers []Container `json:"containers"`
}
type Container struct {
ID string `json:"id,omitempty"`
BundlePath string `json:"bundlePath,omitempty"`
Processes []int `json:"processes,omitempty"`
}