2013-04-18 05:13:43 +04:00
|
|
|
package docker
|
|
|
|
|
2013-04-23 20:20:53 +04:00
|
|
|
type ApiHistory struct {
|
2013-04-19 17:24:37 +04:00
|
|
|
Id string
|
|
|
|
Created string
|
|
|
|
CreatedBy string
|
|
|
|
}
|
|
|
|
|
2013-04-23 20:20:53 +04:00
|
|
|
type ApiImages struct {
|
2013-04-18 20:56:22 +04:00
|
|
|
Repository string `json:",omitempty"`
|
|
|
|
Tag string `json:",omitempty"`
|
|
|
|
Id string
|
|
|
|
Created string `json:",omitempty"`
|
|
|
|
}
|
|
|
|
|
2013-04-23 20:20:53 +04:00
|
|
|
type ApiInfo struct {
|
2013-04-19 17:24:37 +04:00
|
|
|
Containers int
|
|
|
|
Version string
|
|
|
|
Images int
|
|
|
|
Debug bool
|
|
|
|
NFd int `json:",omitempty"`
|
|
|
|
NGoroutines int `json:",omitempty"`
|
|
|
|
}
|
|
|
|
|
2013-04-23 20:20:53 +04:00
|
|
|
type ApiContainers struct {
|
2013-04-19 17:24:37 +04:00
|
|
|
Id string
|
|
|
|
Image string `json:",omitempty"`
|
|
|
|
Command string `json:",omitempty"`
|
|
|
|
Created string `json:",omitempty"`
|
|
|
|
Status string `json:",omitempty"`
|
|
|
|
}
|
|
|
|
|
2013-04-23 20:20:53 +04:00
|
|
|
type ApiLogs struct {
|
2013-04-19 17:24:37 +04:00
|
|
|
Stdout string
|
|
|
|
Stderr string
|
|
|
|
}
|
|
|
|
|
2013-04-23 20:20:53 +04:00
|
|
|
type ApiPort struct {
|
|
|
|
Port string
|
|
|
|
}
|
|
|
|
|
|
|
|
type ApiVersion struct {
|
2013-04-18 20:56:22 +04:00
|
|
|
Version string
|
|
|
|
GitCommit string
|
|
|
|
MemoryLimitDisabled bool
|
2013-04-18 05:13:43 +04:00
|
|
|
}
|