block_device_mounter_utils

package
v2.1.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2019 License: Apache-2.0 Imports: 8 Imported by: 2

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

type DirPathAlreadyMountedToWrongDevice added in v1.2.0

type DirPathAlreadyMountedToWrongDevice struct {
	// contains filtered or unexported fields
}

func (*DirPathAlreadyMountedToWrongDevice) Error added in v1.2.0

Jump to

Keyboard shortcuts

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