fuse

package
v0.0.0-...-2bc12df Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2021 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Overview

Package fuse adapts wash plugin types to a FUSE filesystem.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ServeFuseFS

func ServeFuseFS(
	filesys *plugin.Registry,
	mountpoint string,
	analyticsClient analytics.Client,
) (chan<- context.Context, <-chan struct{}, error)

ServeFuseFS starts serving a fuse filesystem that lists the registered plugins. It returns three values:

  1. A channel to initiate the shutdown (stopCh).

  2. A read-only channel that signals whether the server was shutdown

  3. An error object

Types

type Root

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

Root represents the root of the FUSE filesystem

func (*Root) Root

func (r *Root) Root() (fs.Node, error)

Root presents the root of the filesystem.

Jump to

Keyboard shortcuts

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