15 lines
434 B
Go
15 lines
434 B
Go
|
package runc
|
||
|
|
||
|
import "time"
|
||
|
|
||
|
// Container hold information for a runc container
|
||
|
type Container struct {
|
||
|
ID string `json:"id"`
|
||
|
Pid int `json:"pid"`
|
||
|
Status string `json:"status"`
|
||
|
Bundle string `json:"bundle"`
|
||
|
Rootfs string `json:"rootfs"`
|
||
|
Created time.Time `json:"created"`
|
||
|
Annotations map[string]string `json:"annotations"`
|
||
|
}
|