load

package
v0.59.0 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2025 License: Apache-2.0 Imports: 24 Imported by: 0

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

func PackageDefinition

func PackageDefinition(ctx context.Context, packagePath string, opts DefinitionOptions) (v1alpha1.ZarfPackage, error)

PackageDefinition returns a validated package definition after flavors, imports, and variables are applied.

Types

type DefinitionOptions

type DefinitionOptions struct {
	Flavor       string
	SetVariables map[string]string
	// CachePath is used to cache layers from skeleton package pulls
	CachePath string
}

DefinitionOptions are the optional parameters to load.PackageDefinition

Jump to

Keyboard shortcuts

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