Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for GetPluginDir (0.14 sec)

  1. pkg/controller/volume/persistentvolume/volume_host.go

    	"k8s.io/kubernetes/pkg/volume/util/subpath"
    )
    
    // VolumeHost interface implementation for PersistentVolumeController.
    
    var _ vol.VolumeHost = &PersistentVolumeController{}
    
    func (ctrl *PersistentVolumeController) GetPluginDir(pluginName string) string {
    	return ""
    }
    
    func (ctrl *PersistentVolumeController) GetVolumeDevicePluginDir(pluginName string) string {
    	return ""
    }
    
    func (ctrl *PersistentVolumeController) GetPodsDir() string {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 11:00:37 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  2. pkg/kubelet/kubelet_getters_test.go

    	exp = filepath.Join(root, "plugins")
    	assert.Equal(t, exp, got)
    
    	got = kubelet.getPluginsRegistrationDir()
    	exp = filepath.Join(root, "plugins_registry")
    	assert.Equal(t, exp, got)
    
    	got = kubelet.getPluginDir("foobar")
    	exp = filepath.Join(root, "plugins/foobar")
    	assert.Equal(t, exp, got)
    
    	got = kubelet.getPodDir("abc123")
    	exp = filepath.Join(root, "pods/abc123")
    	assert.Equal(t, exp, got)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 09 00:48:07 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  3. 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