kubernetes/plugin/pkg/admission/storage/persistentvolume/resize/admission.go

const PluginName

// Register registers a plugin
func Register(plugins *admission.Plugins) {}

var _

var _

var _

type persistentVolumeClaimResize

func newPlugin() *persistentVolumeClaimResize {}

func (pvcr *persistentVolumeClaimResize) SetExternalKubeInformerFactory(f informers.SharedInformerFactory) {}

// ValidateInitialization ensures lister is set.
func (pvcr *persistentVolumeClaimResize) ValidateInitialization() error {}

func (pvcr *persistentVolumeClaimResize) Validate(ctx context.Context, a admission.Attributes, o admission.ObjectInterfaces) error {}

// Growing Persistent volumes is only allowed for PVCs for which their StorageClass
// explicitly allows it.
func (pvcr *persistentVolumeClaimResize) allowResize(pvc, oldPvc *api.PersistentVolumeClaim) bool {}