labels

package
v3.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// LabelPrefix is the string used at the beginning of KIC-specific labels.
	LabelPrefix = annotations.AnnotationPrefix

	// CredentialKey is the key used to indicate a Secret's credential type.
	CredentialKey = "/credential" //nolint:gosec

	// ValidateKey is the key used to indicate a Secret contains plugin configuration.
	ValidateKey = "/validate"

	// CredentialTypeLabel is the label used to indicate a Secret's credential type.
	CredentialTypeLabel = LabelPrefix + CredentialKey

	// ValidateLabel is applied to plugins used for plugin configuration to allow the admission webhook to check
	// updates to them.
	ValidateLabel = LabelPrefix + ValidateKey
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ValidateType added in v3.2.0

type ValidateType string

ValidateType indicates the type of validation applied to a Secret.

const (
	// PluginValidate indicates a labeled Secret's contents require plugin configuration validation.
	PluginValidate ValidateType = "plugin"
)

Jump to

Keyboard shortcuts

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