package csi
import "k8s.io/kubernetes/pkg/volume/csi"
Index ¶
- Variables
- func ProbeVolumePlugins() []volume.VolumePlugin
- type RegistrationHandler
- func (h *RegistrationHandler) DeRegisterPlugin(pluginName string)
- func (h *RegistrationHandler) RegisterPlugin(pluginName string, endpoint string, versions []string) error
- func (h *RegistrationHandler) ValidatePlugin(pluginName string, endpoint string, versions []string, foundInDeprecatedDir bool) error
Variables ¶
var PluginHandler = &RegistrationHandler{}
PluginHandler is the plugin registration handler interface passed to the pluginwatcher module in kubelet
Functions ¶
func ProbeVolumePlugins ¶
func ProbeVolumePlugins() []volume.VolumePlugin
ProbeVolumePlugins returns implemented plugins
Types ¶
type RegistrationHandler ¶
type RegistrationHandler struct { }
RegistrationHandler is the handler which is fed to the pluginwatcher API.
func (*RegistrationHandler) DeRegisterPlugin ¶
func (h *RegistrationHandler) DeRegisterPlugin(pluginName string)
DeRegisterPlugin is called when a plugin removed its socket, signaling it is no longer available
func (*RegistrationHandler) RegisterPlugin ¶
func (h *RegistrationHandler) RegisterPlugin(pluginName string, endpoint string, versions []string) error
RegisterPlugin is called when a plugin can be registered
func (*RegistrationHandler) ValidatePlugin ¶
func (h *RegistrationHandler) ValidatePlugin(pluginName string, endpoint string, versions []string, foundInDeprecatedDir bool) error
ValidatePlugin is called by kubelet's plugin watcher upon detection of a new registration socket opened by CSI Driver registrar side car.
Source Files ¶
csi_attacher.go csi_block.go csi_client.go csi_mounter.go csi_plugin.go csi_util.go
Directories ¶
Path | Synopsis |
---|---|
pkg/volume/csi/csiv0 | |
pkg/volume/csi/fake | |
pkg/volume/csi/nodeinfomanager | Package nodeinfomanager includes internal functions used to add/delete labels to kubernetes nodes for corresponding CSI drivers |
- Version
- v1.13.5
- Published
- Mar 22, 2019
- Platform
- js/wasm
- Imports
- 36 packages
- Last checked
- 2 minutes ago –
Tools for package owners.