Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for GetPluginDir (0.11 sec)

  1. pkg/volume/flexvolume/plugin.go

    	volumeName, err := plugin.GetVolumeName(spec)
    	if err != nil {
    		return "", fmt.Errorf("GetVolumeName failed from getDeviceMountPath: %s", err)
    	}
    
    	mountsDir := filepath.Join(plugin.host.GetPluginDir(flexVolumePluginName), plugin.driverName, "mounts")
    	return filepath.Join(mountsDir, volumeName), nil
    }
    
    func (plugin *flexVolumePlugin) RequiresFSResize() bool {
    	return plugin.capabilities.RequiresFSResize
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 9.7K bytes
    - Viewed (0)
Back to top