type Controller …
func NewPVProtectionController(logger klog.Logger, pvInformer coreinformers.PersistentVolumeInformer, cl clientset.Interface) *Controller { … }
func (c *Controller) Run(ctx context.Context, workers int) { … }
func (c *Controller) runWorker(ctx context.Context) { … }
func (c *Controller) processNextWorkItem(ctx context.Context) bool { … }
func (c *Controller) processPV(ctx context.Context, pvName string) error { … }
func (c *Controller) addFinalizer(ctx context.Context, pv *v1.PersistentVolume) error { … }
func (c *Controller) removeFinalizer(ctx context.Context, pv *v1.PersistentVolume) error { … }
func (c *Controller) isBeingUsed(pv *v1.PersistentVolume) bool { … }
func (c *Controller) pvAddedUpdated(logger klog.Logger, obj interface{ … }