Documentation ¶
Index ¶
- type BaseChecker
- func (*BaseChecker) AssertImmutableViolations(diffs r3diff.Changelog, immutablePaths []string) []error
- func (*BaseChecker) AssertReducerUnsupportedViolations(diffs r3diff.Changelog, reducerRules []rules.Rule) []error
- func (*BaseChecker) DiffToString(diffs r3diff.Changelog) string
- func (*BaseChecker) FilterDiffFromPhase(changelog r3diff.Changelog, phasePath string) r3diff.Changelog
- func (v *BaseChecker) GenerateDiff() (r3diff.Changelog, error)
- type Checker
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseChecker ¶
func NewBaseChecker ¶
func NewBaseChecker(currentConfig, newConfig map[string]any) *BaseChecker
func (*BaseChecker) AssertImmutableViolations ¶
func (*BaseChecker) AssertImmutableViolations(diffs r3diff.Changelog, immutablePaths []string) []error
func (*BaseChecker) AssertReducerUnsupportedViolations ¶
func (*BaseChecker) DiffToString ¶
func (*BaseChecker) DiffToString(diffs r3diff.Changelog) string
func (*BaseChecker) FilterDiffFromPhase ¶
func (*BaseChecker) GenerateDiff ¶
func (v *BaseChecker) GenerateDiff() (r3diff.Changelog, error)
type Checker ¶
type Checker interface { AssertImmutableViolations(diffs r3diff.Changelog, immutablePaths []string) []error AssertReducerUnsupportedViolations(diffs r3diff.Changelog, reducerRules []rules.Rule) []error GenerateDiff() (r3diff.Changelog, error) DiffToString(diffs r3diff.Changelog) string FilterDiffFromPhase(changelog r3diff.Changelog, phasePath string) r3diff.Changelog }
Click to show internal directories.
Click to hide internal directories.