unpack

package
v0.0.0-...-dd160b1 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2020 License: BSD-2-Clause Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const ImageBlobURLFormat = "https://%s/v2/%s/%s/blobs/%s"
View Source
const ImageManifestsURLFormat = "https://%s/v2/%s/%s/manifests/%s"

Variables

This section is empty.

Functions

func GetBlob

func GetBlob(image string, layerDigest string) (io.ReadCloser, error)

func GetImageBlobURL

func GetImageBlobURL(image, layerDigest string) (string, error)

func GetImageManifestsURL

func GetImageManifestsURL(image string) (string, error)

func GetManifest

func GetManifest(image string) (*schema2.Manifest, error)

func UnpackImage

func UnpackImage(ctx context.Context, image string, target string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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