mounter

package
v0.0.0-...-a7fc55d Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FuseMount

func FuseMount(path string, command string, args []string, envs []string) error

FuseMount mounts the fuse

func Unmount

func Unmount(path string) error

Unmount unmounts the volume

Types

type Mounter

type Mounter interface {
	Mount(target, volumeID string) error
}

Mounter interface which can be implemented by the different mounter types

func NewMounter

func NewMounter(meta *utils.Metadata, cfg *utils.Config) (Mounter, error)

NewMounter creates a new mounter

func NewS3Mounter

func NewS3Mounter(meta *utils.Metadata, cfg *utils.Config) (Mounter, error)

NewS3Mounter creates a new S3 fs mounter

type S3Mounter

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

func (*S3Mounter) Mount

func (s *S3Mounter) Mount(target, volumeID string) error

Mount mounts the s3fs

Jump to

Keyboard shortcuts

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