Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EC2Mounter ¶
type EC2Mounter struct { Session *session.Session EC2 *ec2.EC2 IID ec2metadata.EC2InstanceIdentityDocument }
func NewEC2Mounter ¶
func NewEC2Mounter() (*EC2Mounter, error)
func (*EC2Mounter) CreateAndMount ¶
func (mounter *EC2Mounter) CreateAndMount(args *MountRequest) (*MountResponse, error)
func (*EC2Mounter) DetachAndDelete ¶
func (mounter *EC2Mounter) DetachAndDelete(volumeID string, mountPoint string) error
type MountRequest ¶
type MountRequest struct { Size int64 MountPoint string VolumeType string FSType string Iops int64 Keep bool }
func (*MountRequest) Validate ¶
func (m *MountRequest) Validate() error
type MountResponse ¶
Click to show internal directories.
Click to hide internal directories.