driftdetect

package
v0.10.0-rc.4 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DriftDetect

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

func New

func New(
	trigger *trigger.Trigger,
	upstreamClient client.Client,
	upstreamReader client.Reader,
	applied *applied.Applied,
	defaultNamespace string,
	labelPrefix string,
	labelSuffix string,
) *DriftDetect

func (*DriftDetect) Clear

func (d *DriftDetect) Clear(bdKey string) error

func (*DriftDetect) Refresh

func (d *DriftDetect) Refresh(logger logr.Logger, bdKey string, bd *fleet.BundleDeployment, resources *helmdeployer.Resources) error

Refresh triggers a sync of all resources of the provided bd which may have drifted from their desired state.

Jump to

Keyboard shortcuts

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