pkgcfg

package
v0.75.1-rc1 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package pkgcfg loads and applies schema migrations to zarf.yaml files.

Index

Constants

View Source
const (
	ScriptsToActionsMigrated = "scripts-to-actions"
	PluralizeSetVariable     = "pluralize-set-variable"
)

List of migrations tracked in the zarf.yaml build data.

Variables

This section is empty.

Functions

func Parse

func Parse(ctx context.Context, b []byte) (v1alpha1.ZarfPackage, error)

Parse parses a single Zarf package definition at any supported API version

func ParseMultiDoc added in v0.75.1

func ParseMultiDoc(ctx context.Context, b []byte) (v1alpha1.ZarfPackage, error)

ParseMultiDoc parses a multi doc zarf.yaml file, generally from an already built package. Multi doc definitions may contain one document per apiVersion.

Types

This section is empty.

Jump to

Keyboard shortcuts

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