- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 283 for claimNames (0.2 sec)
-
pkg/kubelet/cm/dra/manager.go
// cases when this might happen, so we simply skip it. if claimName == nil { continue } claimNames = append(claimNames, *claimName) } return m.unprepareResources(pod.UID, pod.Namespace, claimNames) } func (m *ManagerImpl) unprepareResources(podUID types.UID, namespace string, claimNames []string) error { batches := make(map[string][]*drapb.Claim)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 03 13:23:29 UTC 2024 - 19.4K bytes - Viewed (0) -
pkg/apis/core/validation/validation.go
// make sense. if vol.PersistentVolumeClaim != nil && allCreatedPVCs.Has(vol.PersistentVolumeClaim.ClaimName) { allErrs = append(allErrs, field.Invalid(idxPath.Child("persistentVolumeClaim").Child("claimName"), vol.PersistentVolumeClaim.ClaimName, "must not reference a PVC that gets created for an ephemeral volume")) } } return vols, allErrs }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 349.5K bytes - Viewed (0) -
plugin/pkg/auth/authorizer/node/graph_populator.go
for i := range statusA { if statusA[i].Name != statusB[i].Name { return false } claimNameA := statusA[i].ResourceClaimName claimNameB := statusB[i].ResourceClaimName if (claimNameA == nil) != (claimNameB == nil) { return false } if claimNameA != nil && *claimNameA != *claimNameB { return false } } return true } func (g *graphPopulator) deletePod(obj interface{}) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 21:22:55 UTC 2024 - 6.5K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/dynamicresources/dynamicresources_test.go
) var ( podKind = v1.SchemeGroupVersion.WithKind("Pod") podName = "my-pod" podUID = "1234" resourceName = "my-resource" resourceName2 = resourceName + "-2" claimName = podName + "-" + resourceName claimName2 = podName + "-" + resourceName + "-2" className = "my-resource-class" namespace = "default" resourceClass = &resourcev1alpha2.ResourceClass{ ObjectMeta: metav1.ObjectMeta{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 27 07:57:10 UTC 2024 - 61.9K bytes - Viewed (0) -
plugin/pkg/admission/noderestriction/admission.go
for i := range statusA { if statusA[i].Name != statusB[i].Name { return false } claimNameA := statusA[i].ResourceClaimName claimNameB := statusB[i].ResourceClaimName if (claimNameA == nil) != (claimNameB == nil) { return false } if claimNameA != nil && *claimNameA != *claimNameB { return false } } return true }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 21:22:55 UTC 2024 - 23.6K bytes - Viewed (0) -
pkg/kubelet/cm/dra/claiminfo_test.go
ClaimName: claimName, Namespace: namespace, }, }, }, }, claimInfo: &ClaimInfo{ ClaimInfoState: state.ClaimInfoState{ ClaimName: claimName, Namespace: namespace, }, }, expectedResult: true, }, { description: "cache miss", claimInfoCache: &claimInfoCache{}, 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) -
pkg/kubelet/cm/dra/state/state_checkpoint_test.go
e-1","ClaimUID":"067798be-454e-4be4-9047-1aa06aea63f7","ClaimName":"example-1","Namespace":"default","PodUIDs":{"139cdb46-f989-4f17-9561-ca10cfb509a6":{}},"ResourceHandles":[{"driverName":"test-driver.cdi.k8s.io","data":"{\"a\": \"b\"}"}],"CDIDevices":{"test-driver.cdi.k8s.io":["example.com/example=cdi-example-1"]}},{"DriverName":"test-driver.cdi.k8s.io","ClassName":"class-name-2","ClaimUID":"4cf8db2d-06c0-7d70-1a51-e59b25b2c16c","ClaimName":"example-2","Namespace":"default","PodUIDs":{"139cdb46
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 21:22:13 UTC 2024 - 11.9K bytes - Viewed (0) -
pkg/controller/volume/common/common.go
for _, podVolume := range pod.Spec.Volumes { claimName := "" if pvcSource := podVolume.VolumeSource.PersistentVolumeClaim; pvcSource != nil { claimName = pvcSource.ClaimName } else if podVolume.VolumeSource.Ephemeral != nil { claimName = ephemeral.VolumeClaimName(pod, &podVolume) } if claimName != "" { keys = append(keys, fmt.Sprintf("%s/%s", pod.Namespace, claimName)) } } return keys, nil } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 11 18:54:20 UTC 2021 - 2.2K bytes - Viewed (0) -
pkg/kubelet/cm/dra/manager_test.go
kubeClient: fakeKubeClient, cache: cache, } claimName := "test-claim" podUID := "test-pod-uid" namespace := "test-namespace" claimInfo := &ClaimInfo{ ClaimInfoState: state.ClaimInfoState{PodUIDs: sets.New(podUID), ClaimName: claimName, Namespace: namespace}, } manager.cache.add(claimInfo) if !manager.cache.contains(claimName, namespace) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 03 13:30:29 UTC 2024 - 42K bytes - Viewed (0) -
pkg/kubelet/cm/dra/claiminfo.go
info, exists := cache.claimInfo[namespace+"/"+claimName] return info, exists } // delete deletes a specific claim info object from the cache. func (cache *claimInfoCache) delete(claimName, namespace string) { delete(cache.claimInfo, namespace+"/"+claimName) } // hasPodReference checks if there is at least one claim
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 03 13:30:31 UTC 2024 - 7.9K bytes - Viewed (0)