package
1.6.0-alpha.0
Repository: https://github.com/andrewsykim/kubernetes.git
Documentation: pkg.go.dev

# Functions

GetClaimStorageClass returns name of class that is requested by given claim.
GetStorageClassAnnotation returns the StorageClass value if the annotation is set, empty string if not TODO: remove Alpha and Beta when no longer used or needed.
GetVolumeStorageClass returns value of StorageClassAnnotation or empty string in case the annotation does not exist.
HasStorageClassAnnotation returns a boolean if the annotation is set TODO: remove Alpha and Beta when no longer used or needed.
IsDefaultAnnotation returns a boolean if the annotation is set TODO: remove Beta when no longer needed.
IsDefaultAnnotationText returns a pretty Yes/No String if the annotation is set TODO: remove Beta when no longer needed.

# Constants

AlphaStorageClassAnnotation represents the previous alpha storage class annotation.
No description provided by the author
BetaStorageClassAnnotation represents the beta/previous StorageClass annotation.
IsDefaultStorageClassAnnotation represents a StorageClass annotation that marks a class as the default StorageClassTODO: Update IsDefaultStorageClassannotation and remove Beta when no longer used.
StorageClassAnnotation represents the storage class associated with a resource.