parser

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2026 License: Apache-2.0 Imports: 17 Imported by: 2

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 MissingProviderError added in v0.9.0

type MissingProviderError struct {
	Provider string
}

MissingProviderError indicates a rule requires a provider that is not available

func (MissingProviderError) Error added in v0.9.0

func (e MissingProviderError) Error() string

type RuleParser

type RuleParser struct {
	ProviderNameToClient map[string]provider.InternalProviderClient
	Log                  logr.Logger
	NoDependencyRules    bool
	DepLabelSelector     *labels.LabelSelector[*provider.Dep]
}

func (*RuleParser) LoadRule

func (*RuleParser) LoadRules

This will load the rules from the filestytem, using the provided provider clients

Jump to

Keyboard shortcuts

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