kubernetes: k8s.io/kubernetes/pkg/controller/volume/pvprotection Index | Files

package pvprotection

import "k8s.io/kubernetes/pkg/controller/volume/pvprotection"


Package Files


type Controller Uses

type Controller struct {
    // contains filtered or unexported fields

Controller is controller that removes PVProtectionFinalizer from PVs that are not bound to PVCs.

func NewPVProtectionController Uses

func NewPVProtectionController(pvInformer coreinformers.PersistentVolumeInformer, cl clientset.Interface, storageObjectInUseProtectionFeatureEnabled bool) *Controller

NewPVProtectionController returns a new *Controller.

func (*Controller) Run Uses

func (c *Controller) Run(workers int, stopCh <-chan struct{})

Run runs the controller goroutines.

Package pvprotection imports 18 packages (graph) and is imported by 6 packages. Updated 2020-06-07. Refresh now. Tools for package owners.