vsphere_volume

package
v1.3.0-beta.2 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2016 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrProbeVolume = errors.New("Error scanning attached volumes")

Functions

func ProbeVolumePlugins

func ProbeVolumePlugins() []volume.VolumePlugin

This is the primary entrypoint for volume plugins.

Types

type VsphereDiskUtil

type VsphereDiskUtil struct{}

func (*VsphereDiskUtil) AttachDisk

func (util *VsphereDiskUtil) AttachDisk(vm *vsphereVolumeMounter, globalPDPath string) error

Attaches a disk to the current kubelet. Mounts the disk to it's global path.

func (*VsphereDiskUtil) CreateVolume

func (util *VsphereDiskUtil) CreateVolume(v *vsphereVolumeProvisioner) (vmDiskPath string, volumeSizeKB int, err error)

CreateVolume creates a vSphere volume.

func (*VsphereDiskUtil) DeleteVolume

func (util *VsphereDiskUtil) DeleteVolume(vd *vsphereVolumeDeleter) error

DeleteVolume deletes a vSphere volume.

func (*VsphereDiskUtil) DetachDisk

func (util *VsphereDiskUtil) DetachDisk(vu *vsphereVolumeUnmounter) error

Unmounts the device and detaches the disk from the kubelet's host machine.

Jump to

Keyboard shortcuts

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