- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 405 for volumeName (1 sec)
-
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) -
pkg/kubelet/volumemanager/volume_manager.go
if volume.PluginIsAttachable { if _, exists := desiredVolumesMap[volume.VolumeName]; !exists { desiredVolumesMap[volume.VolumeName] = true volumesToReportInUse = append(volumesToReportInUse, volume.VolumeName) } } } for _, volume := range allAttachedVolumes { if volume.PluginIsAttachable { if _, exists := desiredVolumesMap[volume.VolumeName]; !exists {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 21.5K bytes - Viewed (0) -
pkg/controller/volume/expand/expand_controller.go
volumeName := pvc.Spec.VolumeName pv, err := expc.kubeClient.CoreV1().PersistentVolumes().Get(ctx, volumeName, metav1.GetOptions{}) if err != nil { return nil, fmt.Errorf("failed to get PV %q: %v", volumeName, err) } return pv, nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 16.2K bytes - Viewed (0) -
src/path/filepath/symlink_windows.go
package filepath import ( "strings" "syscall" ) // normVolumeName is like VolumeName, but makes drive letter upper case. // result of EvalSymlinks must be unique, so we have // EvalSymlinks(`c:\a`) == EvalSymlinks(`C:\a`). func normVolumeName(path string) string { volume := VolumeName(path) if len(volume) > 2 { // isUNC return volume } return strings.ToUpper(volume) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 24 07:42:17 UTC 2023 - 2.9K bytes - Viewed (0)