image

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2016 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Overview

Package image defines methods for validating, and unpacking OCI images.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateRuntimeBundle added in v0.3.0

func CreateRuntimeBundle(tarFile, dest, ref, root string) error

CreateRuntimeBundle walks through the given .tar file and creates an OCI runtime bundle in the given destination dest or returns an error if the unpacking failed.

func CreateRuntimeBundleLayout added in v0.3.0

func CreateRuntimeBundleLayout(src, dest, ref, root string) error

CreateRuntimeBundleLayout walks through the file tree given by src and creates an OCI runtime bundle in the given destination dest or returns an error if the unpacking failed.

func Unpack

func Unpack(tarFile, dest, ref string) error

Unpack walks through the given .tar file and using the layers specified in the manifest pointed to by the given ref and unpacks all layers in the given destination directory or returns an error if the unpacking failed.

func UnpackLayout

func UnpackLayout(src, dest, ref string) error

UnpackLayout walks through the file tree given by src and using the layers specified in the manifest pointed to by the given ref and unpacks all layers in the given destination directory or returns an error if the unpacking failed.

func Validate

func Validate(tarFile, ref string) error

Validate walks through the given .tar file and validates the manifest pointed to by the given ref or returns an error if the validation failed.

func ValidateLayout

func ValidateLayout(src, ref string) error

ValidateLayout walks through the file tree given by src and validates the manifest pointed to by the given ref or returns an error if the validation failed.

Types

This section is empty.

Jump to

Keyboard shortcuts

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