Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Loop provider types. LoopProviderType = storage.ProviderType("loop") HostLoopProviderType = storage.ProviderType("hostloop") )
View Source
const (
RootfsProviderType = storage.ProviderType("rootfs")
)
View Source
const (
TmpfsProviderType = storage.ProviderType("tmpfs")
)
Variables ¶
This section is empty.
Functions ¶
func CommonStorageProviders ¶
func CommonStorageProviders() storage.ProviderRegistry
CommonStorageProviders returns a storage.ProviderRegistry that contains the common storage providers.
func NewManagedFilesystemSource ¶
func NewManagedFilesystemSource( volumeBlockDevices map[names.VolumeTag]storage.BlockDevice, filesystems map[names.FilesystemTag]storage.Filesystem, ) storage.FilesystemSource
NewManagedFilesystemSource returns a storage.FilesystemSource that manages filesystems on block devices on the host machine.
The parameters are maps that the caller will update with information about block devices and filesystems created by the source. The caller must not update the maps during calls to the source's methods.
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.