requirements

package
v0.71.0 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package requirements validates that Zarf meets the version requirements defined by the package

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateVersionRequirements

func ValidateVersionRequirements(pkg v1alpha1.ZarfPackage) error

ValidateVersionRequirements checks if the config.CLIVersion meets the operational requirements.

Types

type VersionRequirementsError

type VersionRequirementsError struct {
	RequiredVersion string
	Requirements    []v1alpha1.VersionRequirement
	CurrentVersion  string
}

VersionRequirementsError is returned when operational requirements are not met

func (*VersionRequirementsError) Error

func (e *VersionRequirementsError) Error() string

Jump to

Keyboard shortcuts

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