- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for pvcList (0.14 sec)
-
pkg/registry/core/persistentvolumeclaim/storage/storage.go
} } // defaultOnReadPvcList defaults a PersistentVolumeClaimList. func (r *REST) defaultOnReadPvcList(pvcList *api.PersistentVolumeClaimList) { if pvcList == nil { return } for i := range pvcList.Items { r.defaultOnReadPvc(&pvcList.Items[i]) } } // defaultOnReadPvc defaults a single PersistentVolumeClaim.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Nov 18 09:21:19 UTC 2022 - 5.8K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/volumezone/volume_zone_test.go
pvcList := make([]*v1.PersistentVolumeClaim, num, num) for i := 0; i < len(pvcList); i++ { pvcName := fmt.Sprintf("PVC_Stable_%d", i) pvName := fmt.Sprintf("Vol_Stable_%d", i) pvcList[i] = &v1.PersistentVolumeClaim{ ObjectMeta: metav1.ObjectMeta{Name: pvcName, Namespace: "default"}, Spec: v1.PersistentVolumeClaimSpec{VolumeName: pvName}, } } return pvcList }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Dec 14 05:17:04 UTC 2023 - 20K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/controller_test.go
t.Fatalf("got ports of %dst service, got:\n%#v\nwanted:\n%#v\n", i+1, svcList[i].Ports, exp.Ports) } if svcList[i].MeshExternal != exp.MeshExternal { t.Fatalf("i=%v, MeshExternal==%v, should be %v: externalName='%s'", i+1, exp.MeshExternal, svcList[i].MeshExternal, k8sSvcs[i].Spec.ExternalName) } if svcList[i].Resolution != exp.Resolution {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 85K bytes - Viewed (0) -
hack/testdata/multi-resource-svclist.json
Janet Kuo <******@****.***> 1444374739 -0700
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 12 03:56:15 UTC 2015 - 819 bytes - Viewed (0) -
hack/testdata/multi-resource-svclist-modify.json
Janet Kuo <******@****.***> 1444374739 -0700
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 12 03:56:15 UTC 2015 - 837 bytes - Viewed (0) -
pkg/scheduler/framework/plugins/volumebinding/assume_cache_test.go
) func verifyListPVs(t *testing.T, cache *PVAssumeCache, expectedPVs map[string]*v1.PersistentVolume, storageClassName string) { pvList := cache.ListPVs(storageClassName) if len(pvList) != len(expectedPVs) { t.Errorf("ListPVs() returned %v PVs, expected %v", len(pvList), len(expectedPVs)) } for _, pv := range pvList { expectedPV, ok := expectedPVs[pv.Name] if !ok { t.Errorf("ListPVs() returned unexpected PV %q", pv.Name) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 25 09:46:58 UTC 2024 - 12.8K bytes - Viewed (0) -
pilot/pkg/model/sidecar_test.go
// service svcList := make([]*Service, 0, vsNum) for i := 0; i < vsNum; i++ { svcList = append(svcList, &Service{ Attributes: ServiceAttributes{Namespace: "default"}, Hostname: host.Name("host-" + strconv.Itoa(i) + ".com"), }) } ps.ServiceIndex.public = svcList hosts := make([]string, 0) if matchAll { // default/*
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 07 09:38:49 UTC 2024 - 74.3K bytes - Viewed (0) -
pilot/pkg/model/push_context_test.go
services := scScope.Services() numSvc := 0 svcList := []string{} for _, service := range services { svcName := service.Attributes.Name svcNS := service.Attributes.Namespace if svcNS != ns && svcNS != rootNS { numSvc++ } svcList = append(svcList, fmt.Sprintf("%v.%v.cluster.local", svcName, svcNS)) } if sidecarScopeEnabled && numSvc > 0 {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Apr 21 17:42:54 UTC 2024 - 95.3K bytes - Viewed (0)