- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 69 for claimrefns (0.24 sec)
-
pkg/api/v1/persistentvolume/util_test.go
"claimrefns/Spec.PersistentVolumeSource.FlexVolume.SecretRef", "flexns/Spec.PersistentVolumeSource.FlexVolume.SecretRef", "claimrefns/Spec.PersistentVolumeSource.RBD.SecretRef", "rbdns/Spec.PersistentVolumeSource.RBD.SecretRef", "claimrefns/Spec.PersistentVolumeSource.ScaleIO.SecretRef", "scaleions/Spec.PersistentVolumeSource.ScaleIO.SecretRef",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Sep 25 11:04:08 UTC 2023 - 14.5K bytes - Viewed (0) -
pkg/kubelet/container/helpers_test.go
var innerEventRecorder = &innerEventRecorder{ recorder: nil, } _, actual := innerEventRecorder.shouldRecordEvent(nil) assert.Equal(t, false, actual) var obj = &v1.ObjectReference{Namespace: "claimrefns", Name: "claimrefname"} _, actual = innerEventRecorder.shouldRecordEvent(obj) assert.Equal(t, true, actual)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 22 01:55:46 UTC 2024 - 24.5K bytes - Viewed (0) -
pkg/controller/statefulset/stateful_set_utils_test.go
} set.Spec.Replicas = &tc.replicas claimRefs := claim.GetOwnerReferences() if setPodRef { claimRefs = addControllerRef(claimRefs, &pod, podKind) } if setSetRef { claimRefs = addControllerRef(claimRefs, &set, controllerKind) } if useOtherRefs { claimRefs = append( claimRefs, metav1.OwnerReference{ Name: "rand1",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 05 19:06:41 UTC 2024 - 50.9K bytes - Viewed (0) -
pkg/controller/volume/persistentvolume/index_test.go
pv8.Spec.ClaimRef = nil pvBadSize.Spec.ClaimRef = claimRef volume, _ = index.findBestMatchForClaim(claim, false) if volume.Name != pv1.Name { t.Errorf("Expected %s but got volume %s instead", pv1.Name, volume.Name) } // pretend the volume without the right access mode is pre-bound to the claim. should get the exact match. pvBadSize.Spec.ClaimRef = nil pvBadMode.Spec.ClaimRef = claimRef
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Aug 21 13:31:28 UTC 2023 - 44K bytes - Viewed (0) -
pkg/controller/volume/persistentvolume/pv_controller.go
if claim.UID != volume.Spec.ClaimRef.UID { logger.V(4).Info("Synchronizing PersistentVolume, claim has a newer UID than pv.ClaimRef, the old one must have been deleted", "PVC", klog.KRef(volume.Spec.ClaimRef.Namespace, volume.Spec.ClaimRef.Name), "volumeName", volume.Name) claim = nil } else {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 08:42:31 UTC 2024 - 89.2K bytes - Viewed (0) -
pkg/controller/volume/attachdetach/util/util_test.go
Partition: 0, ReadOnly: false, }, }, ClaimRef: &migratedObjectReference, }, }, { ObjectMeta: metav1.ObjectMeta{Name: nonMigratedVolume}, Spec: v1.PersistentVolumeSpec{ PersistentVolumeSource: v1.PersistentVolumeSource{ ScaleIO: &v1.ScaleIOPersistentVolumeSource{}, }, ClaimRef: &nonMigratedObjectReference, }, }, }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Sep 12 05:42:38 UTC 2023 - 10.4K bytes - Viewed (0) -
pkg/controller/volume/attachdetach/util/util.go
} if pv.Spec.ClaimRef == nil { return nil, fmt.Errorf( "found PV object %q but it has a nil pv.Spec.ClaimRef indicating it is not yet bound to the claim", name) } if pv.Spec.ClaimRef.UID != expectedClaimUID { return nil, fmt.Errorf( "found PV object %q but its pv.Spec.ClaimRef.UID (%q) does not point to claim.UID (%q)", name, pv.Spec.ClaimRef.UID,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 10:42:15 UTC 2024 - 12K bytes - Viewed (0) -
pkg/controller/volume/persistentvolume/pv_controller_base.go
boundByController := metav1.HasAnnotation(volume.ObjectMeta, storagehelpers.AnnBoundByController) claimName := "" if volume.Spec.ClaimRef != nil { claimName = fmt.Sprintf("%s/%s (uid: %s)", volume.Spec.ClaimRef.Namespace, volume.Spec.ClaimRef.Name, volume.Spec.ClaimRef.UID) } return fmt.Sprintf("phase: %s, bound to: %q, boundByController: %v", volume.Status.Phase, claimName, boundByController) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 08:42:31 UTC 2024 - 29.5K bytes - Viewed (0) -
staging/src/k8s.io/client-go/applyconfigurations/core/v1/persistentvolumespec.go
PersistentVolumeSourceApplyConfiguration `json:",inline"` AccessModes []v1.PersistentVolumeAccessMode `json:"accessModes,omitempty"` ClaimRef *ObjectReferenceApplyConfiguration `json:"claimRef,omitempty"` PersistentVolumeReclaimPolicy *v1.PersistentVolumeReclaimPolicy `json:"persistentVolumeReclaimPolicy,omitempty"`
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 31 03:26:35 UTC 2023 - 16.6K bytes - Viewed (0) -
pkg/controller/volume/expand/expand_controller_test.go
Spec: v1.PersistentVolumeSpec{ PersistentVolumeSource: v1.PersistentVolumeSource{}, ClaimRef: &v1.ObjectReference{ Namespace: "default", }, Capacity: map[v1.ResourceName]resource.Quantity{ v1.ResourceStorage: resource.MustParse(size), }, }, } if pvcUID != "" { pv.Spec.ClaimRef.UID = pvcUID } if matched, _ := regexp.MatchString(`csi`, pluginName); matched {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 11:00:37 UTC 2024 - 7.9K bytes - Viewed (0)