kubectl/pkg/cmd/create
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
..
create.go Migrate genericclioptions.IOStreams usage to genericiooptions 2023-04-05 14:07:46 +03:00
create_clusterrole.go Migrate genericclioptions.IOStreams usage to genericiooptions 2023-04-05 14:07:46 +03:00
create_clusterrole_test.go kubectl: use bytes.Buffer.String 2023-06-04 15:45:24 +02:00
create_clusterrolebinding.go Migrate genericclioptions.IOStreams usage to genericiooptions 2023-04-05 14:07:46 +03:00
create_clusterrolebinding_test.go Fix int->string casts 2020-07-24 11:13:07 -04:00
create_configmap.go Replaces path.Operation with filepath.Operation (staging) 2022-06-15 15:17:24 +03:00
create_configmap_test.go Replace os.Setenv with testing.T.Setenv in tests 2023-04-15 10:09:47 -05:00
create_cronjob.go Migrate genericclioptions.IOStreams usage to genericiooptions 2023-04-05 14:07:46 +03:00
create_cronjob_test.go Fix batch/v1 CronJob support in create, describe and polymorphichelpers 2021-03-09 09:44:02 +01:00
create_deployment.go making suggested changes 2023-11-30 13:09:54 +05:30
create_deployment_test.go Migrate genericclioptions.IOStreams usage to genericiooptions 2023-04-05 14:07:46 +03:00
create_ingress.go Update CLI help text for grammar and consistency 2023-06-12 15:55:59 -04:00
create_ingress_test.go code cleanup for kubectl 2021-04-12 10:45:08 +08:00
create_job.go fix Cronjob status.lastSuccessfulTime not populated by a manually triggered job 2023-06-07 19:01:51 +08:00
create_job_test.go fix Cronjob status.lastSuccessfulTime not populated by a manually triggered job 2023-06-07 19:01:51 +08:00
create_namespace.go Migrate genericclioptions.IOStreams usage to genericiooptions 2023-04-05 14:07:46 +03:00
create_namespace_test.go Remove the dependency between create namespace command and generators (#96556) 2021-02-05 17:33:15 +00:00
create_pdb.go Migrate genericclioptions.IOStreams usage to genericiooptions 2023-04-05 14:07:46 +03:00
create_pdb_test.go test: Assert max unavailable for PDB test cases 2021-10-28 05:20:03 +00:00
create_priorityclass.go Migrate genericclioptions.IOStreams usage to genericiooptions 2023-04-05 14:07:46 +03:00
create_priorityclass_test.go Migrate genericclioptions.IOStreams usage to genericiooptions 2023-04-05 14:07:46 +03:00
create_quota.go Migrate genericclioptions.IOStreams usage to genericiooptions 2023-04-05 14:07:46 +03:00
create_quota_test.go Remove the dependency between create quota command and generators 2020-10-03 03:04:09 +05:30
create_role.go Migrate genericclioptions.IOStreams usage to genericiooptions 2023-04-05 14:07:46 +03:00
create_role_test.go Replace uses of ObjectReflectDiff with cmp.Diff 2023-03-23 11:34:03 -07:00
create_rolebinding.go Migrate genericclioptions.IOStreams usage to genericiooptions 2023-04-05 14:07:46 +03:00
create_rolebinding_test.go Update staging/src/k8s.io/kubectl/pkg/cmd/create/create_rolebinding_test.go 2020-11-04 11:50:03 +01:00
create_secret.go Replaces path.Operation with filepath.Operation (staging) 2022-06-15 15:17:24 +03:00
create_secret_docker.go Update CLI help text for grammar and consistency 2023-06-12 15:55:59 -04:00
create_secret_docker_test.go Remove dependency of generators from create secret 2021-01-13 18:59:18 -05:00
create_secret_test.go Replace os.Setenv with testing.T.Setenv in tests 2023-04-15 10:09:47 -05:00
create_secret_tls.go fix: create tls secret cert to crt for --cert flag 2023-12-29 06:19:28 +00:00
create_secret_tls_test.go Replaces path.Operation with filepath.Operation (staging) 2022-06-15 15:17:24 +03:00
create_service.go Migrate genericclioptions.IOStreams usage to genericiooptions 2023-04-05 14:07:46 +03:00
create_service_test.go Migrate genericclioptions.IOStreams usage to genericiooptions 2023-04-05 14:07:46 +03:00
create_serviceaccount.go Migrate genericclioptions.IOStreams usage to genericiooptions 2023-04-05 14:07:46 +03:00
create_serviceaccount_test.go remove generator dependency in create service account 2020-11-12 07:21:46 +05:30
create_test.go Migrate genericclioptions.IOStreams usage to genericiooptions 2023-04-05 14:07:46 +03:00
create_token.go cleanup: add zero as a value for token create duration and act as default, added test, updated the help text 2024-02-28 21:52:58 +03:30
create_token_test.go cleanup: add zero as a value for token create duration and act as default, added test, updated the help text 2024-02-28 21:52:58 +03:30