mirror of
https://github.com/kubernetes/kubectl.git
synced 2026-02-17 09:38:49 -05:00
* Remove the dependency between create namespace command and generators * Update create_namespace.go format the file rename "kruntime" package to "runtime" remove the reliance of generators replace dynamic client with typed client rename "options" to "o" in "NewNamespaceOptions" fun for better reading and comparison with other create cmd remove Namespace and EnforceNamespace from NamespaceOptions remove Mapper from NamespaceOptions refactory the "Run" fun refactory the "Run" fun Update create_namespace.go and create_namespace_test.go * Update create_namespace.go and create_namespace_test.go * fix createNamespace function * fix createNamespace function * fix createNamespace function * remove the wrong comment in NamespaceOptions * add validate operation for cobra.Command * add some unit tests * add some unit tests * remove the call of Validate() from createNamespace() and update return type of createNamespace() * update test suite for the new createNamespace() Kubernetes-commit: 6990d75625b6aaa32c1aa5a99a174775868263bc |
||
|---|---|---|
| .. | ||
| create.go | ||
| create_clusterrole.go | ||
| create_clusterrole_test.go | ||
| create_clusterrolebinding.go | ||
| create_clusterrolebinding_test.go | ||
| create_configmap.go | ||
| create_configmap_test.go | ||
| create_cronjob.go | ||
| create_cronjob_test.go | ||
| create_deployment.go | ||
| create_deployment_test.go | ||
| create_ingress.go | ||
| create_ingress_test.go | ||
| create_job.go | ||
| create_job_test.go | ||
| create_namespace.go | ||
| create_namespace_test.go | ||
| create_pdb.go | ||
| create_pdb_test.go | ||
| create_priorityclass.go | ||
| create_priorityclass_test.go | ||
| create_quota.go | ||
| create_quota_test.go | ||
| create_role.go | ||
| create_role_test.go | ||
| create_rolebinding.go | ||
| create_rolebinding_test.go | ||
| create_secret.go | ||
| create_secret_test.go | ||
| create_service.go | ||
| create_service_test.go | ||
| create_serviceaccount.go | ||
| create_serviceaccount_test.go | ||
| create_test.go | ||