Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for GetWaitingPod (0.21 sec)

  1. pkg/scheduler/framework/runtime/framework_test.go

    			name: "Reject Waiting Pod",
    			action: func(f framework.Framework) {
    				f.GetWaitingPod(pod.UID).Reject(permitPlugin, "reject message")
    			},
    			want: framework.NewStatus(framework.Unschedulable, "reject message").WithPlugin(permitPlugin),
    		},
    		{
    			name: "Allow Waiting Pod",
    			action: func(f framework.Framework) {
    				f.GetWaitingPod(pod.UID).Allow(permitPlugin)
    			},
    			want: nil,
    		},
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 09:07:27 UTC 2024
    - 103K bytes
    - Viewed (0)
Back to top