load

package
v0.2.5 Latest Latest
Warning

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

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

Documentation

Overview

Package load for loading a given package

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClusterDefinition

func ClusterDefinition(ctx context.Context, configPath string, _ ClusterOptions) (v1alpha1.ZarfCluster, error)

ClusterDefinition loads a package from the filesystem

func DistroDefinition

func DistroDefinition(ctx context.Context, distroPath string, _ DefinitionOptions) (v1alpha1.ZarfDistro, error)

DistroDefinition returns a ZarfDistro object

Types

type ClusterOptions

type ClusterOptions struct{}

ClusterOptions optional args that will be passed in for loading a distro package

type DefinitionOptions

type DefinitionOptions struct {
	CachePath string
	types.RemoteOptions
}

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