annotations

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// MHCPausedAnnotation is an annotation that can be applied to MachineHealthCheck objects to prevent the MHC
	// controller from processing it.
	MHCPausedAnnotation = "cluster.x-k8s.io/paused"
	// TemplateNameAnnotation is an annotation that will be placed on the CRs of remediatiors who support multiple templates of the same remediator.
	// This is done because when checking for timeout CRs we need to know whether a CR was already created or not by that template.
	TemplateNameAnnotation = "remediation.medik8s.io/template-name"
)

Variables

This section is empty.

Functions

func HasMHCPausedAnnotation

func HasMHCPausedAnnotation(o metav1.Object) bool

func HasMultipleTemplatesAnnotation

func HasMultipleTemplatesAnnotation(o metav1.Object) bool

HasMultipleTemplatesAnnotation returns true if the object has the medik8s `multiple-templates-support` annotation.

Types

This section is empty.

Jump to

Keyboard shortcuts

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