Documentation ¶
Index ¶
- func Check(config types.StackerConfig) error
- func ComputeAggregateHash(manifest ispec.Manifest, descriptor ispec.Descriptor) (string, error)
- func DetectBtrfs(p string) (bool, error)
- func MakeLoopbackBtrfs(loopback string, size int64, uid int, gid int, dest string) error
- func NewExisting(c types.StackerConfig) types.Storage
- func NewLoopback(c types.StackerConfig) (types.Storage, error)
- func UnprivSetup(config types.StackerConfig, uid, gid int) error
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 DetectBtrfs ¶
func MakeLoopbackBtrfs ¶
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.
Click to show internal directories.
Click to hide internal directories.