awsebs

package
v0.0.0-...-d75b2e9 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2020 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Overview

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

ProbeVolumePlugins is the primary entrypoint for volume plugins.

Types

type AWSDiskUtil

type AWSDiskUtil struct{}

AWSDiskUtil provides operations for EBS volume.

func (*AWSDiskUtil) CreateVolume

func (util *AWSDiskUtil) CreateVolume(c *awsElasticBlockStoreProvisioner, node *v1.Node, allowedTopologies []v1.TopologySelectorTerm) (aws.KubernetesVolumeID, int, map[string]string, string, error)

CreateVolume creates an AWS EBS volume. Returns: volumeID, volumeSizeGB, labels, error

func (*AWSDiskUtil) DeleteVolume

func (util *AWSDiskUtil) DeleteVolume(d *awsElasticBlockStoreDeleter) error

DeleteVolume deletes an AWS EBS volume.

Jump to

Keyboard shortcuts

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