flexvolume

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2018 License: Apache-2.0 Imports: 8 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetFlexvolumeInfo

func GetFlexvolumeInfo(dir string) (string, int, error)

GetFlexvolumeInfo tries to extract flexvolume uuid and partition number from the specified directory. Negative partition number means that no partition number was specified.

Types

type FlexVolumeDriver

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

func NewFlexVolumeDriver

func NewFlexVolumeDriver(uuidGen UuidGen, mounter utils.Mounter) *FlexVolumeDriver

NewFlexVolumeDriver creates a FlexVolumeDriver struct

func (*FlexVolumeDriver) Run

func (d *FlexVolumeDriver) Run(args []string) string

type UuidGen

type UuidGen func() string

Jump to

Keyboard shortcuts

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