containerd/api/v1/types.go
2015-11-10 13:44:35 -08:00

15 lines
295 B
Go

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"`
}
type Signal struct {
Signal int `json:"signal"`
}