photon_pd

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2016 License: Apache-2.0 Imports: 19 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 PhotonDiskUtil

type PhotonDiskUtil struct{}

func (*PhotonDiskUtil) CreateVolume

func (util *PhotonDiskUtil) CreateVolume(p *photonPersistentDiskProvisioner) (pdID string, capacityGB int, err error)

CreateVolume creates a PhotonController persistent disk.

func (*PhotonDiskUtil) DeleteVolume

func (util *PhotonDiskUtil) DeleteVolume(pd *photonPersistentDiskDeleter) error

DeleteVolume deletes a vSphere volume.

Jump to

Keyboard shortcuts

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