diff

package
v3.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2022 License: Apache-2.0 Imports: 20 Imported by: 0

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

type Options struct {
	OutputFormat    string
	OutputContext   int
	StripTrailingCR bool
	ShowSecrets     bool
	SuppressedKinds []string
	FindRenames     float32
}

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