test

package
v0.8.3 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TempBlockDevice

type TempBlockDevice struct {
	TempFile   string
	LoopDevice string
}

func CreateTempFormattedLoopDevice

func CreateTempFormattedLoopDevice(t *testing.T, name string) (*TempBlockDevice, error)

returns the temporary file, the device path and the error.

func CreateTempLVMGroupDevice

func CreateTempLVMGroupDevice(t *testing.T, name string) (*TempBlockDevice, error)

returns the temporary file, the device and the error.

func CreateTempLoopDevice

func CreateTempLoopDevice(t *testing.T, name string) (*TempBlockDevice, error)

returns the temporary file, the device and the error.

func (*TempBlockDevice) Cleanup

func (b *TempBlockDevice) Cleanup() error

func (*TempBlockDevice) String

func (b *TempBlockDevice) String() string

Jump to

Keyboard shortcuts

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