plugin_host_storage

package
v0.51.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 9, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PluginHostStorage

type PluginHostStorage struct{}

PluginHostStorage provides storage via the plugin host.

func NewPluginHostStorage

func NewPluginHostStorage() *PluginHostStorage

NewPluginHostStorage constructs the storage.

func (*PluginHostStorage) AddFactories

func (s *PluginHostStorage) AddFactories(b bus.Bus, sr *static.Resolver)

AddFactories adds the factories to the resolver.

func (*PluginHostStorage) BuildVolumeConfig

func (s *PluginHostStorage) BuildVolumeConfig(id string, baseVolCtrlConf *volume_controller.Config) (config.Config, error)

BuildVolumeConfig creates the volume config for the store ID. Returns nil if the storage cannot produce Volume. baseVolCtrlConf can be nil

func (*PluginHostStorage) DeleteVolume

func (s *PluginHostStorage) DeleteVolume(id string) error

DeleteVolume is not supported for plugin host storage.

func (*PluginHostStorage) GetStorageInfo

func (s *PluginHostStorage) GetStorageInfo() *storage.StorageInfo

GetStorageInfo returns StorageInfo.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL