btrfs

package
v0.4.13 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2018 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

type API interface {
	QuotaEnable(ctx context.Context, path string) error
	QuotaExists(ctx context.Context, qgroupID string, path string) (bool, error)
	QuotaCreate(ctx context.Context, qgroupID string, path string) error
	QuotaDestroy(ctx context.Context, qgroupID string, path string) error
	QuotaLimit(ctx context.Context, sizeInBytes uint64, qgroupID string, path string) error
	QuotaAssign(ctx context.Context, src string, dst string, path string) error
	QuotaRemove(ctx context.Context, src string, dst string, path string) error
	GetQuotaID(ctx context.Context, path string) (string, error)
}

func NewAPI

func NewAPI() (API, error)

Jump to

Keyboard shortcuts

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