Versions in this module Expand all Collapse all v0 v0.0.2 Apr 15, 2024 Changes in this version + const BufUpstreamClientUserAgentPrefix + const ImagePath + type Client interface + Close func() error + Delete func(ctx context.Context, image string) (*DeleteResponse, error) + Inspect func(ctx context.Context, image string) (*InspectResponse, error) + Load func(ctx context.Context, image io.Reader) (*LoadResponse, error) + Push func(ctx context.Context, image string, auth *RegistryAuthConfig) (*PushResponse, error) + Tag func(ctx context.Context, image string, config *bufpluginconfig.Config) (*TagResponse, error) + func NewClient(logger *zap.Logger, cliVersion string, options ...ClientOption) (Client, error) + type ClientOption func(options *clientOptions) + func WithHost(host string) ClientOption + func WithVersion(version string) ClientOption + type DeleteResponse struct + type InspectResponse struct + ImageID string + type LoadResponse struct + ImageID string + type PushResponse struct + Digest string + type RegistryAuthConfig struct + Email string + Password string + ServerAddress string + Username string + func (r *RegistryAuthConfig) ToHeader() (string, error) + type TagResponse struct + Image string