fuse

package
v10.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewVolumeDriver

func NewVolumeDriver(name string, baseDirPath string, provider Provider) volume.VolumeDriver

NewVolumeDriver creates a new volume.VolumeDriver for fuse.

Types

type Provider

type Provider interface {
	GetFS(volumeSpec *api.VolumeSpec) (fs.FS, error)
	GetMountOptions(volumeSpec *api.VolumeSpec) ([]fuse.MountOption, error)
}

Provider provides fuse.FS and fuse.MountOptions, given an *api.VolumeSpec.

Jump to

Keyboard shortcuts

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