Documentation ¶
Overview ¶
Package aws_ebs contains the internal representation of AWS Elastic Block Store volumes.
Index ¶
- func ProbeVolumePlugins() []volume.VolumePlugin
- type AWSDiskUtil
- func (diskUtil *AWSDiskUtil) AttachAndMountDisk(b *awsElasticBlockStoreBuilder, globalPDPath string) error
- func (util *AWSDiskUtil) CreateVolume(c *awsElasticBlockStoreProvisioner) (string, int, map[string]string, error)
- func (util *AWSDiskUtil) DeleteVolume(d *awsElasticBlockStoreDeleter) error
- func (util *AWSDiskUtil) DetachDisk(c *awsElasticBlockStoreCleaner) error
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 AWSDiskUtil ¶
type AWSDiskUtil struct{}
func (*AWSDiskUtil) AttachAndMountDisk ¶
func (diskUtil *AWSDiskUtil) AttachAndMountDisk(b *awsElasticBlockStoreBuilder, globalPDPath string) error
Attaches a disk to the current kubelet. Mounts the disk to it's global path.
func (*AWSDiskUtil) CreateVolume ¶ added in v1.2.0
func (util *AWSDiskUtil) CreateVolume(c *awsElasticBlockStoreProvisioner) (string, int, map[string]string, error)
CreateVolume creates an AWS EBS volume. Returns: volumeID, volumeSizeGB, labels, error
func (*AWSDiskUtil) DeleteVolume ¶ added in v1.2.0
func (util *AWSDiskUtil) DeleteVolume(d *awsElasticBlockStoreDeleter) error
func (*AWSDiskUtil) DetachDisk ¶
func (util *AWSDiskUtil) DetachDisk(c *awsElasticBlockStoreCleaner) error
Unmounts the device and detaches the disk from the kubelet's host machine.
Click to show internal directories.
Click to hide internal directories.