Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrAlreadyMounted is returned when checking if a path has already // something mounted on it ErrAlreadyMounted = errors.New("path is already mounted") ErrNotMountPoint = errors.New("path is not a mountpoint") ErrTransportEndpointIsNotConencted = errors.New("transport endpoint is not connected") ErrZFSProcessNotFound = errors.New("0-fs process not found") ErrHashNotSupported = errors.New("hash not supported by flist host") ErrHashInvalidLen = errors.New("invalid hash length") )
Functions ¶
Types ¶
type Cleaner ¶
type Cleaner interface { // CacheCleaner runs the clean process, CacheCleaner should be // blocking. Caller then can do `go CacheCleaner()` to run it in the background CacheCleaner(ctx context.Context, every time.Duration, age time.Duration) }
Cleaner interface, implementer of this interface can start a cleaner job
Click to show internal directories.
Click to hide internal directories.