Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 23 of 23 for NewUnmounter (0.17 sec)

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

    	return nil, fmt.Errorf("Mounter is not supported by this plugin")
    }
    
    func (plugin *mockVolumePlugin) NewUnmounter(name string, podUID types.UID) (volume.Unmounter, error) {
    	return nil, fmt.Errorf("Unmounter is not supported by this plugin")
    }
    
    // Provisioner interfaces
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 01 09:54:00 UTC 2023
    - 38.3K bytes
    - Viewed (0)
  2. pkg/volume/csi/csi_plugin_test.go

    			volDataKey.driverName: testDriver,
    			volDataKey.volHandle:  testVol,
    		},
    	); err != nil {
    		t.Fatalf("failed to save volume data: %v", err)
    	}
    
    	// test unmounter
    	unmounter, err := plug.NewUnmounter(pv.ObjectMeta.Name, testPodUID)
    	csiUnmounter := unmounter.(*csiMountMgr)
    
    	if err != nil {
    		t.Fatalf("Failed to make a new Unmounter: %v", err)
    	}
    
    	if csiUnmounter == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 41.8K bytes
    - Viewed (0)
  3. pkg/volume/projected/projected_test.go

    			}
    		}
    	}
    }
    
    func doTestCleanAndTeardown(plugin volume.VolumePlugin, podUID types.UID, testVolumeName, volumePath string, t *testing.T) {
    	unmounter, err := plugin.NewUnmounter(testVolumeName, podUID)
    	if err != nil {
    		t.Errorf("Failed to make a new Unmounter: %v", err)
    	}
    	if unmounter == nil {
    		t.Errorf("Got a nil Unmounter")
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 03 18:40:48 UTC 2023
    - 40.5K bytes
    - Viewed (0)
Back to top