Documentation

Index

Constants

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

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


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 IsDefaultAnnotationText

func IsDefaultAnnotationText(obj metav1.ObjectMeta) string

IsDefaultAnnotationText returns a pretty Yes/No String if the annotation is set TODO: remove Beta when no longer needed

Types

This section is empty.

Source Files