Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExportFromReader ¶ added in v1.26.0
func ExportFromReader(input io.Reader, opts define.BuildOutputOption) error
ExportFromReader reads bytes from given reader and exports to external tar, directory or stdout.
func LookupImage ¶
func LookupImage(ctx *types.SystemContext, store storage.Store, image string) (*libimage.Image, error)
LookupImage returns *Image to corresponding imagename or id
func NormalizePlatform ¶ added in v1.28.0
NormalizePlatform validates and translate the platform to the canonical value.
For example, if "Aarch64" is encountered, we change it to "arm64" or if "x86_64" is encountered, it becomes "amd64".
Wrapper around libimage.NormalizePlatform to return and consume v1.Platform instead of independent os, arch and variant.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.