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