fuse

package
v4.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2018 License: Apache-2.0 Imports: 11 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