Fix linting
Signed-off-by: Justin Abrahms <justin@abrah.ms>
This commit is contained in:
parent
4ad9db07cb
commit
867dc716ae
|
|
@ -2097,11 +2097,12 @@ type configImpl struct {
|
||||||
skipSchemaValidation bool
|
skipSchemaValidation bool
|
||||||
skipRefresh bool
|
skipRefresh bool
|
||||||
|
|
||||||
skipNeeds bool
|
skipNeeds bool
|
||||||
includeNeeds bool
|
includeNeeds bool
|
||||||
includeTransitiveNeeds bool
|
includeTransitiveNeeds bool
|
||||||
skipCharts bool
|
enforceNeedsAreInstalled bool
|
||||||
kubeVersion string
|
skipCharts bool
|
||||||
|
kubeVersion string
|
||||||
}
|
}
|
||||||
|
|
||||||
func (c configImpl) Selectors() []string {
|
func (c configImpl) Selectors() []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"
|
||||||
}
|
}
|
||||||
|
|
@ -2216,44 +2221,45 @@ type applyConfig struct {
|
||||||
// TODO: Remove this function once Helmfile v0.x
|
// TODO: Remove this function once Helmfile v0.x
|
||||||
retainValuesFiles bool
|
retainValuesFiles bool
|
||||||
|
|
||||||
set []string
|
set []string
|
||||||
validate bool
|
validate bool
|
||||||
skipCleanup bool
|
skipCleanup bool
|
||||||
skipCRDs bool
|
skipCRDs bool
|
||||||
skipDeps bool
|
skipDeps bool
|
||||||
skipRefresh bool
|
skipRefresh bool
|
||||||
skipNeeds bool
|
skipNeeds bool
|
||||||
includeNeeds bool
|
includeNeeds bool
|
||||||
includeTransitiveNeeds bool
|
includeTransitiveNeeds bool
|
||||||
includeTests bool
|
enforceNeedsAreInstalled bool
|
||||||
suppress []string
|
includeTests bool
|
||||||
suppressSecrets bool
|
suppress []string
|
||||||
showSecrets bool
|
suppressSecrets bool
|
||||||
noHooks bool
|
showSecrets bool
|
||||||
suppressDiff bool
|
noHooks bool
|
||||||
noColor bool
|
suppressDiff bool
|
||||||
color bool
|
noColor bool
|
||||||
context int
|
color bool
|
||||||
diffOutput string
|
context int
|
||||||
concurrency int
|
diffOutput string
|
||||||
detailedExitcode bool
|
concurrency int
|
||||||
stripTrailingCR bool
|
detailedExitcode bool
|
||||||
interactive bool
|
stripTrailingCR bool
|
||||||
skipDiffOnInstall bool
|
interactive bool
|
||||||
syncArgs string
|
skipDiffOnInstall bool
|
||||||
diffArgs string
|
syncArgs string
|
||||||
logger *zap.SugaredLogger
|
diffArgs string
|
||||||
wait bool
|
logger *zap.SugaredLogger
|
||||||
waitForJobs bool
|
wait bool
|
||||||
reuseValues bool
|
waitForJobs bool
|
||||||
postRenderer string
|
reuseValues bool
|
||||||
postRendererArgs []string
|
postRenderer string
|
||||||
skipSchemaValidation bool
|
postRendererArgs []string
|
||||||
kubeVersion string
|
skipSchemaValidation bool
|
||||||
suppressOutputLineRegex []string
|
kubeVersion string
|
||||||
showOnly []string
|
suppressOutputLineRegex []string
|
||||||
hideNotes bool
|
showOnly []string
|
||||||
takeOwnership bool
|
hideNotes bool
|
||||||
|
takeOwnership bool
|
||||||
|
|
||||||
// template-only options
|
// template-only options
|
||||||
includeCRDs, skipTests bool
|
includeCRDs, skipTests 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
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -16,36 +16,37 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
type diffConfig struct {
|
type diffConfig struct {
|
||||||
args string
|
args string
|
||||||
diffArgs string
|
diffArgs string
|
||||||
values []string
|
values []string
|
||||||
retainValuesFiles bool
|
retainValuesFiles bool
|
||||||
set []string
|
set []string
|
||||||
validate bool
|
validate bool
|
||||||
skipCRDs bool
|
skipCRDs bool
|
||||||
skipDeps bool
|
skipDeps bool
|
||||||
skipRefresh bool
|
skipRefresh bool
|
||||||
includeTests bool
|
includeTests bool
|
||||||
skipNeeds bool
|
skipNeeds bool
|
||||||
includeNeeds bool
|
includeNeeds bool
|
||||||
includeTransitiveNeeds bool
|
includeTransitiveNeeds bool
|
||||||
suppress []string
|
enforceNeedsAreInstalled bool
|
||||||
suppressSecrets bool
|
suppress []string
|
||||||
showSecrets bool
|
suppressSecrets bool
|
||||||
noHooks bool
|
showSecrets bool
|
||||||
suppressDiff bool
|
noHooks bool
|
||||||
suppressOutputLineRegex []string
|
suppressDiff bool
|
||||||
noColor bool
|
suppressOutputLineRegex []string
|
||||||
context int
|
noColor bool
|
||||||
diffOutput string
|
context int
|
||||||
concurrency int
|
diffOutput string
|
||||||
detailedExitcode bool
|
concurrency int
|
||||||
stripTrailingCR bool
|
detailedExitcode bool
|
||||||
interactive bool
|
stripTrailingCR bool
|
||||||
skipDiffOnInstall bool
|
interactive bool
|
||||||
skipSchemaValidation bool
|
skipDiffOnInstall bool
|
||||||
reuseValues bool
|
skipSchemaValidation bool
|
||||||
logger *zap.SugaredLogger
|
reuseValues bool
|
||||||
|
logger *zap.SugaredLogger
|
||||||
}
|
}
|
||||||
|
|
||||||
func (a diffConfig) Args() string {
|
func (a diffConfig) Args() string {
|
||||||
|
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue