moby--moby/api_params.go

55 lines
904 B
Go
Raw Normal View History

package docker
type ApiHistory struct {
Id string
Created string
CreatedBy string
}
type ApiImages struct {
2013-04-18 16:56:22 +00:00
Repository string `json:",omitempty"`
Tag string `json:",omitempty"`
Id string
Created string `json:",omitempty"`
}
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 string `json:",omitempty"`
Status string `json:",omitempty"`
}
2013-04-24 14:06:03 +00:00
type ApiCommit struct {
Id string
}
type ApiLogs struct {
Stdout string
Stderr 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
}