minikube/pkg/addons
Eng Zer Jun 9d85be1a99
test: use `T.Setenv` to set env vars in tests
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-11-08 10:30:29 +08:00
..
addons.go disable efk addon 2022-11-03 16:38:59 -07:00
addons_autopause.go implement socket_vmnet 2022-10-03 15:14:36 -07:00
addons_gcpauth.go refresh pods before verifying 2022-06-06 17:46:44 -07:00
addons_storage_classes.go change filenames to be more descriptive 2021-03-09 15:54:30 -08:00
addons_test.go test: use `T.Setenv` to set env vars in tests 2022-11-08 10:30:29 +08:00
config.go Added cloud-spanner emulator add-on. 2022-10-20 23:16:53 +00:00
kubectl.go no need to reverse file order for kubectl delete 2021-10-26 11:46:29 -07:00
kubectl_test.go no need to reverse file order for kubectl delete 2021-10-26 11:46:29 -07:00
validations.go change variable name from addonList to addonListFlag 2021-05-21 13:39:05 +05:30
validations_test.go Add unit test 2020-10-23 10:13:38 +08:00