// AllStages returns all possible stages func AllStages() sets.String { … } // AllLevels returns all possible levels func AllLevels() sets.String { … } // InvertStages subtracts the given array of stages from all stages func InvertStages(stages []audit.Stage) []audit.Stage { … } // ConvertStagesToStrings converts an array of stages to a string array func ConvertStagesToStrings(stages []audit.Stage) []string { … } // ConvertStringSetToStages converts a string set to an array of stages func ConvertStringSetToStages(set sets.String) []audit.Stage { … }