package aws_ebs
import "k8s.io/kubernetes/pkg/volume/aws_ebs"
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 *awsElasticBlockStoreMounter, 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 *awsElasticBlockStoreUnmounter) error
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.
Source Files ¶
aws_ebs.go aws_util.go doc.go
- Version
- v1.3.0-alpha.4
- Published
- May 17, 2016
- Platform
- darwin/amd64
- Imports
- 19 packages
- Last checked
- 15 minutes ago –
Tools for package owners.