plugins

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Plugins

type Plugins struct {
	// contains filtered or unexported fields
}

func NewPlugins

func NewPlugins(
	fuseMountPointRootDir string, options *VolumeOptions) *Plugins

func (*Plugins) DeleteMountPoint

func (p *Plugins) DeleteMountPoint(
	mountPointDir string) error

func (*Plugins) GenerateMountPointHostPathFromInitializeRequest

func (p *Plugins) GenerateMountPointHostPathFromInitializeRequest(
	req *api.InitializeRequest) (string, error)

func (*Plugins) GetMountPointHostPathFromPvcVolumeSource

func (p *Plugins) GetMountPointHostPathFromPvcVolumeSource(
	claimName string, kubeClient kubernetes.Interface, namespace string) (
	string, error)

type VolumeOptions

type VolumeOptions struct {
	CsiPluginsDir           string
	LocalFuseSourcesHostDir string
}

func NewVolumeOptions

func NewVolumeOptions() *VolumeOptions

func (*VolumeOptions) AddFlags

func (vo *VolumeOptions) AddFlags(flagSet *pflag.FlagSet)

Jump to

Keyboard shortcuts

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