driftdetect

package
v0.11.2 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2024 License: Apache-2.0 Imports: 8 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,
	desiredset *desiredset.Client,
	defaultNamespace string,
	labelPrefix string,
	labelSuffix string,
	driftChan chan event.GenericEvent,
) *DriftDetect

func (*DriftDetect) Clear

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

func (*DriftDetect) Refresh

func (d *DriftDetect) Refresh(ctx context.Context, 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