Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 14 of 14 for mapsPath (0.14 sec)

  1. pkg/volume/csi/csi_plugin.go

    	return unmapper, nil
    }
    
    func (p *csiPlugin) ConstructBlockVolumeSpec(podUID types.UID, specVolName, mapPath string) (*volume.Spec, error) {
    	klog.V(4).Infof("plugin.ConstructBlockVolumeSpec [podUID=%s, specVolName=%s, path=%s]", string(podUID), specVolName, mapPath)
    
    	dataDir := getVolumeDeviceDataDir(specVolName, p.host)
    	volData, err := loadVolumeData(dataDir, volDataFileName)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 29.2K bytes
    - Viewed (0)
  2. pkg/volume/volume.go

    	BlockVolumeUnmapper
    	// TearDownDevice removes traces of the SetUpDevice procedure.
    	// If the plugin is non-attachable, this method detaches the volume
    	// from a node.
    	TearDownDevice(mapPath string, devicePath string) error
    
    	// UnmapPodDevice removes traces of the MapPodDevice procedure.
    	UnmapPodDevice() error
    }
    
    // Provisioner is an interface that creates templates for PersistentVolumes
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  3. pkg/kubelet/kubelet_volumes_test.go

    }
    
    func (f *stubBlockVolume) SetUpDevice() (string, error) {
    	return "", nil
    }
    
    func (f stubBlockVolume) MapPodDevice() error {
    	return nil
    }
    
    func (f *stubBlockVolume) TearDownDevice(mapPath string, devicePath string) error {
    	return nil
    }
    
    func (f *stubBlockVolume) UnmapPodDevice() error {
    	return nil
    }
    
    func (f *stubBlockVolume) SupportsMetrics() bool {
    	return false
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 17 16:53:28 UTC 2023
    - 20.4K bytes
    - Viewed (0)
  4. pkg/volume/local/local.go

    	}
    	return volume.ReconstructedVolume{
    		Spec: volume.NewSpecFromPersistentVolume(localVolume, false),
    	}, nil
    }
    
    func (plugin *localVolumePlugin) ConstructBlockVolumeSpec(podUID types.UID, volumeName,
    	mapPath string) (*volume.Spec, error) {
    	block := v1.PersistentVolumeBlock
    
    	localVolume := &v1.PersistentVolume{
    		ObjectMeta: metav1.ObjectMeta{
    			Name: volumeName,
    		},
    		Spec: v1.PersistentVolumeSpec{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 22.2K bytes
    - Viewed (0)
Back to top