helmfile/pkg/state
Eng Zer Jun ce3b81e2a1
test: use `T.Setenv` to set env vars in tests (#189)
This commit replaces `os.Setenv` with `t.Setenv` in tests. The
environment variable is automatically restored to its original value
when the test and all its subtests complete.

Reference: https://pkg.go.dev/testing#T.Setenv
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2022-06-30 09:15:34 +09:00
..
testdata Add regression tests for environment values merge (#1170) 2020-04-04 14:27:29 +09:00
chart_dependency.go Rename module to github.com/helmfile/helmfile 2022-05-18 10:05:07 -04:00
create.go little code optimize 2022-06-05 12:58:55 +08:00
create_test.go Rename module to github.com/helmfile/helmfile 2022-05-18 10:05:07 -04:00
environment.go Add support for kubeContext in environments (#1675) 2021-03-23 18:06:53 +09:00
envvals_loader.go Rename module to github.com/helmfile/helmfile 2022-05-18 10:05:07 -04:00
envvals_loader_test.go Adds feature to fetch release values and secret values from remote (#47) 2022-06-05 15:08:38 +09:00
helmx.go Rename module to github.com/helmfile/helmfile 2022-05-18 10:05:07 -04:00
release.go Rename module to github.com/helmfile/helmfile 2022-05-18 10:05:07 -04:00
release_error.go Fix misleading `helmfile diff` output (#1174) 2020-04-04 17:39:20 +09:00
release_filters.go Allow more characters in label selectors (#2064) 2022-03-09 20:38:29 +09:00
selector_test.go Allow more characters in label selectors (#2064) 2022-03-09 20:38:29 +09:00
state.go chore(state): Append Api Versions flags to helm-diff (#107) 2022-06-05 15:18:54 +09:00
state_exec_tmpl.go Rename module to github.com/helmfile/helmfile 2022-05-18 10:05:07 -04:00
state_exec_tmpl_test.go Rename module to github.com/helmfile/helmfile 2022-05-18 10:05:07 -04:00
state_gogetter_test.go Rename module to github.com/helmfile/helmfile 2022-05-18 10:05:07 -04:00
state_run.go Rename module to github.com/helmfile/helmfile 2022-05-18 10:05:07 -04:00
state_test.go test: use `T.Setenv` to set env vars in tests (#189) 2022-06-30 09:15:34 +09:00
storage.go Adds feature to fetch release values and secret values from remote (#47) 2022-06-05 15:08:38 +09:00
temp.go Introduce DISABLE_INSECURE_FEATURES to disable insecure command executions (#1) 2022-06-05 15:15:06 +09:00
temp_test.go Fix helmfile deps not to remove entries for charts that are being chartified 2022-04-06 02:12:08 +00:00
types.go Rename module to github.com/helmfile/helmfile 2022-05-18 10:05:07 -04:00
util.go Fix various golangci-lint errors (#2059) 2022-02-12 20:28:08 +09:00
util_test.go Add support for ChartCenter (#1492) 2020-09-21 15:31:24 +09:00