Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
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, storageObjectInUseProtectionFeatureEnabled bool) *Controller
NewPVCProtectionController returns a new instance of PVCProtectionController.
Click to show internal directories.
Click to hide internal directories.