Documentation ¶
Index ¶
- func CombinationsStr(iterable []string, r int) chan []string
- func ComputeLayers(withPlan bool) ([]*data.Layer, error)
- func GenCombinations(n, r int) <-chan []int
- func GetLayers() ([]*data.Layer, error)
- func GetModules() (map[string]data.TerraformModule, error)
- func GetWhitelistingComments(path string) ([]data.WhitelistComment, error)
- func HasError(checks []data.Check) bool
- func LoadModule(path string) (data.TerraformModule, error)
- func RenderChecks(checkResults []data.Check, verbose bool)
- func RenderTable(checkResults []data.Check)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CombinationsStr ¶ added in v0.2.0
CombinationsStr generates all the combinations of r elements extracted from an slice of strings
func GenCombinations ¶ added in v0.2.0
GenCombinations generates, from two natural numbers n > r, all the possible combinations of r indexes taken from 0 to n-1. For example if n=3 and r=2, the result will be: [0,1], [0,2] and [1,2]
func GetModules ¶
func GetModules() (map[string]data.TerraformModule, error)
func GetWhitelistingComments ¶ added in v0.2.0
func GetWhitelistingComments(path string) ([]data.WhitelistComment, error)
func LoadModule ¶ added in v0.2.0
func LoadModule(path string) (data.TerraformModule, error)
func RenderChecks ¶
func RenderTable ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.