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

View File

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