2013-04-18 01:13:43 +00:00
|
|
|
package docker
|
|
|
|
|
2013-04-23 16:20:53 +00:00
|
|
|
type ApiHistory struct {
|
2013-04-19 13:24:37 +00:00
|
|
|
Id string
|
2013-04-30 15:04:31 +00:00
|
|
|
Created int64
|
2013-04-19 13:24:37 +00:00
|
|
|
CreatedBy string
|
|
|
|
}
|
|
|
|
|
2013-04-23 16:20:53 +00:00
|
|
|
type ApiImages struct {
|
2013-04-18 16:56:22 +00:00
|
|
|
Repository string `json:",omitempty"`
|
|
|
|
Tag string `json:",omitempty"`
|
|
|
|
Id string
|
2013-04-30 15:04:31 +00:00
|
|
|
Created int64 `json:",omitempty"`
|
2013-04-18 16:56:22 +00:00
|
|
|
}
|
|
|
|
|
2013-04-23 16:20:53 +00:00
|
|
|
type ApiInfo struct {
|
2013-04-19 13:24:37 +00:00
|
|
|
Containers int
|
|
|
|
Version string
|
|
|
|
Images int
|
|
|
|
Debug bool
|
|
|
|
NFd int `json:",omitempty"`
|
|
|
|
NGoroutines int `json:",omitempty"`
|
|
|
|
}
|
|
|
|
|
2013-04-23 16:20:53 +00:00
|
|
|
type ApiContainers struct {
|
2013-04-19 13:24:37 +00:00
|
|
|
Id string
|
|
|
|
Image string `json:",omitempty"`
|
|
|
|
Command string `json:",omitempty"`
|
2013-04-30 15:04:31 +00:00
|
|
|
Created int64 `json:",omitempty"`
|
2013-04-19 13:24:37 +00:00
|
|
|
Status string `json:",omitempty"`
|
2013-05-02 16:36:23 +00:00
|
|
|
Ports string `json:",omitempty"`
|
2013-04-19 13:24:37 +00:00
|
|
|
}
|
|
|
|
|
2013-05-02 03:07:06 +00:00
|
|
|
type ApiId struct {
|
2013-04-24 14:06:03 +00:00
|
|
|
Id string
|
|
|
|
}
|
|
|
|
|
2013-05-02 16:36:23 +00:00
|
|
|
type ApiRun struct {
|
|
|
|
Id string
|
|
|
|
Warnings []string
|
|
|
|
}
|
|
|
|
|
2013-04-23 16:20:53 +00:00
|
|
|
type ApiPort struct {
|
|
|
|
Port string
|
|
|
|
}
|
|
|
|
|
|
|
|
type ApiVersion struct {
|
2013-05-02 16:36:23 +00:00
|
|
|
Version string
|
|
|
|
GitCommit string
|
|
|
|
MemoryLimit bool
|
|
|
|
SwapLimit bool
|
2013-04-18 01:13:43 +00:00
|
|
|
}
|
2013-04-24 12:01:40 +00:00
|
|
|
|
|
|
|
type ApiWait struct {
|
|
|
|
StatusCode int
|
|
|
|
}
|