Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Rule ¶
type Rule struct { Id string Title string Description string Run func(ctx types.Context, input types.KV) (types.KV, error) }
func (Rule) TYPE ¶ added in v0.30.1
func (r Rule) TYPE() types.RulesetType
type Ruleset ¶
type Ruleset []Rule
func (Ruleset) ProcessRule ¶
ProcessRule processes a specific rule within the Ruleset based on the provided context and input. It returns the result of the rule execution or an error if the execution fails or times out.
Click to show internal directories.
Click to hide internal directories.