filecoinunsealed

package
v1.0.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StorageProvider

type StorageProvider struct {
	LocalPathTemplateString string
	// contains filtered or unexported fields
}

func NewStorage

func NewStorage(_ *system.CleanupManager, localPathTemplate string) (*StorageProvider, error)

func (*StorageProvider) CleanupStorage

func (*StorageProvider) GetVolumeSize

func (driver *StorageProvider) GetVolumeSize(_ context.Context, volume model.StorageSpec) (uint64, error)

func (*StorageProvider) HasStorageLocally

func (driver *StorageProvider) HasStorageLocally(_ context.Context, volume model.StorageSpec) (bool, error)

func (*StorageProvider) IsInstalled

func (driver *StorageProvider) IsInstalled(context.Context) (bool, error)

func (*StorageProvider) PrepareStorage

func (driver *StorageProvider) PrepareStorage(
	_ context.Context,
	storageSpec model.StorageSpec,
) (storage.StorageVolume, error)

func (*StorageProvider) Upload

Jump to

Keyboard shortcuts

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