diff

package
v0.36.1 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// MetadataKey is the label or annotation key used to disable the diffing
	// of an object.
	MetadataKey = helmv1.GroupVersion.Group + "/driftDetection"
	// MetadataDisabledValue is the value used to disable the diffing of an
	// object using MetadataKey.
	MetadataDisabledValue = "disabled"
)

Functions

This section is empty.

Types

type Differ

type Differ struct {
	// contains filtered or unexported fields
}

func NewDiffer

func NewDiffer(impersonator *client.Impersonator, controllerName string) *Differ

func (*Differ) Diff

func (d *Differ) Diff(ctx context.Context, rel *release.Release) (*ssa.ChangeSet, bool, error)

func (*Differ) Manager

func (d *Differ) Manager(ctx context.Context) (*ssa.ResourceManager, error)

Manager returns a new ssa.ResourceManager constructed using the client.Impersonator.

Jump to

Keyboard shortcuts

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