openshift/origin — pull request #444 by mfojtik (2014-11-21 12:30:25+00:00)
Title: [WIP] Initial addition of kubectl to origin

This PR will add `openshift kubectl` command that exposes all operations from Kubernetes `kubectl` and also Origin specific operations (buildLogs, apply, process, etc...)

TODO / Bugs:

- [x ] Port bare kubectl to `openshift kubectl`
- [ ] Add `openshift kubectl apply`
- [ ] Add `openshift kubectl process`
- [ ] Add `openshift kubectl buildLogs`
- [] BUG: Currently the MultiRESTMapper identifies **all** objects with version `v1beta1`. This is wrong and it should mappings using the Kubernetes RESTMapper and not the Origin RESTMapper. I think this is because we use `api.Scheme` to hijack Origin API objects into Kubernetes API. @smarterclayton should we have our own `api.Scheme`?