- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 80 for claimrefns (0.17 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/api/v1/persistentvolume/util.go
limitations under the License. */ package persistentvolume import ( corev1 "k8s.io/api/core/v1" ) func getClaimRefNamespace(pv *corev1.PersistentVolume) string { if pv.Spec.ClaimRef != nil { return pv.Spec.ClaimRef.Namespace } return "" } // Visitor is called with each object's namespace and name, and returns true if visiting should continue
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 05 03:36:23 UTC 2022 - 5.5K 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/index.go
} func claimToClaimKey(claim *v1.PersistentVolumeClaim) string { return fmt.Sprintf("%s/%s", claim.Namespace, claim.Name) } func claimrefToClaimKey(claimref *v1.ObjectReference) string { return fmt.Sprintf("%s/%s", claimref.Namespace, claimref.Name)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jul 26 17:14:05 UTC 2022 - 6.5K 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)