Fix linting

Signed-off-by: Justin Abrahms <justin@abrah.ms>
This commit is contained in:
Justin Abrahms 2025-01-25 14:43:57 -08:00 committed by yxxhero
parent 4ad9db07cb
commit 867dc716ae
2 changed files with 88 additions and 73 deletions

View File

@ -2100,6 +2100,7 @@ type configImpl struct {
skipNeeds bool skipNeeds bool
includeNeeds bool includeNeeds bool
includeTransitiveNeeds bool includeTransitiveNeeds bool
enforceNeedsAreInstalled bool
skipCharts bool skipCharts bool
kubeVersion string kubeVersion string
} }
@ -2156,6 +2157,10 @@ func (c configImpl) IncludeTransitiveNeeds() bool {
return c.includeTransitiveNeeds return c.includeTransitiveNeeds
} }
func (c configImpl) EnforceNeedsAreInstalled() bool {
return c.enforceNeedsAreInstalled
}
func (c configImpl) OutputDir() string { func (c configImpl) OutputDir() string {
return "output/subdir" return "output/subdir"
} }
@ -2225,6 +2230,7 @@ type applyConfig struct {
skipNeeds bool skipNeeds bool
includeNeeds bool includeNeeds bool
includeTransitiveNeeds bool includeTransitiveNeeds bool
enforceNeedsAreInstalled bool
includeTests bool includeTests bool
suppress []string suppress []string
suppressSecrets bool suppressSecrets bool
@ -2316,6 +2322,10 @@ func (a applyConfig) IncludeTransitiveNeeds() bool {
return a.includeTransitiveNeeds return a.includeTransitiveNeeds
} }
func (a applyConfig) EnforceNeedsAreInstalled() bool {
return a.enforceNeedsAreInstalled
}
func (a applyConfig) IncludeTests() bool { func (a applyConfig) IncludeTests() bool {
return a.includeTests return a.includeTests
} }

View File

@ -29,6 +29,7 @@ type diffConfig struct {
skipNeeds bool skipNeeds bool
includeNeeds bool includeNeeds bool
includeTransitiveNeeds bool includeTransitiveNeeds bool
enforceNeedsAreInstalled bool
suppress []string suppress []string
suppressSecrets bool suppressSecrets bool
showSecrets bool showSecrets bool
@ -96,6 +97,10 @@ func (a diffConfig) IncludeTransitiveNeeds() bool {
return a.includeTransitiveNeeds return a.includeTransitiveNeeds
} }
func (a diffConfig) EnforceNeedsAreInstalled() bool {
return a.enforceNeedsAreInstalled
}
func (a diffConfig) Suppress() []string { func (a diffConfig) Suppress() []string {
return a.suppress return a.suppress
} }