18 lines
412 B
Go
18 lines
412 B
Go
package proto
|
|
|
|
type Container struct {
|
|
ID string `json:"Id"`
|
|
Names string `json:"Names"`
|
|
Image string `json:"Image"`
|
|
ImageID string `json:"ImageID"`
|
|
Command string `json:"Command"`
|
|
Created int64 `json:"Created"`
|
|
Ports string `json:"Ports"`
|
|
State string `json:"State"`
|
|
Status string `json:"Status"`
|
|
}
|
|
|
|
type MsgContainerListAck struct {
|
|
ContainerList []*Container `json:"ContainerList"`
|
|
}
|