Documentation ¶
Overview ¶
Package lint contains functions for verifying zarf yaml files are valid
Package lint contains functions for verifying zarf yaml files are valid
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ZarfSchema embed.FS
ZarfSchema is exported so main.go can embed the schema file
Functions ¶
This section is empty.
Types ¶
type Validator ¶
type Validator struct {
// contains filtered or unexported fields
}
Validator holds the warnings/errors and messaging that we get from validation
func Validate ¶ added in v0.32.0
Validate validates a zarf file against the zarf schema, returns *validator with warnings or errors if they exist along with an error if the validation itself failed
func (Validator) DisplayFormattedMessage ¶
func (v Validator) DisplayFormattedMessage()
DisplayFormattedMessage message sent to user based on validator results
Click to show internal directories.
Click to hide internal directories.