Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetRegisteredRules ¶
GetRegisteredRules provides all Checks which have been registered with this package
func OptionExcludeRules ¶
func OptionIncludeIgnored ¶
func OptionIncludeIgnored() func(s *Scanner)
func OptionIncludePassed ¶
func OptionIncludePassed() func(s *Scanner)
func RegisterCheckRule ¶
RegisterCheckRule registers a new Rule which should be run on future scans
Types ¶
type Scanner ¶
type Scanner struct {
// contains filtered or unexported fields
}
Scanner scans HCL blocks by running all registered rules against them
type Statistics ¶
type Statistics []StatisticsItem
func AddStatisticsCount ¶
func AddStatisticsCount(StatisticsSlice Statistics, result result.Result) Statistics
func SortStatistics ¶
func SortStatistics(statistics Statistics) Statistics
func (Statistics) PrintStatisticsTable ¶
func (statistics Statistics) PrintStatisticsTable()
Click to show internal directories.
Click to hide internal directories.