kubernetes: k8s.io/kubernetes/pkg/apis/storage/util Index | Files

package util

import "k8s.io/kubernetes/pkg/apis/storage/util"

Index

Package Files

helpers.go util.go

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

func DropDisabledFields Uses

func DropDisabledFields(class, oldClass *storage.StorageClass)

DropDisabledFields removes disabled fields from the StorageClass object.

func IsDefaultAnnotation Uses

func IsDefaultAnnotation(obj metav1.ObjectMeta) bool

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

func IsDefaultAnnotationText Uses

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

Package util imports 4 packages (graph) and is imported by 67 packages. Updated 2019-05-25. Refresh now. Tools for package owners.