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