Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for parseBody (0.39 sec)

  1. pkg/controller/volume/pvcprotection/pvc_protection_controller.go

    		// where it is blocking deletion of a PVC not referenced by Y, otherwise
    		// such PVC will never be deleted.
    		if oldPod := c.parsePod(old); oldPod != nil && oldPod.UID != pod.UID {
    			c.enqueuePVCs(logger, oldPod, true)
    		}
    	}
    }
    
    func (*Controller) parsePod(obj interface{}) *v1.Pod {
    	if obj == nil {
    		return nil
    	}
    	pod, ok := obj.(*v1.Pod)
    	if !ok {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 14K bytes
    - Viewed (0)
Back to top