bundle

package
v0.26.4 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MandatoryLayoutsForModule added in v0.10.0

func MandatoryLayoutsForModule(modulePkgDir string) map[string]string

func MandatoryLayoutsForPlatform added in v0.10.0

func MandatoryLayoutsForPlatform(platformPkgDir string) map[string]string

func MandatoryLayoutsForSecurityDatabase added in v0.10.0

func MandatoryLayoutsForSecurityDatabase(securityDBPkgDir string) map[string]string

func Pack

func Pack(ctx context.Context, sourcePath string, sink io.Writer) error

func PackWithPrefix added in v0.26.4

func PackWithPrefix(ctx context.Context, sourcePath string, prefix string, sink io.Writer) error

PackWithPrefix packs directory contents into tar with an optional prefix for all paths. For example, PackWithPrefix(ctx, "/tmp/module", "modules/stronghold", sink) will create tar entries like "modules/stronghold/index.json" instead of just "index.json".

func Unpack

func Unpack(ctx context.Context, source io.Reader, targetPath string) error

func ValidateUnpackedPackage added in v0.10.0

func ValidateUnpackedPackage(mandatoryLayouts map[string]string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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