Documentation ¶
Index ¶
- Variables
- type DistroExtractor
- func (r *DistroExtractor) GetImmutables(phase string) []string
- func (r *DistroExtractor) GetReducers(phase string) []rules.Rule
- func (r *DistroExtractor) ReducerRulesByDiffs(rls []rules.Rule, ds diff.Changelog) []rules.Rule
- func (r *DistroExtractor) UnsupportedReducerRulesByDiffs(rls []rules.Rule, ds diff.Changelog) []rules.Rule
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
Click to show internal directories.
Click to hide internal directories.