1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/api_params.go

71 lines
1.1 KiB
Go
Raw Normal View History

package docker
2013-06-04 18:00:22 +00:00
type APIHistory struct {
ID string `json:"Id"`
Created int64
CreatedBy string `json:",omitempty"`
}
2013-06-04 18:00:22 +00:00
type APIImages struct {
2013-04-18 18:56:22 +02:00
Repository string `json:",omitempty"`
Tag string `json:",omitempty"`
2013-06-04 18:00:22 +00:00
ID string `json:"Id"`
Created int64
2013-04-18 18:56:22 +02:00
}
2013-06-04 18:00:22 +00:00
type APIInfo struct {
Debug bool
Containers int
Images int
NFd int `json:",omitempty"`
NGoroutines int `json:",omitempty"`
MemoryLimit bool `json:",omitempty"`
SwapLimit bool `json:",omitempty"`
}
2013-06-04 18:00:22 +00:00
type APIContainers struct {
ID string `json:"Id"`
Image string
Command string
Created int64
Status string
Ports string
}
2013-06-04 18:00:22 +00: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-06-04 18:00:22 +00:00
type APIID struct {
ID string `json:"Id"`
2013-04-24 16:06:03 +02:00
}
2013-06-04 18:00:22 +00:00
type APIRun struct {
ID string `json:"Id"`
Warnings []string `json:",omitempty"`
2013-05-02 18:36:23 +02:00
}
2013-06-04 18:00:22 +00:00
type APIPort struct {
Port string
}
2013-06-04 18:00:22 +00:00
type APIVersion struct {
Version string
GitCommit string `json:",omitempty"`
GoVersion string `json:",omitempty"`
}
2013-06-04 18:00:22 +00:00
type APIWait struct {
StatusCode int
}
2013-05-06 13:34:31 +02:00
2013-06-04 18:00:22 +00:00
type APIAuth struct {
2013-05-06 13:34:31 +02:00
Status string
}
2013-05-19 10:46:24 -07:00
2013-06-04 18:00:22 +00:00
type APIImageConfig struct {
ID string `json:"Id"`
2013-05-19 10:46:24 -07:00
*Config
}