Documentation
¶
Index ¶
Constants ¶
View Source
const ( // DefaultListContainersTimeout is the timeout for // listing container from the Docker API. DefaultListContainersTimeout = 10 * time.Minute // DefaultLoadImageTimeout is the timeout for loading an image // by the Docker API. DefaultLoadImageTimeout = 10 * time.Minute // DefaultCreateContainerTimeout is the timeout for creating an // container by the Docker API. DefaultCreateContainerTimeout = 4 * time.Minute // DefaultStopContainerTimeout is the tiemout for stopping // an container by the Docker API. DefaultStopContainerTimeout = 30 * time.Second // DefaultRemoveContainerTimeout is the timeout for removing an // container by the Docker API. DefaultRemoveContainerTimeout = 5 * time.Minute // DefaultInspectContainerTimeout is the timeout for inspecing an // container by the Docker API. DefaultInspectContainerTimeout = 30 * time.Second // DefaultRemoveImageTimeout is the timeout for removing an image // by the Docker API. DefaultRemoveImageTimeout = 3 * time.Minute // DefaultVersionTimeout is the timeout for getting the version from // the Docker API. DefaultVersionTimeout = 10 * time.Second )
View Source
const ( // Version1_38 represents Docker API 1.38 Version1_38 string = "1.38" Version1_37 string = "1.37" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIVersions ¶
type APIVersions []string
APIVersions represents the supported API versions
func SupportedVersions ¶
func SupportedVersions() APIVersions
SupportedVersions returns all the supported Docker API versions. All unknown API versions are ignored.
Click to show internal directories.
Click to hide internal directories.