Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 14 of 14 for SetCounter (0.16 sec)

  1. pkg/volume/csi/csi_plugin.go

    }
    
    func (p *csiPlugin) NewDeviceUnmounter() (volume.DeviceUnmounter, error) {
    	return p.NewDetacher()
    }
    
    func (p *csiPlugin) GetDeviceMountRefs(deviceMountPath string) ([]string, error) {
    	m := p.host.GetMounter(p.GetPluginName())
    	return m.GetMountRefs(deviceMountPath)
    }
    
    // BlockVolumePlugin methods
    var _ volume.BlockVolumePlugin = &csiPlugin{}
    
    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/util/util.go

    // and Exec taken from given VolumeHost.
    func NewSafeFormatAndMountFromHost(pluginName string, host volume.VolumeHost) *mount.SafeFormatAndMount {
    	mounter := host.GetMounter(pluginName)
    	exec := host.GetExec(pluginName)
    	return &mount.SafeFormatAndMount{Interface: mounter, Exec: exec}
    }
    
    // GetVolumeMode retrieves VolumeMode from pv.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 12:32:15 UTC 2024
    - 28.8K bytes
    - Viewed (0)
  3. pkg/controller/volume/attachdetach/attach_detach_controller.go

    	return nil, fmt.Errorf("NewWrapperUnmounter not supported by Attach/Detach controller's VolumeHost implementation")
    }
    
    func (adc *attachDetachController) GetMounter(pluginName string) mount.Interface {
    	return nil
    }
    
    func (adc *attachDetachController) GetHostName() string {
    	return ""
    }
    
    func (adc *attachDetachController) GetHostIP() (net.IP, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  4. pkg/volume/plugins.go

    	// the provided spec.  See comments on NewWrapperMounter for more
    	// context.
    	NewWrapperUnmounter(volName string, spec Spec, podUID types.UID) (Unmounter, error)
    
    	// Get mounter interface.
    	GetMounter(pluginName string) mount.Interface
    
    	// Returns the hostname of the host kubelet is running on
    	GetHostName() string
    
    	// Returns host IP or nil in the case of error.
    	GetHostIP() (net.IP, error)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 16:13:15 UTC 2024
    - 38.2K bytes
    - Viewed (0)
Back to top