moby--moby/api_params.go

72 lines
991 B
Go
Raw Normal View History

package docker
type ApiHistory struct {
Id string
Created int64
CreatedBy string
}
type ApiImages struct {
2013-04-18 16:56:22 +00:00
Repository string `json:",omitempty"`
Tag string `json:",omitempty"`
Id string
Created int64
2013-04-18 16:56:22 +00:00
}
type ApiInfo struct {
Containers int
Version string
Images int
Debug bool
2013-05-09 00:20:16 +00:00
GoVersion string
NFd int `json:",omitempty"`
NGoroutines int `json:",omitempty"`
}
type ApiContainers struct {
Id string
Image string
Command string
Created int64
Status string
Ports string
}
2013-05-07 18:37:35 +00:00
type ApiSearch struct {
2013-05-07 18:59:04 +00:00
Name string
2013-05-07 18:37:35 +00:00
Description string
}
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
}
type ApiPort struct {
Port string
}
type ApiVersion struct {
2013-05-02 16:36:23 +00:00
Version string
GitCommit string
MemoryLimit bool
SwapLimit bool
}
type ApiWait struct {
StatusCode int
}
2013-05-06 11:34:31 +00:00
type ApiAuth struct {
Status string
}
2013-05-19 17:46:24 +00:00
type ApiImageConfig struct {
Id string
*Config
}