btrfs

package
v0.17.0 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2022 License: Apache-2.0 Imports: 34 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Check added in v0.15.0

func Check(config types.StackerConfig) error

func ComputeAggregateHash

func ComputeAggregateHash(manifest ispec.Manifest, descriptor ispec.Descriptor) (string, error)

func DetectBtrfs

func DetectBtrfs(p string) (bool, error)

func MakeLoopbackBtrfs

func MakeLoopbackBtrfs(loopback string, size int64, uid int, gid int, dest string) error

MakeLoopbackBtrfs creates a btrfs filesystem mounted at dest out of a loop device and allows the specified uid to delete subvolumes on it.

func NewExisting

func NewExisting(c types.StackerConfig) types.Storage

func NewLoopback

func NewLoopback(c types.StackerConfig) (types.Storage, error)

func UnprivSetup

func UnprivSetup(config types.StackerConfig, uid, gid int) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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