Documentation ¶
Index ¶
- Variables
- func CacheImage(imageName string, desc *remote.Descriptor, architectures []string) error
- func ContainerAnnotationKey(containerName string, initContainer bool) string
- func DeleteImage(imageName string) error
- func GetDescriptor(imageName string, pullSecrets []corev1.Secret, insecureRegistries []string, ...) (*remote.Descriptor, error)
- func GetKeychains(imageName string, pullSecrets []corev1.Secret) ([]authn.Keychain, error)
- func GetLocalDescriptor(imageName string) (*remote.Descriptor, error)
- func GetPullSecrets(apiReader client.Reader, namespace string, pullSecretNames []string) ([]corev1.Secret, error)
- func ImageIsCached(imageName string) (bool, error)
- func LoadRootCAPoolFromFiles(certificatePaths []string) (*x509.CertPool, error)
- func RepositoryLabel(repositoryName string) string
- func SanitizeName(image string) string
Constants ¶
This section is empty.
Variables ¶
View Source
var Endpoint = ""
View Source
var ErrNotFound = errors.New("could not find source image")
View Source
var Protocol = "http://"
Functions ¶
func CacheImage ¶
func CacheImage(imageName string, desc *remote.Descriptor, architectures []string) error
func ContainerAnnotationKey ¶ added in v1.3.0
func DeleteImage ¶
func GetDescriptor ¶ added in v1.8.0
func GetKeychains ¶ added in v1.6.0
func GetLocalDescriptor ¶ added in v1.8.0
func GetLocalDescriptor(imageName string) (*remote.Descriptor, error)
func GetPullSecrets ¶ added in v1.6.0
func ImageIsCached ¶
func LoadRootCAPoolFromFiles ¶ added in v1.5.0
func RepositoryLabel ¶
func SanitizeName ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.