Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for NewUnmounter (0.87 sec)

  1. pkg/volume/noop_expandable_plugin.go

    	return false
    }
    
    func (n *noopExpandableVolumePluginInstance) NewMounter(spec *Spec, podRef *v1.Pod, opts VolumeOptions) (Mounter, error) {
    	return nil, nil
    }
    
    func (n *noopExpandableVolumePluginInstance) NewUnmounter(name string, podUID types.UID) (Unmounter, error) {
    	return nil, nil
    }
    
    func (n *noopExpandableVolumePluginInstance) ConstructVolumeSpec(volumeName, mountPath string) (ReconstructedVolume, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  2. pkg/volume/downwardapi/downwardapi.go

    	}
    	return &downwardAPIVolumeMounter{
    		downwardAPIVolume: v,
    		source:            *spec.Volume.DownwardAPI,
    		opts:              &opts,
    	}, nil
    }
    
    func (plugin *downwardAPIPlugin) NewUnmounter(volName string, podUID types.UID) (volume.Unmounter, error) {
    	return &downwardAPIVolumeUnmounter{
    		&downwardAPIVolume{
    			volName:         volName,
    			podUID:          podUID,
    			plugin:          plugin,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  3. pkg/volume/flexvolume/plugin.go

    			MetricsProvider:       metricsProvider,
    		},
    		runner:   runner,
    		spec:     spec,
    		readOnly: readOnly,
    	}, nil
    }
    
    // NewUnmounter is part of the volume.VolumePlugin interface.
    func (plugin *flexVolumePlugin) NewUnmounter(volName string, podUID types.UID) (volume.Unmounter, error) {
    	return plugin.newUnmounterInternal(volName, podUID, plugin.host.GetMounter(plugin.GetPluginName()), plugin.runner)
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  4. pkg/volume/secret/secret.go

    		},
    		source:    *spec.Volume.Secret,
    		pod:       *pod,
    		opts:      &opts,
    		getSecret: plugin.getSecret,
    	}, nil
    }
    
    func (plugin *secretPlugin) NewUnmounter(volName string, podUID types.UID) (volume.Unmounter, error) {
    	return &secretVolumeUnmounter{
    		&secretVolume{
    			volName,
    			podUID,
    			plugin,
    			plugin.host.GetMounter(plugin.GetPluginName()),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  5. pkg/volume/plugins_test.go

    	return false, nil
    }
    
    func (plugin *testPlugins) NewMounter(spec *Spec, podRef *v1.Pod, opts VolumeOptions) (Mounter, error) {
    	return nil, nil
    }
    
    func (plugin *testPlugins) NewUnmounter(name string, podUID types.UID) (Unmounter, error) {
    	return nil, nil
    }
    
    func (plugin *testPlugins) ConstructVolumeSpec(volumeName, mountPath string) (ReconstructedVolume, error) {
    	return ReconstructedVolume{}, nil
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  6. pkg/volume/configmap/configmap.go

    		},
    		source:       *spec.Volume.ConfigMap,
    		pod:          *pod,
    		opts:         &opts,
    		getConfigMap: plugin.getConfigMap,
    	}, nil
    }
    
    func (plugin *configMapPlugin) NewUnmounter(volName string, podUID types.UID) (volume.Unmounter, error) {
    	return &configMapVolumeUnmounter{
    		&configMapVolume{
    			volName,
    			podUID,
    			plugin,
    			plugin.host.GetMounter(plugin.GetPluginName()),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 10K bytes
    - Viewed (0)
  7. pkg/volume/projected/projected.go

    		},
    		source: *spec.Volume.Projected,
    		pod:    pod,
    		opts:   &opts,
    	}, nil
    }
    
    func (plugin *projectedPlugin) NewUnmounter(volName string, podUID types.UID) (volume.Unmounter, error) {
    	return &projectedVolumeUnmounter{
    		&projectedVolume{
    			volName:         volName,
    			podUID:          podUID,
    			plugin:          plugin,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  8. pkg/volume/csi/csi_test.go

    			if err != nil || mounter == nil {
    				t.Fatalf("csiTest.VolumeAll volPlugin.NewMounter is nil or error: %s", err)
    			}
    
    			unmounter, err := volPlug.NewUnmounter(test.specName, pod.GetUID())
    			if err != nil {
    				t.Fatal("csiTest.VolumeAll volumePlugin.NewUnmounter failed:", err)
    			}
    			csiUnmounter := unmounter.(*csiMountMgr)
    			csiUnmounter.csiClient = csiClient
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 03 15:55:13 UTC 2022
    - 21.1K bytes
    - Viewed (0)
  9. pkg/volume/nfs/nfs.go

    		},
    		server:       getServerFromSource(source),
    		exportPath:   source.Path,
    		readOnly:     readOnly,
    		mountOptions: util.MountOptionFromSpec(spec),
    	}, nil
    }
    
    func (plugin *nfsPlugin) NewUnmounter(volName string, podUID types.UID) (volume.Unmounter, error) {
    	return plugin.newUnmounterInternal(volName, podUID, plugin.host.GetMounter(plugin.GetPluginName()))
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  10. pkg/volume/git_repo/git_repo.go

    		revision: spec.Volume.GitRepo.Revision,
    		target:   spec.Volume.GitRepo.Directory,
    		exec:     exec.New(),
    		opts:     opts,
    	}, nil
    }
    
    func (plugin *gitRepoPlugin) NewUnmounter(volName string, podUID types.UID) (volume.Unmounter, error) {
    	return &gitRepoVolumeUnmounter{
    		&gitRepoVolume{
    			volName: volName,
    			podUID:  podUID,
    			plugin:  plugin,
    		},
    	}, nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 8.2K bytes
    - Viewed (0)
Back to top