dyff

package
v0.23.0 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DiffYAML

func DiffYAML(liveFile, mergedFile string, output io.Writer) error

func InstanceDryRunDiff

func InstanceDryRunDiff(ctx context.Context,
	rm *ssa.ResourceManager,
	objects []*unstructured.Unstructured,
	staleObjects []*unstructured.Unstructured,
	nsExists bool,
	tmpDir string,
	withDiff bool,
	w io.Writer) error

Types

type DyffPrinter

type DyffPrinter struct {
	OmitHeader bool
}

DyffPrinter is a printer that prints dyff reports.

func NewDyffPrinter

func NewDyffPrinter() *DyffPrinter

NewDyffPrinter returns a new DyffPrinter.

func (*DyffPrinter) Print

func (p *DyffPrinter) Print(w io.Writer, args ...interface{}) error

Print prints the given args to the given writer.

Jump to

Keyboard shortcuts

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