rules

package
v0.29.1-kapp-rc.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 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) UnsafeReducerRulesByDiffs

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