Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for podsToReject (0.12 sec)

  1. pkg/kubelet/kubelet_test.go

    type testPodAdmitHandler struct {
    	// list of pods to reject.
    	podsToReject []*v1.Pod
    }
    
    // Admit rejects all pods in the podsToReject list with a matching UID.
    func (a *testPodAdmitHandler) Admit(attrs *lifecycle.PodAdmitAttributes) lifecycle.PodAdmitResult {
    	for _, podToReject := range a.podsToReject {
    		if podToReject.UID == attrs.Pod.UID {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 106.9K bytes
    - Viewed (0)
Back to top