Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestPodSchedulingStrategy (0.17 sec)

  1. pkg/registry/resource/podschedulingcontext/strategy_test.go

    	ObjectMeta: metav1.ObjectMeta{
    		Name:      "valid-pod",
    		Namespace: "default",
    	},
    	Spec: resource.PodSchedulingContextSpec{
    		SelectedNode: "worker",
    	},
    }
    
    func TestPodSchedulingStrategy(t *testing.T) {
    	if !Strategy.NamespaceScoped() {
    		t.Errorf("PodSchedulingContext must be namespace scoped")
    	}
    	if Strategy.AllowCreateOnUpdate() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 09:18:08 UTC 2023
    - 2.5K bytes
    - Viewed (0)
Back to top