Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 115 for pvs2 (0.05 sec)

  1. pkg/scheduler/framework/plugins/volumebinding/binder.go

    	b.csiDriverLister = capacityCheck.CSIDriverInformer.Lister()
    	b.csiStorageCapacityLister = capacityCheck.CSIStorageCapacityInformer.Lister()
    
    	return b
    }
    
    // FindPodVolumes finds the matching PVs for PVCs and nodes to provision PVs
    // for the given pod and node. If the node does not fit, conflict reasons are
    // returned.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 14:55:34 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_sql_databases/test_sql_databases_py39.py

    
    @needs_py39
    # TODO: pv2 add version with Pydantic v2
    @needs_pydanticv1
    def test_get_user(client):
        response = client.get("/users/1")
        assert response.status_code == 200, response.text
        data = response.json()
        assert "email" in data
        assert "id" in data
    
    
    @needs_py39
    # TODO: pv2 add version with Pydantic v2
    @needs_pydanticv1
    def test_nonexistent_user(client):
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Wed Mar 13 19:07:10 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_sql_databases/test_sql_databases_middleware.py

        assert response.status_code == 400, response.text
    
    
    # TODO: pv2 add version with Pydantic v2
    @needs_pydanticv1
    def test_get_user(client):
        response = client.get("/users/1")
        assert response.status_code == 200, response.text
        data = response.json()
        assert "email" in data
        assert "id" in data
    
    
    # TODO: pv2 add version with Pydantic v2
    @needs_pydanticv1
    def test_nonexistent_user(client):
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Wed Mar 13 19:07:10 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  4. plugin/pkg/auth/authorizer/node/node_authorizer_test.go

    		pvs = append(pvs, pv)
    
    		pod.Spec.Volumes = append(pod.Spec.Volumes, corev1.Volume{VolumeSource: corev1.VolumeSource{
    			PersistentVolumeClaim: &corev1.PersistentVolumeClaimVolumeSource{ClaimName: pv.Spec.ClaimRef.Name},
    		}})
    	}
    
    	return pod, pvs
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:22:55 UTC 2024
    - 40.5K bytes
    - Viewed (0)
  5. pkg/scheduler/framework/plugins/volumebinding/assume_cache.go

    		Spec: v1.PersistentVolumeSpec{
    			StorageClassName: storageClassName,
    		},
    	})
    	pvs := []*v1.PersistentVolume{}
    	for _, obj := range objs {
    		pv, ok := obj.(*v1.PersistentVolume)
    		if !ok {
    			c.logger.Error(&assumecache.WrongTypeError{TypeName: "v1.PersistentVolume", Object: obj}, "ListPVs")
    			continue
    		}
    		pvs = append(pvs, pv)
    	}
    	return pvs
    }
    
    // PVCAssumeCache is a AssumeCache for PersistentVolumeClaim objects
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 09:46:58 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  6. association.go

    					tx.Where(clause.Eq{Column: ref.ForeignKey.DBName, Value: ref.PrimaryValue})
    				}
    			}
    
    			if _, pvs := schema.GetIdentityFieldValuesMap(association.DB.Statement.Context, reflectValue, primaryFields); len(pvs) > 0 {
    				column, values := schema.ToQueryValues(rel.FieldSchema.Table, foreignKeys, pvs)
    				if association.Unscope {
    					association.Error = tx.Where(clause.IN{Column: column, Values: values}).Delete(modelValue).Error
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 10:49:45 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/asm/testdata/ppc64.s

    	XXLOR VS1, VS2, VS3             // f0611490
    	XXLORC VS1, VS2, VS3            // f0611550
    	XXLORQ VS1, VS2, VS3            // f0611490
    	XXLXOR VS1, VS2, VS3            // f06114d0
    	XXSEL VS1, VS2, VS3, VS4        // f08110f0
    	XXSEL VS33, VS34, VS35, VS36    // f08110ff
    	XXSEL V1, V2, V3, V4            // f08110ff
    	XXMRGHW VS1, VS2, VS3           // f0611090
    	XXMRGLW VS1, VS2, VS3           // f0611190
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 21:53:50 UTC 2024
    - 50.2K bytes
    - Viewed (0)
  8. pkg/volume/util/resize_util_test.go

    			Status:             v1.ConditionTrue,
    			LastTransitionTime: metav1.Now(),
    		},
    	}).get()
    	pvc1.SetResourceVersion("10")
    	pvc2 := pvc1.DeepCopy()
    	pvc2.Status.Capacity = v1.ResourceList{
    		v1.ResourceName("size"): resource.MustParse("10G"),
    	}
    	patchBytes, err := createPVCPatch(pvc1, pvc2, true /* addResourceVersionCheck */)
    	if err != nil {
    		t.Errorf("error creating patch bytes %v", err)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  9. pkg/scheduler/internal/cache/snapshot_test.go

    			pods: []*v1.Pod{
    				st.MakePod().Name("foo").Namespace("foo").Node("node-1").PVC("pvc1").Obj(),
    				st.MakePod().Name("bar").Namespace("bar").Node("node-2").PVC("pvc2").Obj(),
    			},
    			expected: sets.New("foo/pvc1", "bar/pvc2"),
    		},
    	}
    
    	for _, test := range tests {
    		t.Run(test.name, func(t *testing.T) {
    			usedPVCs := createUsedPVCSet(test.pods)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 05 08:00:25 UTC 2023
    - 12K bytes
    - Viewed (0)
  10. pkg/controller/volume/persistentvolume/delete_test.go

    			expectedClaims:  noclaims,
    			expectedEvents:  noevents,
    			errors:          noerrors,
    			test:            testSyncVolume,
    		},
    		{
    			// delete success - two PVs are provisioned for a single claim.
    			// One of the PVs is deleted.
    			name: "8-11 - two PVs provisioned for a single claim",
    			initialVolumes: []*v1.PersistentVolume{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 15.8K bytes
    - Viewed (0)
Back to top