Documentation
¶
Index ¶
- func CopyFromFileToRegistry(path string, name string, tag string, digest string, auth RegistryAuth, ...) 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.Doc, error)
- func GetPrivateImages(upstreamDir string, checkedImages map[string]ImageInfo, allPrivate bool) ([]string, []*k8sdoc.Doc, error)
- func ImageInfoFromFile(registry registry.RegistryOptions, nameParts []string) (kustomizeimage.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 CopyFromFileToRegistry ¶
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) (kustomizeimage.Image, error)
func IsPrivateImage ¶
func RewritePrivateImage ¶
Types ¶
type ImageRef ¶
func RefFromImage ¶
type RegistryAuth ¶
Click to show internal directories.
Click to hide internal directories.