Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Ruleset ¶
type Ruleset interface { ID() string Name() string Version() string Run(ctx context.Context) (RulesetResult, error) RunRule(ctx context.Context, id string) (rule.RuleResult, error) }
Ruleset is a set of Rules.
type RulesetResult ¶
type RulesetResult struct { RulesetID string RulesetName string RulesetVersion string RuleResults []rule.RuleResult }
RulesetResult contains the results of Rule runs belonging to the same Ruleset.
Click to show internal directories.
Click to hide internal directories.