- Sort Score
- Result 10 results
- Languages All
Results 31 - 37 of 37 for PVName (0.1 sec)
-
pkg/controller/volume/persistentvolume/pv_controller.go
// yet. pvName := ctrl.getProvisionedVolumeNameForClaim(claim) volume, err := ctrl.kubeClient.CoreV1().PersistentVolumes().Get(ctx, pvName, metav1.GetOptions{}) if err != nil && !apierrors.IsNotFound(err) { logger.V(3).Info("Error reading persistent volume", "PV", klog.KRef("", pvName), "err", err) return pluginName, err } if err == nil && volume != nil {
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/persistentvolume/framework_test.go
accessModes := plugin.provisionOptions.PVC.Spec.AccessModes pv = &v1.PersistentVolume{ ObjectMeta: metav1.ObjectMeta{ Name: plugin.provisionOptions.PVName, }, Spec: v1.PersistentVolumeSpec{ Capacity: v1.ResourceList{ v1.ResourceName(v1.ResourceStorage): capacity, }, AccessModes: accessModes,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Nov 01 09:54:00 UTC 2023 - 38.3K bytes - Viewed (0) -
pkg/volume/testing/testing.go
return !plugin.NonAttachable, nil } func (plugin *FakeVolumePlugin) CanDeviceMount(spec *volume.Spec) (bool, error) { return true, nil } func (plugin *FakeVolumePlugin) Recycle(pvName string, spec *volume.Spec, eventRecorder recyclerclient.RecycleEventRecorder) error { return nil } func (plugin *FakeVolumePlugin) NewDeleter(logger klog.Logger, spec *volume.Spec) (volume.Deleter, error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 31 12:32:15 UTC 2024 - 53.3K bytes - Viewed (0) -
pkg/printers/internalversion/printers.go
row := metav1.TableRow{ Object: runtime.RawExtension{Object: obj}, } name := obj.Name pvName := "" if obj.Spec.Source.PersistentVolumeName != nil { pvName = *obj.Spec.Source.PersistentVolumeName } row.Cells = append(row.Cells, name, obj.Spec.Attacher, pvName, obj.Spec.NodeName, obj.Status.Attached, translateTimestampSince(obj.CreationTimestamp)) return []metav1.TableRow{row}, nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 11 14:04:15 UTC 2024 - 128.3K bytes - Viewed (0) -
pkg/scheduler/schedule_one_test.go
cs.CoreV1().PersistentVolumeClaims(pvc.Namespace).Create(ctx, &pvc, metav1.CreateOptions{}) if pvName := pvc.Spec.VolumeName; pvName != "" { pv := v1.PersistentVolume{ObjectMeta: metav1.ObjectMeta{Name: pvName}} cs.CoreV1().PersistentVolumes().Create(ctx, &pv, metav1.CreateOptions{}) } } snapshot := internalcache.NewSnapshot(test.pods, nodes)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:20:55 UTC 2024 - 128.1K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/volumebinding/binder_test.go
{ Name: pod.Name, UID: pod.UID, Controller: &controller, }, } } return pvc } func makeTestPVC(name, size, node string, pvcBoundState int, pvName, resourceVersion string, className *string) *v1.PersistentVolumeClaim { fs := v1.PersistentVolumeFilesystem pvc := &v1.PersistentVolumeClaim{ TypeMeta: metav1.TypeMeta{ Kind: "PersistentVolumeClaim",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 25 09:46:58 UTC 2024 - 82.8K bytes - Viewed (0) -
pkg/apis/core/validation/validation.go
} func validateISCSIPersistentVolumeSource(iscsi *core.ISCSIPersistentVolumeSource, pvName string, fldPath *field.Path) field.ErrorList { allErrs := field.ErrorList{} if len(iscsi.TargetPortal) == 0 { allErrs = append(allErrs, field.Required(fldPath.Child("targetPortal"), "")) } if iscsi.InitiatorName != nil && len(pvName+":"+iscsi.TargetPortal) > 64 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 349.5K bytes - Viewed (1)