(cmd *cobra.Command, key string, values []string)
| 486 | } |
| 487 | |
| 488 | func setCommandAnnotationList(cmd *cobra.Command, key string, values []string) { |
| 489 | if cmd.Annotations == nil { |
| 490 | cmd.Annotations = make(map[string]string) |
| 491 | } |
| 492 | cmd.Annotations[key] = strings.Join(values, ",") |
| 493 | } |
| 494 | |
| 495 | func commandManifestAuthModes(cmd *cobra.Command) []string { |
| 496 | if modes := commandAnnotationList(cmd, commandAuthModesAnnotation); modes != nil { |
no outgoing calls
no test coverage detected