devicemapper

package
v0.0.0-...-3bfe646 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2023 License: Apache-2.0 Imports: 16 Imported by: 2

Documentation

Index

Constants

View Source
const PoolName = "docker-thinpool"

PoolName is the name of the pool device configured for docker

Variables

This section is empty.

Functions

func GetDevices

func GetDevices() (devices []storage.Device, err error)

GetDevices queries the block devices on this system and returns the annonated list of available devices

func Mount

func Mount(disk string, out io.Writer, entry log.FieldLogger) (err error)

Mount creates devicemapper environment for docker using disk as a media for the physical volume

func Unmount

func Unmount(out io.Writer, logger log.FieldLogger) (err error)

Unmount removes docker devicemapper environment

Types

This section is empty.

Jump to

Keyboard shortcuts

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