image

package
v1.27.5 Latest Latest
Warning

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

Go to latest
Published: May 15, 2026 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// RetrieveRemoteImage downloads an image from a remote location
	RetrieveRemoteImage = remote.RetrieveRemoteImage

	EmptyBaseImage v1.Image = func() v1.Image {
		image := empty.Image
		if config.EnvBool("FF_KANIKO_OCI_SCRATCH_BASE") {
			image = mutate.ConfigMediaType(
				mutate.MediaType(image, types.OCIManifestSchema1),
				types.OCIConfigJSON,
			)
		}
		return image
	}()
)

Functions

func RetrieveSourceImage

func RetrieveSourceImage(stage config.KanikoStage, opts *config.KanikoOptions) (v1.Image, error)

RetrieveSourceImage returns the base image of the stage at index

func RetrieveSourceImageInternal added in v1.26.5

func RetrieveSourceImageInternal(baseName string, baseImageStoredLocally bool, baseImageIndex int, metaArgs []instructions.ArgCommand, opts *config.KanikoOptions) (v1.Image, error)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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