configdiff

package
v1.9.1 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2024 License: MPL-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package configdiff provides a way to compare two config trees.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Diff

func Diff(w io.Writer, oldCfg, newCfg config.Encoder) error

Diff outputs (optionally) colorized diff between two machine configurations.

One of the resources might be nil.

func DiffToString

func DiffToString(oldCfg, newCfg config.Encoder) (string, error)

DiffToString returns a string representation of the diff between two machine configurations.

Types

This section is empty.

Jump to

Keyboard shortcuts

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