mounter

package
v0.40.8 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

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

Variables

This section is empty.

Functions

func FindFuseMountProcess added in v0.34.7

func FindFuseMountProcess(path string) (*os.Process, error)

func FuseUnmount

func FuseUnmount(path string) error

func SystemdUnmount added in v0.34.7

func SystemdUnmount(volumeID string) (bool, error)

func Unmount added in v0.34.7

func Unmount(path string) error

Types

type Mounter

type Mounter interface {
	Mount(target, volumeID 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