util

package
v1.30.0 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2024 License: Apache-2.0 Imports: 1 Imported by: 54

Documentation

Index

Constants

View Source
const AlphaIsDefaultVolumeAttributesClassAnnotation = "volumeattributesclass.alpha.kubernetes.io/is-default-class"

AlphaIsDefaultVolumeAttributesClassAnnotation is the alpha version of IsDefaultVolumeAttributesClassAnnotation.

View Source
const BetaIsDefaultStorageClassAnnotation = "storageclass.beta.kubernetes.io/is-default-class"

BetaIsDefaultStorageClassAnnotation is the beta version of IsDefaultStorageClassAnnotation. TODO: remove Beta when no longer used

View Source
const IsDefaultStorageClassAnnotation = "storageclass.kubernetes.io/is-default-class"

IsDefaultStorageClassAnnotation represents a StorageClass annotation that marks a class as the default StorageClass

Variables

This section is empty.

Functions

func IsDefaultAnnotation

func IsDefaultAnnotation(obj metav1.ObjectMeta) bool

IsDefaultAnnotation returns a boolean if the annotation is set TODO: remove Beta when no longer needed

func IsDefaultAnnotationForVolumeAttributesClass added in v1.29.0

func IsDefaultAnnotationForVolumeAttributesClass(obj metav1.ObjectMeta) bool

IsDefaultAnnotationForVolumeAttributesClass returns a boolean if the annotation is set

Types

This section is empty.

Jump to

Keyboard shortcuts

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