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