Documentation ¶
Index ¶
Constants ¶
View Source
const (
WarningMessageIdempotentDeviceAlreadyMounted = "Device is already mounted, so skip mounting (Idempotent)."
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlockDeviceMounterUtils ¶
type BlockDeviceMounterUtils interface { RescanAll(volumeMountProperties *resources.VolumeMountProperties) error CleanupAll(volumeMountProperties *resources.VolumeMountProperties) error MountDeviceFlow(devicePath string, fsType string, mountPoint string) error Discover(volumeWwn string, deepDiscovery bool) (string, error) UnmountDeviceFlow(devicePath string, volumeWwn string) error }
func NewBlockDeviceMounterUtils ¶
func NewBlockDeviceMounterUtils() BlockDeviceMounterUtils
func NewBlockDeviceMounterUtilsWithBlockDeviceUtils ¶
func NewBlockDeviceMounterUtilsWithBlockDeviceUtils(blockDeviceUtils block_device_utils.BlockDeviceUtils) BlockDeviceMounterUtils
type DeviceAlreadyMountedToWrongMountpoint ¶ added in v1.2.0
type DeviceAlreadyMountedToWrongMountpoint struct {
// contains filtered or unexported fields
}
func (*DeviceAlreadyMountedToWrongMountpoint) Error ¶ added in v1.2.0
func (e *DeviceAlreadyMountedToWrongMountpoint) Error() string
type DirPathAlreadyMountedToWrongDevice ¶ added in v1.2.0
type DirPathAlreadyMountedToWrongDevice struct {
// contains filtered or unexported fields
}
func (*DirPathAlreadyMountedToWrongDevice) Error ¶ added in v1.2.0
func (e *DirPathAlreadyMountedToWrongDevice) Error() string
Click to show internal directories.
Click to hide internal directories.