ignore

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2024 License: Apache-2.0 Imports: 1 Imported by: 1

Documentation

Index

Constants

View Source
const (
	// AnnotationKeyPrefix is the prefix for annotations for kube-linter check ignores.
	AnnotationKeyPrefix = "ignore-check.kube-linter.io/"

	// AllAnnotationKey is used to ignore all checks for a given object.
	AllAnnotationKey = "kube-linter.io/ignore-all"
)

Variables

This section is empty.

Functions

func ObjectForCheck

func ObjectForCheck(annotations map[string]string, checkName string) bool

ObjectForCheck returns whether to ignore the given object for the passed check name.

Types

This section is empty.

Jump to

Keyboard shortcuts

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