drift_detection

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DriftDetectionEnabled = "enabled"
	DriftDetectionWarn    = "warn"
)

Variables

View Source
var (
	ErrDriftDetectDisabled = errors.New("HelmRelease drift detection disabled")
	ErrDriftDetectWarn     = errors.New("HelmRelease drift detection warn not allowed")
)

Functions

func New

func New() *cobra.Command

Types

type HelmRelease

type HelmRelease struct {
	APIVersion string `yaml:"apiVersion"`
	Kind       string `yaml:"kind"`
	Spec       struct {
		DriftDetection struct {
			Mode string `yaml:"mode"`
		} `yaml:"driftDetection"`
	} `yaml:"spec"`
}

Jump to

Keyboard shortcuts

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