image

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2019 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyFromFileToRegistry

func CopyFromFileToRegistry(path string, name string, tag string, digest string, auth RegistryAuth, reportWriter io.Writer) error

func CopyImages added in v1.6.0

func CopyImages(srcRegistry, destRegistry registry.RegistryOptions, appSlug string, log *logger.Logger, reportWriter io.Writer, upstreamDir string) ([]kustomizeimage.Image, error)

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 GetObjectsWithImages(upstreamDir string) ([]*k8sdoc.Doc, error)

func GetPrivateImages

func GetPrivateImages(upstreamDir string) ([]string, []*k8sdoc.Doc, error)

func ImageInfoFromFile

func ImageInfoFromFile(registry registry.RegistryOptions, nameParts []string) (kustomizeimage.Image, error)

Types

type ImageRef

type ImageRef struct {
	Domain string
	Name   string
	Tag    string
	Digest string
}

type RegistryAuth

type RegistryAuth struct {
	Username string
	Password string
}

Jump to

Keyboard shortcuts

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