bootstrapbundle

package
v0.0.0-...-f54f16c Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrMalformedBundle = errors.New("Malformed install bundle file")
View Source
var ErrNoFiles = errors.New("No files to bundle")

Functions

This section is empty.

Types

type Creator

type Creator struct {
	// contains filtered or unexported fields
}

Creator creates and unpacks bootstrap bundles

func NewCreator

func NewCreator(secretStore secrets.SecretStore, opts ...CreatorOpt) *Creator

func (*Creator) Create

func (b *Creator) Create(pkgMetadatas []*product.PackageMetadata, out io.Writer) error

func (*Creator) Unpack

func (b *Creator) Unpack(in io.Reader) error

type CreatorOpt

type CreatorOpt func(*Creator)

func WithRootDir

func WithRootDir(rootDir string) CreatorOpt

Jump to

Keyboard shortcuts

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