Documentation
¶
Index ¶
- func BuildImageAltNames(rewrittenImage kustomizetypes.Image) []kustomizetypes.Image
- func CopyFromFileToRegistry(path string, name string, tag string, digest string, auth RegistryAuth, ...) error
- func CopyImageWithGC(ctx context.Context, policyContext *signature.PolicyContext, ...) ([]byte, error)
- func CopyImages(srcRegistry, destRegistry registry.RegistryOptions, appSlug string, ...) ([]kustomizeimage.Image, error)
- func DestRef(registry registry.RegistryOptions, srcImage string) string
- func GetObjectsWithImages(upstreamDir string) ([]k8sdoc.K8sDoc, error)
- func GetPrivateImages(upstreamDir string, checkedImages map[string]ImageInfo, allPrivate bool) ([]string, []k8sdoc.K8sDoc, error)
- func ImageInfoFromFile(registry registry.RegistryOptions, nameParts []string) (kustomizetypes.Image, error)
- func IsPrivateImage(image string) (bool, error)
- func RewritePrivateImage(srcRegistry registry.RegistryOptions, image string, appSlug string) (string, error)
- type ImageInfo
- type ImageRef
- type RegistryAuth
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildImageAltNames ¶
func BuildImageAltNames(rewrittenImage kustomizetypes.Image) []kustomizetypes.Image
func CopyFromFileToRegistry ¶
func CopyImageWithGC ¶
func CopyImageWithGC(ctx context.Context, policyContext *signature.PolicyContext, destRef, srcRef types.ImageReference, options *copy.Options) ([]byte, error)
func CopyImages ¶ added in v1.6.0
func DestRef ¶
func DestRef(registry registry.RegistryOptions, srcImage string) string
DestRef returns the location to push the image to on the dest registry
func GetObjectsWithImages ¶ added in v0.9.13
func GetPrivateImages ¶
func ImageInfoFromFile ¶
func ImageInfoFromFile(registry registry.RegistryOptions, nameParts []string) (kustomizetypes.Image, error)
func IsPrivateImage ¶
func RewritePrivateImage ¶
Types ¶
type ImageRef ¶
func RefFromImage ¶
type RegistryAuth ¶
Click to show internal directories.
Click to hide internal directories.