mirror of
https://github.com/helmfile/helmfile.git
synced 2026-10-01 00:17:41 +02:00
* Improve code organization To make sure it is still readable after upcoming changes to helmfile * feat: `helmfile deps` to update dependencies of all the local charts Resolves #450 * feat: helmfile updates repos and build deps by default But not update deps. Use `helmfile deps` to update deps, and provide `--skip-deps` to skip updating repos and builds deps in sync/diff/apply/template Resolves #415 * Improve integration test coverage
20 lines
344 B
Go
20 lines
344 B
Go
package app
|
|
|
|
import (
|
|
"fmt"
|
|
"strings"
|
|
)
|
|
|
|
type NoMatchingHelmfileError struct {
|
|
selectors []string
|
|
env string
|
|
}
|
|
|
|
func (e *NoMatchingHelmfileError) Error() string {
|
|
return fmt.Sprintf(
|
|
"err: no releases found that matches specified selector(%s) and environment(%s), in any helmfile",
|
|
strings.Join(e.selectors, ", "),
|
|
e.env,
|
|
)
|
|
}
|