# Functions
NewClient creates a new Client to use to build Docker plugins.
WithHost allows specifying a Docker engine host to connect to (instead of the default lookup using DOCKER_HOST env var).
WithVersion allows specifying a Docker API client version instead of using the default version negotiation algorithm.
# Constants
Setting this value on the buf docker client allows us to propagate a custom value to the OCI registry.
ImagePath is the default location for the Docker image archive in a plugin zip file.
# Structs
DeleteResponse is a placeholder for data to be returned from a successful image delete call.
InspectResponse returns the image id for a given image.
LoadResponse returns details of a successful load image call.
PushResponse is a placeholder for data to be returned from a successful image push call.
RegistryAuthConfig represents the fields required to authenticate with the Docker Engine API.
TagResponse returns details of a successful image tag call.
# Interfaces
Client is a small abstraction over a Docker API client, providing the basic APIs we need to build plugins.
# Type aliases
ClientOption defines options for the NewClient call to customize the underlying Docker client.