control

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2016 License: Apache-2.0 Imports: 7 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateVolume

func CreateVolume(policy *config.Policy, config *config.Volume, timeout time.Duration) (storage.DriverOptions, error)

CreateVolume performs the dirty work of actually constructing a volume.

func ExistsVolume

func ExistsVolume(config *config.Volume, timeout time.Duration) (bool, error)

ExistsVolume tells if a volume exists. It is *not* suitable for any locking primitive.

func FormatVolume

func FormatVolume(config *config.Volume, do storage.DriverOptions) error

FormatVolume formats an existing volume.

func RemoveVolume

func RemoveVolume(config *config.Volume, timeout time.Duration) error

RemoveVolume removes a volume.

Types

This section is empty.

Jump to

Keyboard shortcuts

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