# Functions
Attach doesn't attach a volume.
BuildJSONResponse marshals a message into the FlexVolume JSON Response.
Config controls the docker behavior.
ErrorResponse creates a Response with Status and Message set.
Get a volume (create if necessary) This was added to k8s 1.6.
Handle the conversion of flexvol commands and args to docker volume.
Mount a volume.
Unmount a volumenolint :gocyclo.
# Constants
AttachCommand - Attach the volume specified by the given spec.
DetachCommand - Detach the volume from the kubelet.
FailureJSON is a pre-marshalled response used in the case of a marshalling error.
FailureStatus indicates failure.
GetVolumeNameCommand - Get the name of the volume.
InitCommand - Initializes the driver.
MountCommand - Mount device mounts the device to a global path which individual pods can then bind mount.
NotSupportedStatus indicates not supported.
SuccessStatus indicates success.
UnmountCommand - Unmounts the filesystem for the device.
# Structs
AttachRequest is used to create a volume if one with this name doesn't exist.
Response containers the required information for each invocation.