Documentation ¶
Index ¶
- func GenerateVolumeSnapshotDetails(snapshots []*ec2.Snapshot) map[string]VolumeSnapshotData
- func GetInstanceIds(instances *ec2.DescribeInstancesOutput) ([]*string, error)
- func GetUnattachedVolumes(volumes []*ec2.Volume) []*ec2.Volume
- type AmiData
- type EC2Client
- func (e *EC2Client) DescribeImages(input *ec2.DescribeImagesInput) (*ec2.DescribeImagesOutput, error)
- func (e *EC2Client) DescribeInstances(input *ec2.DescribeInstancesInput) (*ec2.DescribeInstancesOutput, error)
- func (e *EC2Client) DescribeSnapshots(input *ec2.DescribeSnapshotsInput) (*ec2.DescribeSnapshotsOutput, error)
- func (e *EC2Client) DescribeVolumes(input *ec2.DescribeVolumesInput) (*ec2.DescribeVolumesOutput, error)
- func (e *EC2Client) GetImages(input *ec2.DescribeImagesInput) (*ec2.DescribeImagesOutput, error)
- func (e *EC2Client) GetInstances(input *ec2.DescribeInstancesInput) (*ec2.DescribeInstancesOutput, error)
- func (e *EC2Client) GetSnapshots(input *ec2.DescribeSnapshotsInput) (*ec2.DescribeSnapshotsOutput, error)
- func (e *EC2Client) GetVolumes(input *ec2.DescribeVolumesInput) (*ec2.DescribeVolumesOutput, error)
- type InstanceData
- type SnapshotData
- type VolumeSnapshotData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateVolumeSnapshotDetails ¶
func GenerateVolumeSnapshotDetails(snapshots []*ec2.Snapshot) map[string]VolumeSnapshotData
func GetInstanceIds ¶
func GetInstanceIds(instances *ec2.DescribeInstancesOutput) ([]*string, error)
Types ¶
type AmiData ¶
type AmiData struct { Images []struct { ImageId string `json:"ImageId"` } `json:"Images"` }
type EC2Client ¶
func (*EC2Client) DescribeImages ¶
func (e *EC2Client) DescribeImages(input *ec2.DescribeImagesInput) (*ec2.DescribeImagesOutput, error)
func (*EC2Client) DescribeInstances ¶
func (e *EC2Client) DescribeInstances(input *ec2.DescribeInstancesInput) (*ec2.DescribeInstancesOutput, error)
func (*EC2Client) DescribeSnapshots ¶
func (e *EC2Client) DescribeSnapshots(input *ec2.DescribeSnapshotsInput) (*ec2.DescribeSnapshotsOutput, error)
func (*EC2Client) DescribeVolumes ¶
func (e *EC2Client) DescribeVolumes(input *ec2.DescribeVolumesInput) (*ec2.DescribeVolumesOutput, error)
func (*EC2Client) GetImages ¶
func (e *EC2Client) GetImages(input *ec2.DescribeImagesInput) (*ec2.DescribeImagesOutput, error)
func (*EC2Client) GetInstances ¶
func (e *EC2Client) GetInstances(input *ec2.DescribeInstancesInput) (*ec2.DescribeInstancesOutput, error)
func (*EC2Client) GetSnapshots ¶
func (e *EC2Client) GetSnapshots(input *ec2.DescribeSnapshotsInput) (*ec2.DescribeSnapshotsOutput, error)
func (*EC2Client) GetVolumes ¶
func (e *EC2Client) GetVolumes(input *ec2.DescribeVolumesInput) (*ec2.DescribeVolumesOutput, error)
type InstanceData ¶
type InstanceData struct { Reservations []struct { Instances []struct { InstanceId string `json:"InstanceId"` } `json:"Instances"` } `json:"Reservations"` }
type SnapshotData ¶
type VolumeSnapshotData ¶
Click to show internal directories.
Click to hide internal directories.