Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for GetCSIMounterPath (0.14 sec)

  1. pkg/volume/csi/csi_mounter.go

    	kubeVolHost         volume.KubeletVolumeHost
    	volume.MetricsProvider
    }
    
    // volume.Volume methods
    var _ volume.Volume = &csiMountMgr{}
    
    func (c *csiMountMgr) GetPath() string {
    	dir := GetCSIMounterPath(filepath.Join(getTargetPath(c.podUID, c.specVolumeID, c.plugin.host)))
    	klog.V(4).Info(log("mounter.GetPath generated [%s]", dir))
    	return dir
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jan 30 10:47:59 UTC 2024
    - 21K bytes
    - Viewed (0)
  2. pkg/kubelet/kubelet_getters.go

    			// to the list if the mounted path exists.
    			for _, volumeDir := range volumeDirs {
    				path := filepath.Join(volumePluginPath, volumeDir)
    				csimountpath := csi.GetCSIMounterPath(path)
    				if pathExists, _ := mount.PathExists(csimountpath); pathExists {
    					volumes = append(volumes, csimountpath)
    				}
    			}
    		}
    	}
    	return volumes, nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 09 00:48:07 UTC 2024
    - 17.9K bytes
    - Viewed (0)
Back to top