Documentation
¶
Overview ¶
Package validationruleresult includes code to help work with ValidationRuleResults.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildDefault ¶
func BuildDefault(latestConditionMsg, validationType, validationRule, ruleName string) *types.ValidationRuleResult
BuildDefault builds a default ValidationResult for a given validation type.
The latest condition message param should be one that conveys that validation succeeded. The validation type param should be unique for each combination of plugin and rule (e.g. "aws-iam-role-policy").
One of the validation rule or rule name params must be provided. If validation rule is provided, it is used as the validation rule description of the condition. If it isn't, a description is generated based on the rule name and used instead.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.