Documentation
¶
Index ¶
Constants ¶
View Source
const (
// StatusSuccess represents the successful completion of command.
StatusSuccess = "Success"
// StatusFailed represents that the command failed.
StatusFailure = "Failed"
// StatusNotSupported represents that the command is not supported.
StatusNotSupported = "Not supported"
)
Variables ¶
This section is empty.
Functions ¶
func ProbeVolumePlugins ¶
func ProbeVolumePlugins(pluginDir string) []volume.VolumePlugin
This is the primary entrypoint for volume plugins.
Types ¶
type FlexVolumeDriverStatus ¶
type FlexVolumeDriverStatus struct {
// Status of the callout. One of "Success" or "Failure".
Status string
// Message is the reason for failure.
Message string
// Device assigned by the driver.
Device string `json:"device"`
}
FlexVolumeDriverStatus represents the return value of the driver callout.
Click to show internal directories.
Click to hide internal directories.