Versions in this module Expand all Collapse all v0 v0.13.0 Dec 9, 2024 Changes in this version + const RulesetID + type CreateOption func(*Ruleset) + func WithConfig(config *rest.Config) CreateOption + func WithLogger(logger *slog.Logger) CreateOption + func WithNumberOfWorkers(numWorkers int) CreateOption + func WithVersion(version string) CreateOption + type Ruleset struct + Config *rest.Config + func FromGenericConfig(rulesetConfig config.RulesetConfig, managedConfig *rest.Config) (*Ruleset, error) + func New(options ...CreateOption) (*Ruleset, error) + func (r *Ruleset) AddRules(rules ...rule.Rule) error + func (r *Ruleset) ID() string + func (r *Ruleset) Logger() *slog.Logger + func (r *Ruleset) Name() string + func (r *Ruleset) Run(ctx context.Context) (ruleset.RulesetResult, error) + func (r *Ruleset) RunRule(ctx context.Context, id string) (rule.RuleResult, error) + func (r *Ruleset) Version() string