Documentation
¶
Overview ¶
Package mount provides utilities to detect, format and mount storage devices.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Interface ¶
type Interface interface {
mount.Interface
exec.Interface
FormatAndMount(source string, target string, fstype string, options []string) error
GetDevicePath(ctx context.Context, volumeID string) (string, error)
GetDeviceName(mountPath string) (string, int, error)
ExistsPath(filename string) (bool, error)
MakeDir(pathname string) error
MakeFile(pathname string) error
}
Interface defines the set of methods to allow for mount operations on a system.
Click to show internal directories.
Click to hide internal directories.