aws_ebs

package
v1.2.4-rancher5 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2016 License: Apache-2.0 Imports: 20 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 (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.

Jump to

Keyboard shortcuts

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