goofys

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2019 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	GetStdLogger      = internal.GetStdLogger
	InitLoggers       = internal.InitLoggers
	MassageMountFlags = internal.MassageMountFlags
	GetLogger         = internal.GetLogger
	NewGoofys         = internal.NewGoofys
	NewLogger         = internal.NewLogger
	TryUnmount        = internal.TryUnmount
	MyUserAndGroup    = internal.MyUserAndGroup
)

expose Goofys related functions and types for extending and mounting elsewhere

Functions

This section is empty.

Types

type Config

type Config struct {
	// File system
	MountOptions map[string]string
	MountPoint   string

	Cache    []string
	DirMode  os.FileMode
	FileMode os.FileMode
	Uid      uint32
	Gid      uint32

	// S3
	Endpoint       string
	Region         string
	RegionSet      bool
	StorageClass   string
	AccessKey      string
	SecretKey      string
	Profile        string
	UseContentType bool
	UseSSE         bool
	UseKMS         bool
	KMSKeyID       string
	ACL            string
	Subdomain      bool

	// Tuning
	Cheap        bool
	ExplicitDir  bool
	StatCacheTTL time.Duration
	TypeCacheTTL time.Duration
	HTTPTimeout  time.Duration

	// Debugging
	DebugFuse  bool
	DebugS3    bool
	Foreground bool
}

type FlagStorage added in v0.20.0

type FlagStorage = internal.FlagStorage

type Goofys added in v0.20.0

type Goofys = internal.Goofys

func Mount

func Mount(
	ctx context.Context,
	bucketName string,
	config *Config) (fs *Goofys, mfs *fuse.MountedFileSystem, err error)

type LogHandle added in v0.20.0

type LogHandle = internal.LogHandle

Jump to

Keyboard shortcuts

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