Documentation
¶
Overview ¶
Package types contains structs used by to construct ValidationResults.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SinkType ¶
type SinkType string
SinkType is the type of sink to which a notification should be sent.
type ValidationResponse ¶
type ValidationResponse struct { ValidationRuleResults []*ValidationRuleResult ValidationRuleErrors []error }
ValidationResponse is the reconciliation output of one or more validation rules by a validator.
func (*ValidationResponse) AddResult ¶
func (v *ValidationResponse) AddResult(vrr *ValidationRuleResult, err error)
AddResult adds a ValidationRuleResult and associated error to a ValidationResponse.
type ValidationRuleResult ¶
type ValidationRuleResult struct { Condition *v1alpha1.ValidationCondition State *v1alpha1.ValidationState }
ValidationRuleResult is the result of the execution of a validation rule by a validator.
Click to show internal directories.
Click to hide internal directories.