- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 405 for volumeNames (0.33 sec)
-
pkg/controller/volume/persistentvolume/pv_controller_base.go
// clean any possible unfinished provision start timestamp from cache // Unit test [5-8] [5-9] ctrl.operationTimestamps.Delete(claimKey) volumeName := claim.Spec.VolumeName if volumeName == "" { logger.V(5).Info("deleteClaim: volume not bound", "PVC", klog.KObj(claim)) return } // sync the volume when its claim is deleted. Explicitly sync'ing the
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 08:42:31 UTC 2024 - 29.5K bytes - Viewed (0) -
pkg/controller/volume/attachdetach/util/util.go
} if pvc.Status.Phase != v1.ClaimBound || pvc.Spec.VolumeName == "" { return nil, fmt.Errorf( "PVC %s/%s has non-bound phase (%q) or empty pvc.Spec.VolumeName (%q)", namespace, name, pvc.Status.Phase, pvc.Spec.VolumeName) } return pvc, nil } // getPVSpecFromCache fetches the PV object with the given name from the shared
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 10:42:15 UTC 2024 - 12K bytes - Viewed (0) -
pkg/kubelet/volumemanager/reconciler/reconstruct_test.go
podName := util.GetUniquePodName(pod) volumeName, err := rcInstance.desiredStateOfWorld.AddPodToVolume( podName, pod, volumeSpec, volumeSpec.Name(), "" /* volumeGidValue */, nil /* SELinuxContext */) if err != nil { t.Fatalf("Error adding volume %s to dsow: %v", volumeSpec.Name(), err) } rcInstance.actualStateOfWorld.MarkVolumeAsAttached(logger, volumeName, volumeSpec, nodeName, "") } // Act
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 14.8K bytes - Viewed (0) -
pkg/kubelet/volumemanager/reconciler/reconciler_common.go
} } else { // Volume is not attached to node, kubelet attach is enabled, volume implements an attacher, // so attach it volumeToAttach := operationexecutor.VolumeToAttach{ VolumeName: volumeToMount.VolumeName, VolumeSpec: volumeToMount.VolumeSpec, NodeName: rc.nodeName, }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 21 10:23:12 UTC 2024 - 14.8K bytes - Viewed (0) -
pkg/volume/util/operationexecutor/operation_generator_test.go
AccessModes: []v1.PersistentVolumeAccessMode{v1.ReadWriteOnce}, Resources: v1.VolumeResourceRequirements{Requests: v1.ResourceList{v1.ResourceStorage: resource.MustParse(specSize)}}, VolumeName: volumeName, }, Status: v1.PersistentVolumeClaimStatus{ Phase: v1.ClaimBound, }, } if len(statusSize) > 0 { pvc.Status.Capacity = v1.ResourceList{v1.ResourceStorage: resource.MustParse(statusSize)}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 16.2K bytes - Viewed (0) -
src/cmd/go/internal/web/url_windows.go
// helpful error message for it. if filepath.VolumeName(host) != "" { return "", errors.New("file URL encodes volume in host field: too few slashes?") } return `\\` + host + path, nil } // If host is empty, path must contain an initial slash followed by a // drive letter and path. Remove the slash and verify that the path is valid. if vol := filepath.VolumeName(path[1:]); vol == "" || strings.HasPrefix(vol, `\\`) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 13:43:51 UTC 2019 - 1.5K bytes - Viewed (0) -
pkg/volume/flexvolume/detacher-defaults.go
) type detacherDefaults flexVolumeDetacher // Detach is part of the volume.Detacher interface. func (d *detacherDefaults) Detach(volumeName string, hostName types.NodeName) error { klog.Warning(logPrefix(d.plugin.flexVolumePlugin), "using default Detach for volume ", volumeName, ", host ", hostName) return nil } // WaitForDetach is part of the volume.Detacher interface.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Sep 17 04:51:24 UTC 2020 - 1.6K bytes - Viewed (0) -
pkg/volume/fc/fc.go
deviceUtil: util.NewDeviceHandler(util.NewIOHandler()), }, nil } func (plugin *fcPlugin) ConstructVolumeSpec(volumeName, mountPath string) (volume.ReconstructedVolume, error) { // Find globalPDPath from pod volume directory(mountPath) // examples: // mountPath: pods/{podUid}/volumes/kubernetes.io~fc/{volumeName} // globalPDPath : plugins/kubernetes.io/fc/50060e801049cfd1-lun-0 var globalPDPath string
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 17.4K bytes - Viewed (0) -
pkg/volume/util/subpath/subpath.go
type Interface interface { // CleanSubPaths removes any bind-mounts created by PrepareSafeSubpath in given // pod volume directory. CleanSubPaths(poodDir string, volumeName string) error // PrepareSafeSubpath does everything that's necessary to prepare a subPath // that's 1) inside given volumePath and 2) immutable after this call. //
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 27 02:59:53 UTC 2019 - 3.3K bytes - Viewed (0) -
src/cmd/go/internal/str/path.go
// filesystem does, and assumes that all path separators are canonicalized to // filepath.Separator (as returned by filepath.Clean). func HasFilePathPrefix(s, prefix string) bool { sv := filepath.VolumeName(s) pv := filepath.VolumeName(prefix) // Strip the volume from both paths before canonicalizing sv and pv: // it's unlikely that strings.ToUpper will change the length of the string, // but doesn't seem impossible. s = s[len(sv):]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 31 20:33:02 UTC 2023 - 3.9K bytes - Viewed (0)