Documentation ¶
Overview ¶
Package gce_pd contains the internal representation of GCE PersistentDisk volumes.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ProbeVolumePlugins ¶
func ProbeVolumePlugins() []volume.VolumePlugin
This is the primary entrypoint for volume plugins.
Types ¶
type GCEDiskUtil ¶
type GCEDiskUtil struct{}
func (*GCEDiskUtil) CreateVolume ¶
func (gceutil *GCEDiskUtil) CreateVolume(c *gcePersistentDiskProvisioner) (string, int, map[string]string, string, error)
CreateVolume creates a GCE PD. Returns: gcePDName, volumeSizeGB, labels, fsType, error
func (*GCEDiskUtil) DeleteVolume ¶
func (util *GCEDiskUtil) DeleteVolume(d *gcePersistentDiskDeleter) error
Click to show internal directories.
Click to hide internal directories.