package
0.0.0-20230306131847-26f457599b8d
Repository: https://github.com/xiaoyawei/buf.git
Documentation: pkg.go.dev

# 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.
PluginsImagePrefix is used to prefix all image names with the correct path for pushing to the OCI registry.

# 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.