Documentation ¶
Index ¶
Constants ¶
View Source
const (
RULE_SET_GOLDEN_FILE_NAME = "ruleset.yaml"
)
Variables ¶
This section is empty.
Functions ¶
func CreateSchema ¶ added in v0.4.0
func CreateSchema() (openapi3.ComponentsSchemas, error)
Types ¶
type RuleParser ¶
type RuleParser struct { ProviderNameToClient map[string]provider.InternalProviderClient Log logr.Logger NoDependencyRules bool DepLabelSelector *labels.LabelSelector[*provider.Dep] }
func (*RuleParser) LoadRule ¶
func (r *RuleParser) LoadRule(filepath string) ([]engine.Rule, map[string]provider.InternalProviderClient, error)
func (*RuleParser) LoadRules ¶
func (r *RuleParser) LoadRules(filepath string) ([]engine.RuleSet, map[string]provider.InternalProviderClient, error)
This will load the rules from the filestytem, using the provided provider clients
Click to show internal directories.
Click to hide internal directories.