Alexander Campbell
Alexander Campbell
Many of the functions in `kubectl/cmd` require instances of `cobra.Command`, a complex and occasionally counterintuitive struct. In many cases the business logic of our application is very tightly coupled to...
Issue type: refactor ### Description [`pkg/kubectl/deployment.go`](https://github.com/kubernetes/kubernetes/blob/cb712e41d435dbb42519bded680fef4043dd23b3/pkg/kubectl/deployment.go) is the same 100 lines copy/pasted. `DeploymentBasicAppsGeneratorV1` and `DeploymentBasicGeneratorV1` are identical except they return `extensionsv1beta1.Deployment` and `appsv1beta1.Deployment` respectively. If I consolidate these structs to...