Documentation ¶
Overview ¶
Package filter provides the general struct used to filter the imports
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Filter ¶
type Filter struct { Tags []tag.Tag Include []string Exclude []string Targets []string // contains filtered or unexported fields }
Filter is the list of all possible filters that can be used to filter the results
func (*Filter) IsExcluded ¶
IsExcluded checks if the v is on the Exclude list
func (*Filter) IsIncluded ¶ added in v0.5.0
IsIncluded checks if the v is on the Include list
func (*Filter) TargetsTypesWithIDs ¶ added in v0.4.0
TargetsTypesWithIDs returns all the types (ex: aws_instance) from the list of Targets and the IDs
Click to show internal directories.
Click to hide internal directories.