- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for GetAllLevelStrings (1.36 sec)
-
pkg/config/analysis/diag/level.go
func GetAllLevels() []Level { return []Level{Info, Warning, Error} } // GetAllLevelStrings returns a list of strings representing the names of all Levels defined. The order is arbitrary but // should be the same as GetAllLevels. func GetAllLevelStrings() []string { levels := GetAllLevels() var s []string for _, l := range levels { s = append(s, l.name) } return s }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Nov 17 12:28:05 UTC 2021 - 1.8K bytes - Viewed (0) -
istioctl/pkg/analyze/analyze.go
fmt.Sprintf("The severity level of analysis at which to set a non-zero exit code. Valid values: %v", diag.GetAllLevelStrings())) analysisCmd.PersistentFlags().Var(&outputThreshold, "output-threshold", fmt.Sprintf("The severity level of analysis at which to display messages. Valid values: %v", diag.GetAllLevelStrings())) analysisCmd.PersistentFlags().StringVarP(&msgOutputFormat, "output", "o", formatting.LogFormat,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 02 08:32:06 UTC 2024 - 17K bytes - Viewed (0) -
istioctl/pkg/precheck/precheck.go
cmd.PersistentFlags().Var(&outputThreshold, "output-threshold", fmt.Sprintf("The severity level of precheck at which to display messages. Valid values: %v", diag.GetAllLevelStrings())) cmd.PersistentFlags().StringVarP(&msgOutputFormat, "output", "o", formatting.LogFormat, fmt.Sprintf("Output format: one of %v", formatting.MsgOutputFormatKeys))
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Apr 12 02:57:30 UTC 2024 - 19.3K bytes - Viewed (0)