Discover Packages
github.com/davyj0nes/ec2-stats
aws
ebs
package
Version:
v0.0.0-...-4deac7f
Opens a new window with list of versions in this module.
Published: Jun 28, 2018
License: MIT
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type EBS struct {
EBSVolumes []Volume
Statistics []Stat
}
EBS contains info relating to EBS resources within AWS EC2
New creates a pointer to EBS instance with an initialised client
func (ebs *EBS ) DetailedTextOutput() []string
DetailedTextOutput returns the slice of data about all the EBS Volumes found.
output is formatted so it ca be used by tabwriter for better CLI formatting.
Volumes gets information about EBS Volumes
type Stat struct {
Region string
Available int
InUse int
OlderThan14Days int
}
Stat describes the statistics about EBS Volumes
Volume contains fields pertaining to an AWS EBS VColume
Source Files
¶
Click to show internal directories.
Click to hide internal directories.