kubectl/pkg/cmd/util
Chris Bandy facdb16b53 Replace os.Setenv with testing.T.Setenv in tests
T.Setenv ensures that the environment is returned to its prior state
when the test ends. It also panics when called from a parallel test to
prevent racy test interdependencies.

Kubernetes-commit: 2181eea48435310d1b6e366ea8db2968c4941b93
2023-04-15 10:09:47 -05:00
..
editor Migrate genericclioptions.IOStreams usage to genericiooptions 2023-04-05 14:07:46 +03:00
podcmd cmd/kubectl: make 'kubectl logs' default to the first container when default container cannot be determined or found by annotations (#105964) 2022-01-07 09:40:41 +08:00
sanity Move pkg/kubectl/cmd/util and subdirs to staging 2019-07-28 21:29:36 -07:00
env_file.go Remove dependency of generators from create configmap 2021-01-10 18:47:32 -05:00
env_file_test.go Replace os.Setenv with testing.T.Setenv in tests 2023-04-15 10:09:47 -05:00
factory.go refactor factory to support fake openapiv3 2023-01-23 19:09:43 -08:00
factory_client_access.go Fallback query param verifier 2023-03-07 21:50:25 +00:00
helpers.go kubectl: Change subresource flag to beta 2023-03-14 21:44:32 +05:30
helpers_test.go Replace uses of ObjectReflectDiff with cmp.Diff 2023-03-23 11:34:03 -07:00
kubectl_match_version.go remove pkg/version and some of redundant copies of it 2019-09-10 14:42:55 -07:00
override_options.go Add --override-type flag to kubectl run and kubectl expose to allow the choice of using a JSON Patch or Strategic Merge Patch to apply the override to the generated output. 2021-11-05 07:10:47 -04:00
printing.go Move pkg/kubectl/cmd/util and subdirs to staging 2019-07-28 21:29:36 -07:00