validationruleresult

package
v0.1.12 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 3, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL