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

package pvcprotection

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

Index

Package Files

pvc_protection_controller.go

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 bool) *Controller

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 18 packages (graph) and is imported by 6 packages. Updated 2019-09-15. Refresh now. Tools for package owners.