Documentation ¶
Index ¶
- Constants
- Variables
- func Init(conf *config.Config) (osm.Driver, error)
- type Driver
- func (driver *Driver) Format(deviceName, newFsType string, overwriteFs bool) error
- func (driver *Driver) GetMounts(deviceName, mountPoint string) ([]*mount.Info, error)
- func (driver *Driver) Mount(device, target, mountOptions, mountLabel string) error
- func (driver *Driver) Mounted(mountPoint string) (bool, error)
- func (driver *Driver) Name() string
- func (driver *Driver) Unmount(mountPoint string) error
Constants ¶
View Source
const ProviderName = "linux"
Variables ¶
View Source
var ( ErrUnknownOS = errors.New("Encountered an unknown OS") ErrUnknownFilesystemType = errors.New("Unknown filesystem type") )
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.