archive

package
v0.1.1-alpha.2 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2021 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPackager

func NewPackager(manifests []v1alpha1.Manifest, blobs []v1alpha1.Blob) *packager

NewPackager create a new packager for build ImageSets

func Unarchive

func Unarchive(a Archiver, source, destination string, excludePaths []string) error

Copied from mholt archiver repo. Temporary and can add back to repo Changes include the additional of the excludePath variable and is passed to the untarNext function

Types

type Archiver

type Archiver interface {
	String() string
	Archive([]string, string) error
	Extract(string, string, string) error
	Unarchive(string, string) error
	Write(archiver.File) error
	Create(io.Writer) error
	Close() error
	Walk(string, archiver.WalkFunc) error
	Open(io.Reader, int64) error
	Read() (archiver.File, error)
	CheckPath(string, string) error
}

func NewArchiver

func NewArchiver() Archiver

NewArchiver creates a new archiver for tar archive manipultation

Jump to

Keyboard shortcuts

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