mounter

package
v0.28.6 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2021 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TypeKey    = "mounter"
	BucketKey  = "bucket"
	OptionsKey = "options"
)

Variables

This section is empty.

Functions

func FuseUnmount

func FuseUnmount(path string) error

Types

type Mounter

type Mounter interface {
	Stage(stagePath string) error
	Unstage(stagePath string) error
	Mount(source string, target string) error
}

Mounter interface which can be implemented by the different mounter types

func New

func New(meta *s3.FSMeta, cfg *s3.Config) (Mounter, error)

New returns a new mounter depending on the mounterType parameter

Jump to

Keyboard shortcuts

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