registry

package
v1.5.0-beta.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 22, 2023 License: MIT Imports: 28 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// DefaultAuthKey is the key used for dockerhub in config files, which
	// is hardcoded for historical reasons.
	DefaultAuthKey = "https://" + name.DefaultRegistry + "/v1/"
)

Variables

View Source
var Endpoint = ""
View Source
var Protocol = "http://"

Functions

func CacheImage

func CacheImage(imageName string, keychain authn.Keychain, architectures []string, insecureRegistries []string, rootCAs *x509.CertPool) error

func ContainerAnnotationKey added in v1.3.0

func ContainerAnnotationKey(containerName string, initContainer bool) string

func DeleteImage

func DeleteImage(imageName string) error

func ImageIsCached

func ImageIsCached(imageName string) (bool, error)

func LoadRootCAPoolFromFiles added in v1.5.0

func LoadRootCAPoolFromFiles(certificatePaths []string) (*x509.CertPool, error)

func NewKubernetesKeychain

func NewKubernetesKeychain(client client.Reader, namespace string, pullSecrets []string) authn.Keychain

func RepositoryLabel

func RepositoryLabel(repositoryName string) string

func SanitizeName

func SanitizeName(image string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL