rules

package
v0.27.0-rc.2 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrReadingRulesFile = errors.New("error while reading rules file")

Functions

This section is empty.

Types

type DistroExtractor

type DistroExtractor struct {
	*rules.BaseExtractor
	Spec rules.Spec
}

func NewDistroClusterRulesExtractor

func NewDistroClusterRulesExtractor(distributionPath string) (*DistroExtractor, error)

func (*DistroExtractor) GetImmutables

func (r *DistroExtractor) GetImmutables(phase string) []string

func (*DistroExtractor) GetReducers

func (r *DistroExtractor) GetReducers(phase string) []rules.Rule

func (*DistroExtractor) ReducerRulesByDiffs

func (r *DistroExtractor) ReducerRulesByDiffs(rls []rules.Rule, ds diff.Changelog) []rules.Rule

func (*DistroExtractor) UnsupportedReducerRulesByDiffs

func (r *DistroExtractor) UnsupportedReducerRulesByDiffs(rls []rules.Rule, ds diff.Changelog) []rules.Rule

Jump to

Keyboard shortcuts

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