image

package
v0.0.0-...-4e67346 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ImageUnpacker

type ImageUnpacker struct {
	// contains filtered or unexported fields
}

Provides functionality for unpacking OCI container images

func UnpackerForImage

func UnpackerForImage(imageDir string, unpackDir string) (*ImageUnpacker, error)

Creates an ImageUnpacker with the specified options

func (*ImageUnpacker) Unpack

func (unpacker *ImageUnpacker) Unpack(platform *oci.Platform) (*oci.Manifest, error)

Unpacks the filesystem layers in the version of the image for the specified platform, applying the diffs for each successive layer

Jump to

Keyboard shortcuts

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