MCPcopy Index your code
hub / github.com/databus23/helm-diff / ProcessDiffOptions

Function ProcessDiffOptions

cmd/options.go:23–27  ·  view source on GitHub ↗

ProcessDiffOptions processes the set flags and handles possible interactions between them

(f *pflag.FlagSet, o *diff.Options)

Source from the content-addressed store, hash-verified

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

Callers 5

releaseCmdFunction · 0.85
localCmdFunction · 0.85
revisionCmdFunction · 0.85
newChartCommandFunction · 0.85
rollbackCmdFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected