Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for mapsPath (0.2 sec)

  1. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/gcc/metadata/GccMetadataProviderTest.groovy

            expect:
            runsCompiler(gccCygwin64, gccVerboseOutput('7.3', includes))
            mapsPath(cygpath, '/usr/include', 'C:\\cygwin\\usr\\include')
            mapsPath(cygpath, '/usr/local/include', 'C:\\cygwin\\usr\\local\\include')
            def provider = new GccMetadataProvider(execActionFactory, GCC)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 16 06:01:47 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  2. pkg/volume/fc/fc.go

    func (c *fcDiskUnmapper) TearDownDevice(mapPath, devicePath string) error {
    	err := c.manager.DetachBlockFCDisk(*c, mapPath, devicePath)
    	if err != nil {
    		return fmt.Errorf("fc: failed to detach disk: %s\nError: %v", mapPath, err)
    	}
    	klog.V(4).Infof("fc: %s is unmounted, deleting the directory", mapPath)
    	if err = os.RemoveAll(mapPath); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  3. pkg/volume/iscsi/iscsi.go

    func (c *iscsiDiskUnmapper) TearDownDevice(mapPath, _ string) error {
    	err := c.manager.DetachBlockISCSIDisk(*c, mapPath)
    	if err != nil {
    		return fmt.Errorf("iscsi: failed to detach disk: %s\nError: %v", mapPath, err)
    	}
    	klog.V(4).Infof("iscsi: %q is unmounted, deleting the directory", mapPath)
    	err = os.RemoveAll(mapPath)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  4. pkg/volume/testing/testing.go

    	return nil
    }
    
    func (fv *FakeVolumePathHandler) RemoveMapPath(mapPath string) error {
    	// nil is success, else error
    	return nil
    }
    
    func (fv *FakeVolumePathHandler) IsSymlinkExist(mapPath string) (bool, error) {
    	// nil is success, else error
    	return true, nil
    }
    
    func (fv *FakeVolumePathHandler) IsDeviceBindMountExist(mapPath string) (bool, error) {
    	// nil is success, else error
    	return true, nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 12:32:15 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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