package
0.0.0-20250130204033-e82d90384e5b
Repository: https://github.com/laurentgoderre/moby.git
Documentation: pkg.go.dev

# Functions

DecodeAuthConfig decodes base64url encoded ([RFC4648, section 5]) JSON authentication information as sent through the X-Registry-Auth header.
DecodeAuthConfigBody decodes authentication information as sent as JSON in the body of a request.
EncodeAuthConfig serializes the auth configuration as a base64url encoded ([RFC4648, section 5]) JSON string for sending through the X-Registry-Auth header.

# Constants

AuthHeader is the name of the header used to send encoded registry authorization credentials for registry operations (push/pull).

# Structs

AuthConfig contains authorization information for connecting to a Registry.
AuthenticateOKBody authenticate o k body swagger:model AuthenticateOKBody.
DistributionInspect describes the result obtained from contacting the registry to retrieve image metadata.
IndexInfo contains information about a registry RepositoryInfo Examples: { "Index" : { "Name" : "docker.io", "Mirrors" : ["https://registry-2.docker.io/v1/", "https://registry-3.docker.io/v1/"], "Secure" : true, "Official" : true, }, "RemoteName" : "library/debian", "LocalName" : "debian", "CanonicalName" : "docker.io/debian" "Official" : true, } { "Index" : { "Name" : "127.0.0.1:5000", "Mirrors" : [], "Secure" : false, "Official" : false, }, "RemoteName" : "user/repo", "LocalName" : "127.0.0.1:5000/user/repo", "CanonicalName" : "127.0.0.1:5000/user/repo", "Official" : false, }.
SearchOptions holds parameters to search images with.
SearchResult describes a search result returned from a registry.
SearchResults lists a collection search results returned from a registry.
ServiceConfig stores daemon registry services configuration.

# Type aliases

NetIPNet is the net.IPNet type, which can be marshalled and unmarshalled to JSON.
RequestAuthConfig is a function interface that clients can supply to retry operations after getting an authorization error.