ProcessDiffOptions processes the set flags and handles possible interactions between them
(f *pflag.FlagSet, o *diff.Options)
| 21 | |
| 22 | // ProcessDiffOptions processes the set flags and handles possible interactions between them |
| 23 | func ProcessDiffOptions(f *pflag.FlagSet, o *diff.Options) { |
| 24 | if q, _ := f.GetBool("suppress-secrets"); q { |
| 25 | o.SuppressedKinds = append(o.SuppressedKinds, "Secret") |
| 26 | } |
| 27 | } |
no outgoing calls
no test coverage detected