Documentation ¶
Index ¶
- Variables
- func ProbeVolumePlugins() []volume.VolumePlugin
- type VsphereDiskUtil
- func (util *VsphereDiskUtil) AttachDisk(vm *vsphereVolumeMounter, globalPDPath string) error
- func (util *VsphereDiskUtil) CreateVolume(v *vsphereVolumeProvisioner) (vmDiskPath string, volumeSizeKB int, err error)
- func (util *VsphereDiskUtil) DeleteVolume(vd *vsphereVolumeDeleter) error
- func (util *VsphereDiskUtil) DetachDisk(vu *vsphereVolumeUnmounter) error
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.
Click to show internal directories.
Click to hide internal directories.