Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Factory ¶
type Factory interface { // GetDefaultClient returns a versioned client for the default version GetDefaultClient() (dockeriface.Client, error) // GetClient returns a client with the specified version or an error // if the client doesn't exist. GetClient(version dockerclient.DockerVersion) (dockeriface.Client, error) // FindSupportedAPIVersions returns a slice of agent-supported Docker API // versions. Versions are tested by making calls against the Docker daemon // and may occur either at Factory creation time or lazily upon invocation // of this function. The slice represents the intersection of // agent-supported versions and daemon-supported versions. FindSupportedAPIVersions() []dockerclient.DockerVersion // FindKnownAPIVersions returns a slice of Docker API versions that are // known to the Docker daemon. Versions are tested by making calls against // the Docker daemon and may occur either at Factory creation time or // lazily upon invocation of this function. The slice represents the // intersection of the API versions that the agent knows exist (but does // not necessarily fully support) and the versions that result in // successful responses by the Docker daemon. FindKnownAPIVersions() []dockerclient.DockerVersion // FindClientAPIVersion returns the client api version FindClientAPIVersion(dockeriface.Client) dockerclient.DockerVersion }
Factory provides a collection of docker remote clients that include a recommended client version as well as a set of alternative supported docker clients.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.