fuse

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller struct {
	// contains filtered or unexported fields
}

Controller is the space domain controller for managing the libfuse VFS. It is used by the grpc server and app/daemon generally

func NewController

func NewController(
	ctx context.Context,
	cfg config.Config,
	store store.Store,
	sfs *spacefs.SpaceFS,
) *Controller

func (*Controller) IsMounted

func (s *Controller) IsMounted() bool

func (*Controller) Mount

func (s *Controller) Mount() error

Mount mounts the vfs drive and immediately serves the handler. It starts the Fuse Server in the background

func (*Controller) ShouldMount

func (s *Controller) ShouldMount() bool

ShouldMount check the store and config to determine if the libfuse drive was previously mounted

func (*Controller) Unmount

func (s *Controller) Unmount() error

Jump to

Keyboard shortcuts

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