registry

package
v1.2.0-beta.2 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2023 License: MIT Imports: 18 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) error

func DeleteImage

func DeleteImage(imageName string) error

func ImageIsCached

func ImageIsCached(imageName string) (bool, error)

func NewKubernetesKeychain

func NewKubernetesKeychain(client client.Client, 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