package gcepd
import "k8s.io/kubernetes/pkg/volume/gcepd"
Package gcepd contains the internal representation of GCE PersistentDisk volumes.
Index ¶
Functions ¶
func ProbeVolumePlugins ¶
func ProbeVolumePlugins() []volume.VolumePlugin
ProbeVolumePlugins is the primary entrypoint for volume plugins.
Types ¶
type GCEDiskUtil ¶
type GCEDiskUtil struct{}
GCEDiskUtil provides operation for GCE PD
func (*GCEDiskUtil) CreateVolume ¶
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 ¶
func (util *GCEDiskUtil) DeleteVolume(d *gcePersistentDiskDeleter) error
DeleteVolume deletes a GCE PD Returns: error
Source Files ¶
attacher.go doc.go gce_pd.go gce_pd_block.go gce_util.go
- Version
- v1.23.3
- Published
- Jan 25, 2022
- Platform
- linux/amd64
- Imports
- 29 packages
- Last checked
- 9 minutes ago –
Tools for package owners.