converter

package
v1.7.5 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ZstdLayerConvertFunc added in v1.6.1

func ZstdLayerConvertFunc(options types.ImageConvertOptions) (converter.ConvertFunc, error)

ZstdLayerConvertFunc converts legacy tar.gz layers into zstd layers with the specified compression level.

Types

type ConvertedImageInfo

type ConvertedImageInfo struct {
	// Image is the reference of the converted image.
	// The reference is the image's name and digest concatenated with "@" (i.e. `<name>@<digest>`).
	Image string `json:"Image"`

	// ExtraImages is a set of converter-specific additional images (e.g. external TOC image of eStargz).
	// The reference format is the same as the "Image" field.
	ExtraImages []string `json:"ExtraImages"`
}

ConvertedImageInfo is information of the images created by a conversion.

Jump to

Keyboard shortcuts

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