Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for PodUsageFunc (0.14 sec)

  1. pkg/quota/v1/evaluator/core/pods.go

    		return usesCrossNamespacePodAffinity(pod), nil
    	}
    	return false, nil
    }
    
    // PodUsageFunc returns the quota usage for a pod.
    // A pod is charged for quota if the following are not true.
    //   - pod has a terminal phase (failed or succeeded)
    //   - pod has been marked for deletion and grace period has expired
    func PodUsageFunc(obj runtime.Object, clock clock.Clock) (corev1.ResourceList, error) {
    	pod, err := toExternalPodOrError(obj)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 05 00:02:47 UTC 2023
    - 17.4K bytes
    - Viewed (0)
Back to top