Versions in this module Expand all Collapse all v0 v0.1.0 Sep 2, 2025 Changes in this version + type Host interface + MachinePluginDir func(machineID string, pluginName string) string + MachineVolumeDir func(machineID string, pluginName, volumeName string) string + PluginDir func(pluginName string) string + type Plugin interface + Apply func(ctx context.Context, spec *api.VolumeSpec, machineID string) (*api.VolumeStatus, error) + CanSupport func(spec *api.VolumeSpec) bool + Delete func(ctx context.Context, computeVolumeName string, machineID string) error + GetBackingVolumeID func(spec *api.VolumeSpec) (string, error) + Init func(host Host) error + Name func() string + type PluginManager struct + func NewPluginManager() *PluginManager + func (m *PluginManager) FindPluginByName(name string) (Plugin, error) + func (m *PluginManager) FindPluginBySpec(volume *api.VolumeSpec) (Plugin, error) + func (m *PluginManager) InitPlugins(host Host, plugins []Plugin) error