looputil

package
v0.0.0-...-8ff1004 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2019 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LoopDeviceManager

type LoopDeviceManager interface {
	// DetachLoopDevices detaches loop devices that are backed by files
	// inside the given root filesystem with the given prefix.
	DetachLoopDevices(rootfs, prefix string) error
}

LoopDeviceManager is an API for dealing with storage loop devices.

func NewLoopDeviceManager

func NewLoopDeviceManager() LoopDeviceManager

NewLoopDeviceManager returns a new LoopDeviceManager for dealing with storage loop devices on the local machine.

Jump to

Keyboard shortcuts

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