mounter

package
v1.0.2-alpha Latest Latest
Warning

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

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

Documentation

Overview

Package mounter

Package mounter

Package mounter

Index

Constants

This section is empty.

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
	Unmount(target string) error
}

type NewMounterFactory

type NewMounterFactory interface {
	// NewMounter(mounter, bucket, objpath, endpoint, region, keys string, authType string) (Mounter, error)
	NewMounter(attrib map[string]string, secretMap map[string]string, mountFlags []string) (Mounter, error)
}

type S3fsMounterFactory

type S3fsMounterFactory struct{}

func NewS3fsMounterFactory

func NewS3fsMounterFactory() *S3fsMounterFactory

func (*S3fsMounterFactory) NewMounter

func (s *S3fsMounterFactory) NewMounter(attrib map[string]string, secretMap map[string]string, mountFlags []string) (Mounter, error)

func newS3fsMounter(bucket string, objpath string, endpoint string, region string, keys string)

Jump to

Keyboard shortcuts

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