images

package
v0.24.0-rc4 Latest Latest
Warning

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

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

func FormatCraneOCILayout

func FormatCraneOCILayout(ociPath string) error

FormatCraneOCILayout ensures that all images are in the OCI format.

Types

type ImgConfig

type ImgConfig struct {
	TarballPath string

	ImgList []string

	RegInfo types.RegistryInfo

	NoChecksum bool

	Insecure bool

	NoLocalImages bool
}

ImgConfig is the main struct for managing container images.

func (*ImgConfig) PullAll

func (i *ImgConfig) PullAll() (map[name.Tag]v1.Image, error)

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

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