package pvprotection
import "k8s.io/kubernetes/pkg/controller/volume/pvprotection"
Index ¶
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller is controller that removes PVProtectionFinalizer from PVs that are not bound to PVCs.
func NewPVProtectionController ¶
func NewPVProtectionController(pvInformer coreinformers.PersistentVolumeInformer, cl clientset.Interface, storageObjectInUseProtectionFeatureEnabled bool) *Controller
NewPVProtectionController returns a new *Controller.
func (*Controller) Run ¶
func (c *Controller) Run(workers int, stopCh <-chan struct{})
Run runs the controller goroutines.
Source Files ¶
pv_protection_controller.go
- Version
- v1.13.5
- Published
- Mar 22, 2019
- Platform
- js/wasm
- Imports
- 16 packages
- Last checked
- 5 minutes ago –
Tools for package owners.