aws_ebs

package
v0.0.0-...-a7f0406 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2020 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Overview

Package aws_ebs contains the internal representation of AWS Elastic Block Store 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 AWSDiskUtil

type AWSDiskUtil struct{}

func (*AWSDiskUtil) AttachAndMountDisk

func (util *AWSDiskUtil) AttachAndMountDisk(b *awsElasticBlockStoreBuilder, globalPDPath string) error

Attaches a disk specified by a volume.AWSElasticBlockStore to the current kubelet. Mounts the disk to it's global path.

func (*AWSDiskUtil) CreateVolume

func (util *AWSDiskUtil) CreateVolume(c *awsElasticBlockStoreProvisioner) (volumeID string, volumeSizeGB int, err error)

func (*AWSDiskUtil) DeleteVolume

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.

Jump to

Keyboard shortcuts

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