Versions in this module Expand all Collapse all v0 v0.4.1 Feb 1, 2018 v0.4.0 Dec 11, 2017 Changes in this version + var MountedError = errors.New("drive is already mounted") + func Create(svc *ec2.EC2, iid *IID, size int64, typ string, iops int64, is ...int) (*ec2.Volume, error) + func CreateAttach(cli *Args) ([]string, error) + func DeleteOnTermination(svc *ec2.EC2, instanceId string, volumeId string, attachDevice string) error + func EFSMain() + func EFSMount(efs string, mountPoint string, mountOpts string) error + func LocalMain() + func Main() + func MountLocal(deviceCandidates []string, mountBase string) ([]string, error) + func WaitForVolumeStatus(svc *ec2.EC2, volumeId *string, status string) error + type Args struct + FSType string + Iops int64 + Keep bool + MountPoint string + N int + Size int64 + VolumeType string + func (a Args) Version() string + type EFSArgs struct + EFS string + MountOptions string + MountPoint string + type IID struct + AvailabilityZone string + ImageId string + InstanceId string + InstanceType string + Region string + func (i *IID) Get() error + type LocalArgs struct + Devices []string + MountPrefix string + func (l LocalArgs) Description() string + func (l LocalArgs) Version() string