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

package pvcprotection

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


Package Files


type Controller Uses

type Controller struct {
    // contains filtered or unexported fields

Controller is controller that removes PVCProtectionFinalizer from PVCs that are used by no pods.

func NewPVCProtectionController Uses

func NewPVCProtectionController(pvcInformer coreinformers.PersistentVolumeClaimInformer, podInformer coreinformers.PodInformer, cl clientset.Interface, storageObjectInUseProtectionFeatureEnabled, genericEphemeralVolumeFeatureEnabled bool) (*Controller, error)

NewPVCProtectionController returns a new instance of PVCProtectionController.

func (*Controller) Run Uses

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

Run runs the controller goroutines.

Package pvcprotection imports 19 packages (graph) and is imported by 7 packages. Updated 2020-09-06. Refresh now. Tools for package owners.