Documentation
¶
Index ¶
- func MandatoryLayoutsForModule(modulePkgDir string) map[string]string
- func MandatoryLayoutsForPlatform(platformPkgDir string) map[string]string
- func MandatoryLayoutsForSecurityDatabase(securityDBPkgDir string) map[string]string
- func Pack(ctx context.Context, sourcePath string, sink io.Writer) error
- func PackWithPrefix(ctx context.Context, sourcePath string, prefix string, sink io.Writer) error
- func Unpack(ctx context.Context, source io.Reader, targetPath string) error
- func ValidateUnpackedPackage(mandatoryLayouts map[string]string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MandatoryLayoutsForModule ¶ added in v0.10.0
func MandatoryLayoutsForPlatform ¶ added in v0.10.0
func MandatoryLayoutsForSecurityDatabase ¶ added in v0.10.0
func PackWithPrefix ¶ added in v0.26.4
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 ValidateUnpackedPackage ¶ added in v0.10.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.