Documentation
¶
Index ¶
Constants ¶
View Source
const BoltDBExt = ".s4wave"
Variables ¶
This section is empty.
Functions ¶
func BoltDBPath ¶ added in v0.52.0
BoltDBPath returns the native bbolt path for a storage volume ID.
func BuildStorage ¶
BuildStorage builds all available storage methods.
Types ¶
type BoltDB ¶
type BoltDB struct {
// contains filtered or unexported fields
}
BoltDB implements the BoltDB database.
func (*BoltDB) AddFactories ¶
AddFactories adds the factories to the resolver.
func (*BoltDB) BuildVolumeConfig ¶
func (i *BoltDB) 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.
func (*BoltDB) DeleteVolume ¶
DeleteVolume removes the BoltDB database file for the given volume ID.
func (*BoltDB) GetStorageInfo ¶
func (i *BoltDB) GetStorageInfo() *storage.StorageInfo
GetStorageInfo returns StorageInfo.
Click to show internal directories.
Click to hide internal directories.