const IsDefaultStorageClassAnnotation … const BetaIsDefaultStorageClassAnnotation … // GetDefaultClass returns the default StorageClass from the store, or nil. func GetDefaultClass(lister storagev1listers.StorageClassLister) (*storagev1.StorageClass, error) { … } // 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 { … }