kubernetesk8s.io/kubernetes/pkg/volume/flexvolume Index | Files

package flexvolume

import "k8s.io/kubernetes/pkg/volume/flexvolume"

Index

Constants

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"
)

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.

Source Files

flexvolume.go flexvolume_util.go

Version
v1.4.0-beta.5
Published
Sep 15, 2016
Platform
linux/amd64
Imports
15 packages
Last checked
4 minutes ago

Tools for package owners.