Documentation ¶
Overview ¶
Code generated by go generate; DO NOT EDIT. This file was generated by robots at 2024-11-21 13:51:14.615514969 +0800 CST m=+0.010073007 using data from 'go tool dist list'
Index ¶
- Constants
- func ConfigDir() string
- func CreateRegistryHost(imageRef reference.Named, username, password string, insecure, plainHTTP bool, ...) error
- func GetResolver() remotes.Resolver
- func IsValidOSArch(os string, arch string, variant string) bool
- func ParseName(name string) (reference.Named, error)
Constants ¶
View Source
const ( // DefaultHostname is the default built-in registry (DockerHub) DefaultHostname = "docker.io" // LegacyDefaultHostname is the old hostname used for DockerHub LegacyDefaultHostname = "index.docker.io" // DefaultRepoPrefix is the prefix used for official images in DockerHub DefaultRepoPrefix = "library/" )
Variables ¶
This section is empty.
Functions ¶
func CreateRegistryHost ¶ added in v2.1.0
func GetResolver ¶ added in v2.1.0
func IsValidOSArch ¶
IsValidOSArch checks against the generated list of os/arch combinations from Go as well as checking for valid variants for ARM (the only architecture that uses variants)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.