Documentation
¶
Overview ¶
Package load takes a ZarfPackageConfig, composes imports, and validates the con
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefinitionOptions ¶
type DefinitionOptions struct {
Flavor string
SetVariables map[string]string
// SkipValuesSchemaValidation skips schema validation for the package values entirely.
SkipValuesSchemaValidation bool
// CachePath is used to cache layers from skeleton package pulls
CachePath string
// IsInteractive decides if Zarf can interactively prompt users through the CLI
IsInteractive bool
// SkipVersionCheck skips version requirement validation
SkipVersionCheck bool
types.RemoteOptions
}
DefinitionOptions are the optional parameters to load.PackageDefinition
type ResolvedPackage ¶ added in v0.84.0
type ResolvedPackage struct {
PackageDefinition api.PackageDefinition
ImportedSchemas []string
}
ResolvedPackage is the result of loading and resolving a package definition. ImportedSchemas is transient assembly state — child schema paths collected during import resolution that must be passed to package assembly for merging.
func PackageDefinition ¶
func PackageDefinition(ctx context.Context, packagePath string, opts DefinitionOptions) (ResolvedPackage, error)
PackageDefinition returns a validated package definition after flavors, imports, variables, and values are applied.
Click to show internal directories.
Click to hide internal directories.