Documentation ¶
Overview ¶
Package validate provides Zarf package validation functions.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // IsLowercaseNumberHyphen is a regex for lowercase, numbers and hyphens. // https://regex101.com/r/FLdG9G/1 IsLowercaseNumberHyphen = regexp.MustCompile(`^[a-z0-9\-]+$`).MatchString // IsUppercaseNumberUnderscore is a regex for uppercase, numbers and underscores. // https://regex101.com/r/tfsEuZ/1 IsUppercaseNumberUnderscore = regexp.MustCompile(`^[A-Z0-9_]+$`).MatchString )
Functions ¶
func ImportPackage ¶ added in v0.23.0
func ImportPackage(composedComponent *types.ZarfComponent) error
ImportPackage validates the package trying to be imported.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.