Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for expectedAnnotations (0.18 sec)

  1. pkg/kubelet/cm/util/cdi/cdi_test.go

    		description         string
    		deviceIDs           []string
    		expecteError        error
    		expectedAnnotations []container.Annotation
    	}{
    		{
    			description: "no devices",
    			deviceIDs:   []string{},
    		},
    		{
    			description:         "one device",
    			deviceIDs:           []string{"vendor.com/class=device1"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 11 09:47:53 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  2. pkg/controller/volume/expand/expand_controller_test.go

    			t.Fatalf("for: %s; expected expansionCalled to be %v but was %v", test.name, test.expansionCalled, expansionCalled)
    		}
    
    		if len(test.expectedAnnotation) != 0 && !reflect.DeepEqual(test.expectedAnnotation, pvc.Annotations) {
    			t.Fatalf("for: %s; expected %v annotations, got %v", test.name, test.expectedAnnotation, pvc.Annotations)
    		}
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 11:00:37 UTC 2024
    - 7.9K bytes
    - Viewed (0)
Back to top