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.
Click to show internal directories.
Click to hide internal directories.