Documentation
¶
Index ¶
Constants ¶
View Source
const ( // Version of the REST API, not implementation version. // See openapi.yaml for the definition. Version = "1.1.0" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrorJSON ¶
type ErrorJSON struct {
Message string `json:"message"`
}
ErrorJSON is returned with "application/json" content type and non-2XX status code
type Info ¶ added in v0.14.0
type Info struct {
APIVersion string `json:"apiVersion"` // REST API version
Version string `json:"version"` // Implementation version
StateDir string `json:"stateDir"`
ChildPID int `json:"childPID"`
NetworkDriver *NetworkDriverInfo `json:"networkDriver,omitempty"`
PortDriver *PortDriverInfo `json:"portDriver,omitempty"`
}
Info is the structure returned by `GET /info`
type NetworkDriverInfo ¶ added in v0.14.0
NetworkDriverInfo in Info
type PortDriverInfo ¶ added in v0.14.0
PortDriverInfo in Info
Click to show internal directories.
Click to hide internal directories.