ec2

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2020 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindEphemeralDevices

func FindEphemeralDevices() (paths []string, err error)

FindEphemeralDevices returns the absolute paths to all ephemeral devices.

Based on this EBS-focused approach:

https://github.com/kubernetes/kubernetes/blob/f4472b1a92877ed4b1576e7e44496b0de7a8efe2/pkg/volume/aws_ebs/aws_util.go#L227
Apache 2.0: https://github.com/kubernetes/kubernetes/blob/f4472b1a92877ed4b1576e7e44496b0de7a8efe2/LICENSE

Changes:

  • Use to cage_file.Readdirnames to find multiple devices instead of only one.

Types

This section is empty.

Jump to

Keyboard shortcuts

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