package
1.13.1
Repository: https://github.com/react-vue-devel/moby.git
Documentation: pkg.go.dev

# Functions

ActivateDevice activates the device identified by the specified poolName, name and deviceID with the specified size.
ActivateDeviceWithExternal activates the device identified by the specified poolName, name and deviceID with the specified size.
BlockDeviceDiscard runs discard for the given path.
CancelDeferredRemove cancels a deferred remove for a device.
CookieSupported returns whether the version of device-mapper supports the use of cookie's in the tasks.
CreateDevice creates a device with the specified poolName with the specified device id.
CreatePool is the programmatic example of "dmsetup create".
CreateSnapDevice creates a snapshot based on the device identified by the baseName and baseDeviceId,.
CreateSnapDeviceRaw creates a snapshot device.
DeleteDevice deletes a device with the specified poolName with the specified device id.
DeviceIDExists returns whether error conveys the information about device Id already exist or not.
GetBlockDeviceSize returns the size of a block device identified by the specified file.
GetDeps is the programmatic example of "dmsetup deps".
GetDriverVersion is the programmatic example of "dmsetup version".
GetInfo is the programmatic example of "dmsetup info".
GetInfoWithDeferred is the programmatic example of "dmsetup info", but deferred.
GetLibraryVersion returns the device mapper library version.
GetStatus is the programmatic example of "dmsetup status".
GetTable is the programmatic example for "dmsetup table".
LogInit initializes the logger for the device mapper library.
LogInitVerbose is an interface to initialize the verbose logger for the device mapper library.
ReloadPool is the programmatic example of "dmsetup reload".
RemoveDevice is a useful helper for cleaning up a device.
RemoveDeviceDeferred is a useful helper for cleaning up a device, but deferred.
ResumeDevice is the programmatic example of "dmsetup resume".
SetDevDir sets the dev folder for the device mapper library (usually /dev).
SetTransactionID sets a transaction id for the specified device name.
SuspendDevice is the programmatic example of "dmsetup suspend".
TaskCreate initializes a devicemapper task of tasktype.
TaskCreateNamed is a convenience function for TaskCreate when a name will be set on the task as well.
UdevSetSyncSupport allows setting whether the udev sync should be enabled.
UdevSyncSupported returns whether device-mapper is able to sync with udev This is essential otherwise race conditions can arise where both udev and device-mapper attempt to create and destroy devices.
UdevWait waits for any processes that are waiting for udev to complete the specified cookie.

# Constants

_LOG_DEBUG.
_LOG_ERR.
_LOG_FATAL.
_LOG_INFO.
_LOG_NOTICE.
_LOG_WARN.

# Variables

List of errors returned when using devicemapper.
List of errors returned when using devicemapper.
List of errors returned when using devicemapper.
List of errors returned when using devicemapper.
List of errors returned when using devicemapper.
List of errors returned when using devicemapper.
List of errors returned when using devicemapper.
List of errors returned when using devicemapper.
List of errors returned when using devicemapper.
List of errors returned when using devicemapper.
List of errors returned when using devicemapper.
List of errors returned when using devicemapper.
List of errors returned when using devicemapper.
List of errors returned when using devicemapper.
List of errors returned when using devicemapper.
List of errors returned when using devicemapper.
List of errors returned when using devicemapper.
List of errors returned when using devicemapper.
List of errors returned when using devicemapper.
List of errors returned when using devicemapper.
List of errors returned when using devicemapper.
List of errors returned when using devicemapper.
List of errors returned when using devicemapper.

# Structs

No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

DevmapperLogger defines methods for logging with devicemapper.

# Type aliases

No description provided by the author
No description provided by the author