moby--moby/api_params.go

50 lines
843 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 `json:",omitempty"`
2013-04-18 16:56:22 +00:00
}
type ApiInfo struct {
Containers int
Version string
Images int
Debug bool
NFd int `json:",omitempty"`
NGoroutines int `json:",omitempty"`
}
type ApiContainers struct {
Id string
Image string `json:",omitempty"`
Command string `json:",omitempty"`
Created int64 `json:",omitempty"`
Status string `json:",omitempty"`
}
2013-05-02 03:07:06 +00:00
type ApiId struct {
2013-04-24 14:06:03 +00:00
Id string
}
type ApiPort struct {
Port string
}
type ApiVersion struct {
2013-04-18 16:56:22 +00:00
Version string
GitCommit string
MemoryLimitDisabled bool
}
type ApiWait struct {
StatusCode int
}