package pvcprotection
import "k8s.io/kubernetes/pkg/controller/volume/pvcprotection"
Index ¶
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller is controller that removes PVCProtectionFinalizer from PVCs that are used by no pods.
func NewPVCProtectionController ¶
func NewPVCProtectionController(pvcInformer coreinformers.PersistentVolumeClaimInformer, podInformer coreinformers.PodInformer, cl clientset.Interface) *Controller
NewPVCProtectionController returns a new *{VCProtectionController.
func (*Controller) Run ¶
func (c *Controller) Run(workers int, stopCh <-chan struct{})
Run runs the controller goroutines.
Source Files ¶
pvc_protection_controller.go
- Version
- v1.9.6
- Published
- Mar 20, 2018
- Platform
- js/wasm
- Imports
- 19 packages
- Last checked
- 12 seconds ago –
Tools for package owners.