kubernetes: k8s.io/kubernetes/pkg/volume/gcepd Index | Files

package gcepd

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

Package gcepd contains the internal representation of GCE PersistentDisk volumes.


Package Files

attacher.go doc.go gce_pd.go gce_pd_block.go gce_util.go

func ProbeVolumePlugins Uses

func ProbeVolumePlugins() []volume.VolumePlugin

ProbeVolumePlugins is the primary entrypoint for volume plugins.

type GCEDiskUtil Uses

type GCEDiskUtil struct{}

GCEDiskUtil provides operation for GCE PD

func (*GCEDiskUtil) CreateVolume Uses

func (util *GCEDiskUtil) CreateVolume(c *gcePersistentDiskProvisioner, node *v1.Node, allowedTopologies []v1.TopologySelectorTerm) (string, int, map[string]string, string, error)

CreateVolume creates a GCE PD. Returns: gcePDName, volumeSizeGB, labels, fsType, error

func (*GCEDiskUtil) DeleteVolume Uses

func (util *GCEDiskUtil) DeleteVolume(d *gcePersistentDiskDeleter) error

DeleteVolume deletes a GCE PD Returns: error

Package gcepd imports 29 packages (graph) and is imported by 13 packages. Updated 2021-01-14. Refresh now. Tools for package owners.