images

package
v0.24.1 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2023 License: Apache-2.0 Imports: 20 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 ImgConfig

type ImgConfig struct {
	TarballPath string

	ImgList []string

	RegInfo types.RegistryInfo

	NoChecksum bool

	Insecure bool
}

ImgConfig is the main struct for managing container images.

func (*ImgConfig) PullAll

func (i *ImgConfig) PullAll() error

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

func (*ImgConfig) PullImage added in v0.24.0

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

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

func (*ImgConfig) PushToZarfRegistry

func (i *ImgConfig) 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.

Jump to

Keyboard shortcuts

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