aws_ebs

package
v1.3.0-alpha.3....-c20dcfc Latest Latest
Warning

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

Go to latest
Published: May 16, 2016 License: Apache-2.0 Imports: 19 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 *awsElasticBlockStoreMounter, globalPDPath string) error

Attaches a disk to the current kubelet. Mounts the disk to it's global path.

func (*AWSDiskUtil) CreateVolume

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

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

func (*AWSDiskUtil) DetachDisk

func (util *AWSDiskUtil) DetachDisk(c *awsElasticBlockStoreUnmounter) 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