Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Filter ¶
type Filter struct {
// contains filtered or unexported fields
}
Filter is the default struct to hold all of the ec2.Filters that would be constructed based on the flags passed.
func (*Filter) Build ¶
Build will construct the AWS ec2 Filter for gathering instances based on given flag. Returns a list of ec2 filters
func (*Filter) ByAvailabilityZone ¶
ByAvailabilityZone will add a filter to the struct for searching within a given availability-zone. Multiple availability-zones would be comma separated.
func (*Filter) ByInstance ¶
ByInstance will add a filter to the struct for searching by instance-id.Multiple instance-id's would be comma separated.
Click to show internal directories.
Click to hide internal directories.