- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for IsDefaultAnnotation (0.14 sec)
-
pkg/volume/util/storageclass.go
} return defaultClasses[0], nil } // IsDefaultAnnotation returns a boolean if the default storage class // annotation is set // TODO: remove Beta when no longer needed func IsDefaultAnnotation(obj metav1.ObjectMeta) bool { if obj.Annotations[IsDefaultStorageClassAnnotation] == "true" { return true }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 03 09:27:59 UTC 2023 - 2.7K bytes - Viewed (0) -
pkg/apis/storage/util/helpers.go
const AlphaIsDefaultVolumeAttributesClassAnnotation = "volumeattributesclass.alpha.kubernetes.io/is-default-class" // IsDefaultAnnotation returns a boolean if // the annotation is set // TODO: remove Beta when no longer needed func IsDefaultAnnotation(obj metav1.ObjectMeta) bool { if obj.Annotations[IsDefaultStorageClassAnnotation] == "true" { return true }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 31 03:18:56 UTC 2023 - 1.9K bytes - Viewed (0)