Documentation
¶
Overview ¶
Package modify converts Zarf packages into recreatable local source and back.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Disassemble ¶
Disassemble converts one Zarf package into recreatable local source.
func Reassemble ¶
func Reassemble(ctx context.Context, opts ReassembleOptions) (string, error)
Reassemble recreates a Zarf package from source produced by Disassemble.
Types ¶
type Options ¶
type Options struct {
PackageOptions
Source string
Architecture string
OutputDir string
VerificationStrategy layout.VerificationStrategy
Warn func(string, ...any)
}
Options holds inputs for disassembling a Zarf package into local source.
type PackageOptions ¶
type PackageOptions struct {
PlainHTTP bool
SkipTLSVerify bool
TmpDir string
CachePath string
Concurrency int
}
PackageOptions holds Zarf package settings shared by disassembly and reassembly.
type ReassembleOptions ¶
type ReassembleOptions struct {
PackageOptions
SourceDir string
Output string
MaxPackageSizeMB int
SigningKeyPath string
SigningKeyPassword string
WithBuildMachineInfo bool
}
ReassembleOptions holds inputs for recreating a package from disassembled source.
Click to show internal directories.
Click to hide internal directories.