gcepd

package
v1.21.15-rc.0 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2022 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Overview

Package gcepd 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

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

Jump to

Keyboard shortcuts

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