Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for expectedAnnotations (0.25 sec)

  1. plugin/pkg/admission/imagepolicy/admission_test.go

    		pod                 *api.Pod
    		verifierAnnotations map[string]string
    		expectedAnnotations map[string]string
    		wantErr             bool
    	}{
    		{
    			test: "Add valid response annotations",
    			pod:  goodPod("good"),
    			verifierAnnotations: map[string]string{
    				"foo-test": "true",
    				"bar-test": "false",
    			},
    			expectedAnnotations: map[string]string{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 02 06:05:06 UTC 2023
    - 32.9K bytes
    - Viewed (0)
  2. pkg/kubelet/images/image_manager_test.go

    		assert.Equal(t, "", image.Spec.RuntimeHandler, "image.Spec.RuntimeHandler not empty", "ImageID", image.ID)
    
    		expectedAnnotations := []Annotation{
    			{
    				Name:  "kubernetes.io/runtimehandler",
    				Value: "handler_name",
    			}}
    		assert.Equal(t, expectedAnnotations, image.Spec.Annotations, "image spec annotations")
    	})
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 19K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/reflect/annotations/impl/DefaultTypeAnnotationMetadataStoreTest.groovy

                    def expectedAnnotation = expectedAnnotations[category]
                    if (expectedAnnotation instanceof Class) {
                        assert actualAnnotation.annotationType() == expectedAnnotation
                    } else if (expectedAnnotation instanceof Closure) {
                        assert expectedAnnotation.call(actualAnnotation)
                    } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Feb 11 15:31:37 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  4. pkg/kubelet/cm/dra/claiminfo_test.go

    	for _, test := range []struct {
    		description         string
    		claimInfo           *ClaimInfo
    		devices             []string
    		expectedCDIDevices  map[string][]string
    		expectedAnnotations map[string][]kubecontainer.Annotation
    		wantErr             bool
    	}{
    		{
    			description: "successfully add one device",
    			claimInfo: &ClaimInfo{
    				ClaimInfoState: state.ClaimInfoState{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 03 13:30:31 UTC 2024
    - 21K bytes
    - Viewed (0)
Back to top