Documentation
¶
Index ¶
- func CleanIDs(list string) []string
- func ExitWithError(err error)
- func GetSubstitutionMap(substituData []byte) (map[string]string, error)
- func MakeSubstitutions(s string, ext string, m map[string]string) string
- func PrettyPrint(r *check.Controls, summary check.Summary, ...)
- func PrintOutput(output string, outputFile string)
- type SubstitutionList
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExitWithError ¶
func ExitWithError(err error)
ExitWithError takes terminates execution with error message.
func GetSubstitutionMap ¶
GetSubstitutionMap is building the key:value map
func MakeSubstitutions ¶
MakeSubstitutions will replace all $keys with values.
func PrettyPrint ¶
PrettyPrint outputs the results to stdout in human-readable format
func PrintOutput ¶
PrintOutput writes data to the specified file
Types ¶
type SubstitutionList ¶
type SubstitutionList struct {
Name string `yaml:"value"`
}
SubstitutionList is a Config file for substitution
Click to show internal directories.
Click to hide internal directories.