Documentation
¶
Index ¶
- func Manifests(oldIndex, newIndex map[string]*manifest.MappingResult, options *Options, ...) bool
- func ManifestsOwnership(oldIndex, newIndex map[string]*manifest.MappingResult, ...) bool
- func Releases(oldIndex, newIndex map[string]*manifest.MappingResult, options *Options, ...) bool
- type ChangeStyle
- type Options
- type OwnershipDiff
- type Report
- type ReportEntry
- type ReportFormat
- type ReportTemplateSpec
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Manifests ¶
func Manifests(oldIndex, newIndex map[string]*manifest.MappingResult, options *Options, to io.Writer) bool
Manifests diff on manifests
func ManifestsOwnership ¶ added in v3.11.0
func ManifestsOwnership(oldIndex, newIndex map[string]*manifest.MappingResult, newOwnedReleases map[string]OwnershipDiff, options *Options, to io.Writer) bool
Types ¶
type ChangeStyle ¶
type ChangeStyle struct {
// contains filtered or unexported fields
}
ChangeStyle for styling the report
type Options ¶ added in v3.4.0
type Options struct {
OutputFormat string
OutputContext int
StripTrailingCR bool
ShowSecrets bool
ShowSecretsDecoded bool
SuppressedKinds []string
FindRenames float32
SuppressedOutputLineRegex []string
}
Options are all the options to be passed to generate a diff
type OwnershipDiff ¶ added in v3.11.0
type Report ¶
type Report struct {
Entries []ReportEntry
// contains filtered or unexported fields
}
Report to store report data and format
func ManifestReport ¶ added in v3.13.1
type ReportEntry ¶
type ReportEntry struct {
Key string
SuppressedKinds []string
Kind string
Context int
Diffs []difflib.DiffRecord
ChangeType string
}
ReportEntry to store changes between releases
type ReportFormat ¶
type ReportFormat struct {
// contains filtered or unexported fields
}
ReportFormat to the context to make a changes report
Click to show internal directories.
Click to hide internal directories.