Documentation
¶
Index ¶
Constants ¶
View Source
const (
LOSETUP_COMMAND = "losetup"
)
Variables ¶
This section is empty.
Functions ¶
func DetachDevice ¶
func DetachDeviceByFile ¶
func GetUnusedDevice ¶
Types ¶
type Command ¶
func NewCommand ¶
type Device ¶
type Devices ¶
type Devices struct {
LoopDevs []Device `json:"loopdevices"`
}
func ListDevices ¶
func (Devices) GetDeviceByFile ¶
func (Devices) GetDeviceByName ¶
type LosetupCommand ¶
type LosetupCommand struct {
*Command
}
func NewLosetupCommand ¶
func NewLosetupCommand() *LosetupCommand
Click to show internal directories.
Click to hide internal directories.