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") )
Functions ¶
Types ¶
type Cleaner ¶ added in v0.4.0
type Cleaner interface {
// MountsCleaner runs the clean process, MountsCleaner should be
// blocking. Caller then can do `go MountsCleaner()` 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.