images

package
v0.23.0-rc4 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2022 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

func FormatCraneOCILayout

func FormatCraneOCILayout(ociPath string) error

Types

type ImgConfig

type ImgConfig struct {
	TarballPath string

	ImgList []string

	RegInfo types.RegistryInfo

	NoChecksum bool

	Insecure bool
}

func New

func New(config *ImgConfig) *ImgConfig

func (*ImgConfig) PullAll

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

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