package registry
import "github.com/docker/compose/v2/internal/registry"
Index ¶
Constants ¶
const ( // IndexHostname is the index hostname, used for authentication and image search. IndexHostname = "index.docker.io" // IndexServer is used for user auth and image search IndexServer = "https://index.docker.io/v1/" // IndexName is the name of the index IndexName = "docker.io" )
Functions ¶
func GetAuthConfigKey ¶
GetAuthConfigKey special-cases using the full index address of the official index as the AuthConfig key, and uses the (host)name[:port] for private indexes.
Source Files ¶
- Version
- v2.39.2 (latest)
- Published
- Aug 8, 2025
- Platform
- linux/amd64
- Imports
- 1 packages
- Last checked
- 1 hour ago –
Tools for package owners.