kubectl/pkg/cmd
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
..
annotate Gracefully handle empty config error when local flag is used 2023-06-15 10:13:52 +03:00
apiresources Fix typo in kubectl api-resources help text for --categories flag 2023-04-25 20:26:10 -04:00
apply Make OpenAPIGetter tolerant of nil 2023-12-15 13:44:54 -05:00
attach remote command turn on feature gates 2024-02-13 14:10:40 -08:00
auth Update CLI help text for grammar and consistency 2023-06-12 15:55:59 -04:00
autoscale Migrate genericclioptions.IOStreams usage to genericiooptions 2023-04-05 14:07:46 +03:00
certificates Update CLI help text for grammar and consistency 2023-06-12 15:55:59 -04:00
clusterinfo Replaces path.Operation with filepath.Operation (staging) 2022-06-15 15:17:24 +03:00
completion Update CLI help text for grammar and consistency 2023-06-12 15:55:59 -04:00
config Replaces path.Operation with filepath.Operation (staging) 2022-06-15 15:17:24 +03:00
cp cleanup the retrun style for cp execute function 2023-10-07 19:05:50 +08:00
create Replaces path.Operation with filepath.Operation (staging) 2022-06-15 15:17:24 +03:00
debug Initialize default attach func regardless of the value of flag 2023-12-22 09:50:48 +03:00
delete Update the help mesage of interactive flag in kubectl delete 2023-12-21 21:42:23 +09:00
describe Update CLI help text for grammar and consistency 2023-06-12 15:55:59 -04:00
diff Replaces path.Operation with filepath.Operation (staging) 2022-06-15 15:17:24 +03:00
drain Update CLI help text for grammar and consistency 2023-06-12 15:55:59 -04:00
edit Update CLI help text for grammar and consistency 2023-06-12 15:55:59 -04:00
events fix(test): fix error handling condition in test 2023-08-27 21:11:39 +08:00
exec remote command turn on feature gates 2024-02-13 14:10:40 -08:00
explain OpenAPIResourcesGetter allows lazy-loading OpenAPI V2 2023-03-13 20:28:40 -07:00
expose Fix: correct dryRunStratergy typo in kubectl expose cmd 2024-03-25 18:58:35 +03:30
get use build-in max and min func to instead of k8s.io/utils/integer funcs 2023-12-15 15:09:11 +08:00
help Move pkg/kubectl/cmd/{command} to staging 2019-08-01 11:01:40 -07:00
kustomize Migrate genericclioptions.IOStreams usage to genericiooptions 2023-04-05 14:07:46 +03:00
label Gracefully handle empty config error when local flag is used 2023-06-15 10:13:52 +03:00
logs Add namespace to NotFound error for kubectl logs command (#120111) 2024-03-01 16:16:48 +00:00
options replace deprecated setoutput 2022-04-05 14:04:22 +08:00
patch Gracefully handle empty config error when local flag is used 2023-06-15 10:13:52 +03:00
plugin feat: make user-defined plugins discoverable with e.g. kubectl help (#116752) 2023-09-06 18:12:52 +02:00
portforward adds comments to tunnelingResponseWriter 2024-03-04 11:10:17 -08:00
proxy Migrate genericclioptions.IOStreams usage to genericiooptions 2023-04-05 14:07:46 +03:00
replace Migrate genericclioptions.IOStreams usage to genericiooptions 2023-04-05 14:07:46 +03:00
rollout doc: Add example for restarting all deployments in a namespace 2023-09-01 19:25:54 +08:00
run New repo who dis? distribution/reference 2023-08-31 10:48:53 -04:00
scale Update CLI help text for grammar and consistency 2023-06-12 15:55:59 -04:00
set chore: adds consistent vanity import to files and provides tooling for verifying and updating them. (#120642) 2024-02-08 15:58:16 +00:00
taint Update CLI help text for grammar and consistency 2023-06-12 15:55:59 -04:00
testing Add feature toggle for OpenAPI V3 apply in kubectl 2023-10-27 01:23:19 -04:00
top Update CLI help text for grammar and consistency 2023-06-12 15:55:59 -04:00
util Add e2e test for kubectl interactive delete 2024-01-09 10:12:42 +03:00
version Migrate genericclioptions.IOStreams usage to genericiooptions 2023-04-05 14:07:46 +03:00
wait Improve conditionFuncFor expression parsing for wait --for jsonpath 2023-06-20 03:34:50 +02:00
alpha.go Migrate genericclioptions.IOStreams usage to genericiooptions 2023-04-05 14:07:46 +03:00
cmd.go kubectl: fix plugin lookup with positional arguments 2024-03-31 19:44:03 +02:00
cmd_test.go kubectl: fix plugin lookup with positional arguments 2024-03-31 19:44:03 +02:00
profiling.go Add Close() for profile 2021-12-15 21:03:34 +08:00
skiplookerr_go118.go Adjust for os/exec changes in 1.19 2022-07-22 17:42:11 -04:00
skiplookerr_go119.go Adjust for os/exec changes in 1.19 2022-07-22 17:42:11 -04:00