images

package
v0.30.1 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2023 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Overview

Package images provides functions for building and pushing images.

Package images provides functions for building and pushing images.

Package images provides functions for building and pushing images.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ImageConfig added in v0.30.0

type ImageConfig struct {
	ImagesPath string

	ImageList []transform.Image

	RegInfo types.RegistryInfo

	NoChecksum bool

	Insecure bool

	Architectures []string

	RegistryOverrides map[string]string
}

ImageConfig is the main struct for managing container images.

func (*ImageConfig) PullAll added in v0.30.0

func (i *ImageConfig) PullAll() ([]ImgInfo, error)

PullAll pulls all of the images in the provided tag map.

func (*ImageConfig) PullImage added in v0.30.0

func (i *ImageConfig) PullImage(src string, spinner *message.Spinner) (img v1.Image, hasImageLayers bool, err error)

PullImage returns a v1.Image either by loading a local tarball or pulling from the wider internet.

func (*ImageConfig) PushToZarfRegistry added in v0.30.0

func (i *ImageConfig) PushToZarfRegistry() error

PushToZarfRegistry pushes a provided image into the configured Zarf registry This function will optionally shorten the image name while appending a checksum of the original image name.

type ImgInfo added in v0.30.1

type ImgInfo struct {
	RefInfo        transform.Image
	Img            v1.Image
	HasImageLayers bool
}

ImgInfo wraps references/information about an image

Jump to

Keyboard shortcuts

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