extractor

package
v0.0.0-...-0e953d0 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrCouldNotExtract occurs when an extraction fails.
	ErrCouldNotExtract = errors.New("Could not extract the archive")
)

Functions

This section is empty.

Types

type Extractor

type Extractor interface {
	Extract(ctx context.Context, imageName string, filenames []string) (FileMap, error)
	ExtractFromFile(ctx context.Context, r io.Reader, filenames []string) (FileMap, error)
}

type FileMap

type FileMap map[string][]byte

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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