image

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 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 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)

func SaveImages added in v0.9.5

func SaveImages(srcRegistry registry.RegistryOptions, appSlug string, log *logger.Logger, imagesDir string, upstreamDir string) 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