rules

package
v0.29.2-rc.0 Latest Latest
Warning

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

Go to latest
Published: May 9, 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 OnPremExtractor

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

func NewOnPremClusterRulesExtractor

func NewOnPremClusterRulesExtractor(distributionPath string) (*OnPremExtractor, error)

func (*OnPremExtractor) GetImmutables

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

func (*OnPremExtractor) GetReducers

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

func (*OnPremExtractor) ReducerRulesByDiffs

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

func (*OnPremExtractor) UnsafeReducerRulesByDiffs added in v0.27.2

func (r *OnPremExtractor) UnsafeReducerRulesByDiffs(rls []rules.Rule, ds diff.Changelog) []rules.Rule

func (*OnPremExtractor) UnsupportedReducerRulesByDiffs

func (r *OnPremExtractor) 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