Documentation
¶
Index ¶
- func Manifests(oldIndex, newIndex map[string]*manifest.MappingResult, options *Options, ...) bool
- func Releases(oldIndex, newIndex map[string]*manifest.MappingResult, options *Options, ...) bool
- type ChangeStyle
- type Options
- type ParsedDiff
- type ParsedEntry
- type ParsedReport
- type Report
- type ReportEntry
- type ReportFormat
- type ReportTemplateSpec
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ChangeStyle ¶
type ChangeStyle struct {
// contains filtered or unexported fields
}
ChangeStyle for styling the report
type Options ¶
type Options struct { OutputFormat string OutputContext int StripTrailingCR bool ShowSecrets bool SuppressedKinds []string FindRenames float32 SuppressedOutputLineRegex []string }
Options are all the options to be passed to generate a diff
type ParsedDiff ¶ added in v3.0.2
ParsedDiff represents a single diff in a parsed entry
type ParsedEntry ¶ added in v3.0.2
type ParsedEntry struct { Key string `json:"key"` ReleaseName string `json:"releaseName"` Kind string `json:"kind"` Context int `json:"context"` Diffs []ParsedDiff `json:"diffs"` ChangeType string `json:"changeType"` }
ParsedEntry represents a single entry in the parsed report
type ParsedReport ¶ added in v3.0.2
type ParsedReport struct {
Entries []ParsedEntry `json:"entries"`
}
ParsedReport represents the parsed and organized report
func ManifestsDiffWithReport ¶
func ManifestsDiffWithReport(oldIndex, newIndex map[string]*manifest.MappingResult, options *Options, to io.Writer) ParsedReport
ManifestsDiffWithReport diff on manifests
type Report ¶
type Report struct {
// contains filtered or unexported fields
}
Report to store report data and format
type ReportEntry ¶
type ReportEntry struct {
// contains filtered or unexported fields
}
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.