tool

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Merge

func Merge(option MergeOption) ([]digest.Digest, error)

func Pack added in v0.3.0

func Pack(option PackOption) error

func Unpack added in v0.3.0

func Unpack(option UnpackOption) error

Types

type MergeOption

type MergeOption struct {
	BuilderPath string

	SourceBootstrapPaths []string
	TargetBootstrapPath  string
	ChunkDictPath        string
	PrefetchPatterns     string
	OutputJSONPath       string
	Timeout              *time.Duration
}

type PackOption added in v0.3.0

type PackOption struct {
	BuilderPath string

	BootstrapPath    string
	BlobPath         string
	FsVersion        string
	SourcePath       string
	ChunkDictPath    string
	PrefetchPatterns string
	Compressor       string
	Timeout          *time.Duration
}

type UnpackOption added in v0.3.0

type UnpackOption struct {
	BuilderPath   string
	BootstrapPath string
	BlobPath      string
	TarPath       string
	Timeout       *time.Duration
}

Jump to

Keyboard shortcuts

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