kubectl/pkg/cmd/config
Claudiu Belu 0ee0d225f2 Replaces path.Operation with filepath.Operation (staging)
The path module has a few different functions:
Clean, Split, Join, Ext, Dir, Base, IsAbs. These functions do not
take into account the OS-specific path separator, meaning that they
won't behave as intended on Windows.

For example, Dir is supposed to return all but the last element of the
path. For the path "C:\some\dir\somewhere", it is supposed to return
"C:\some\dir\", however, it returns ".".

Instead of these functions, the ones in filepath should be used instead.

Kubernetes-commit: 856bb5c8f266f5276f1a576f47be622d7cb384e7
2022-06-15 15:17:24 +03:00
..
config.go Update CLI help text for grammar and consistency 2023-06-12 15:55:59 -04:00
config_test.go Replaces path.Operation with filepath.Operation (staging) 2022-06-15 15:17:24 +03:00
current_context.go Minor adjustments to descriptions and example text 2021-07-06 15:05:26 -04:00
current_context_test.go fix fd leaks and failed file removing for pkg kubectl and pod-security-admission 2023-05-03 01:36:46 +08:00
delete_cluster.go Refactor completion code into its own package 2022-03-24 09:06:05 -04:00
delete_cluster_test.go fix fd leaks and failed file removing for pkg kubectl and pod-security-admission 2023-05-03 01:36:46 +08:00
delete_context.go Refactor completion code into its own package 2022-03-24 09:06:05 -04:00
delete_context_test.go fix fd leaks and failed file removing for pkg kubectl and pod-security-admission 2023-05-03 01:36:46 +08:00
delete_user.go Migrate genericclioptions.IOStreams usage to genericiooptions 2023-04-05 14:07:46 +03:00
delete_user_test.go Migrate genericclioptions.IOStreams usage to genericiooptions 2023-04-05 14:07:46 +03:00
get_clusters.go Minor adjustments to descriptions and example text 2021-07-06 15:05:26 -04:00
get_clusters_test.go fix fd leaks and failed file removing for pkg kubectl and pod-security-admission 2023-05-03 01:36:46 +08:00
get_contexts.go Migrate genericclioptions.IOStreams usage to genericiooptions 2023-04-05 14:07:46 +03:00
get_contexts_test.go fix fd leaks and failed file removing for pkg kubectl and pod-security-admission 2023-05-03 01:36:46 +08:00
get_users.go Migrate genericclioptions.IOStreams usage to genericiooptions 2023-04-05 14:07:46 +03:00
get_users_test.go Migrate genericclioptions.IOStreams usage to genericiooptions 2023-04-05 14:07:46 +03:00
navigation_step_parser.go Change reflect.Ptr to reflect.Pointer 2022-06-26 01:23:43 +09:00
navigation_step_parser_test.go Replace uses of diff.ObjectDiff with cmp.Diff 2023-03-23 11:29:01 -07:00
rename_context.go Refactor completion code into its own package 2022-03-24 09:06:05 -04:00
rename_context_test.go fix fd leaks and failed file removing for pkg kubectl and pod-security-admission 2023-05-03 01:36:46 +08:00
set.go Change reflect.Ptr to reflect.Pointer 2022-06-26 01:23:43 +09:00
set_cluster.go Update CLI help text for grammar and consistency 2023-06-12 15:55:59 -04:00
set_cluster_test.go fix fd leaks and failed file removing for pkg kubectl and pod-security-admission 2023-05-03 01:36:46 +08:00
set_context.go Refactor completion code into its own package 2022-03-24 09:06:05 -04:00
set_context_test.go fix fd leaks and failed file removing for pkg kubectl and pod-security-admission 2023-05-03 01:36:46 +08:00
set_credentials.go Use tristate for provideclusterinfo to manage provided flag 2023-11-29 08:58:59 +03:00
set_credentials_test.go fix fd leaks and failed file removing for pkg kubectl and pod-security-admission 2023-05-03 01:36:46 +08:00
set_test.go fix fd leaks and failed file removing for pkg kubectl and pod-security-admission 2023-05-03 01:36:46 +08:00
unset.go Minor adjustments to descriptions and example text 2021-07-06 15:05:26 -04:00
unset_test.go fix fd leaks and failed file removing for pkg kubectl and pod-security-admission 2023-05-03 01:36:46 +08:00
use_context.go Refactor completion code into its own package 2022-03-24 09:06:05 -04:00
use_context_test.go fix fd leaks and failed file removing for pkg kubectl and pod-security-admission 2023-05-03 01:36:46 +08:00
view.go Update CLI help text for grammar and consistency 2023-06-12 15:55:59 -04:00
view_test.go fix fd leaks and failed file removing for pkg kubectl and pod-security-admission 2023-05-03 01:36:46 +08:00