flexvolume

package
v3.0.0-beta+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2018 License: Apache-2.0 Imports: 10 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrInvalidSpecDriver is returned when incorrect or no OSD driver is specified in spec file
	ErrInvalidSpecDriver = errors.New("Invalid kubernetes spec file : No OSD driver specified in flexvolume")
	// ErrInvalidSpecVolumeID is returned when incorrect or no volumeID is specified in spec file
	ErrInvalidSpecVolumeID = errors.New("Invalid kubernetes spec file : No volumeID specified in flexvolume")
	// ErrNoMountInfo is returned when flexvolume is unable to read from proc/self/mountinfo
	ErrNoMountInfo = errors.New("Could not read mountpoints from /proc/self/mountinfo. ")
	// ErrMissingMountPath is returned when no mountPath specified in mount call
	ErrMissingMountPath = errors.New("Missing target mount path")
)

Functions

func StartFlexVolumeAPI

func StartFlexVolumeAPI(port uint16, defaultDriver string) error

StartFlexVolumeAPI starts the flexvolume API on the given port.

Types

This section is empty.

Jump to

Keyboard shortcuts

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