Encapsulates all validation errors and warnings detected in a cluster definition.
Constructors
new(errors :
Array(
ValidationError) = [] of
ValidationError, warnings :
Array(
ValidationWarning) = [] of
ValidationWarning)
Initializes a ValidationResult container.
SourceInstance methods
Adds a new validation error to the result.
SourceAdds a new validation warning to the result.
Sourcevalid?
Returns true if no validation errors were encountered.
Source