Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for MapPodDevice (0.13 sec)

  1. pkg/volume/volume.go

    	SetUpDevice() (stagingPath string, err error)
    
    	// MapPodDevice maps the block device to a path and return the path.
    	// Unique device path across kubelet node reboot is required to avoid
    	// unexpected block volume destruction.
    	// If empty string is returned, the path returned by attacher.Attach() and
    	// attacher.WaitForAttach() will be used.
    	MapPodDevice() (publishPath string, err error)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  2. pkg/volume/local/local.go

    func (m *localVolumeMapper) SetUpDevice() (string, error) {
    	return "", nil
    }
    
    // MapPodDevice provides physical device path for the local PV.
    func (m *localVolumeMapper) MapPodDevice() (string, error) {
    	globalPath := util.MakeAbsolutePath(runtime.GOOS, m.globalPath)
    	klog.V(4).Infof("MapPodDevice returning path %s", globalPath)
    	return globalPath, nil
    }
    
    // GetStagingPath returns
    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