diff

package
v3.9.13 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 18, 2024 License: Apache-2.0 Imports: 22 Imported by: 4

Documentation

Index

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 Releases

func Releases(oldIndex, newIndex map[string]*manifest.MappingResult, options *Options, to io.Writer) bool

Releases reindex the content based on the template names and pass it to Manifests

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
	SuppressedKinds           []string
	FindRenames               float32
	SuppressedOutputLineRegex []string
}

Options are all the options to be passed to generate a diff

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

type ReportTemplateSpec

type ReportTemplateSpec struct {
	Namespace string
	Name      string
	Kind      string
	API       string
	Change    string
}

ReportTemplateSpec for common template spec

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL