Kubectl printer

This commit is contained in:
Prashanth Balasubramanian
2015-09-23 14:50:59 -07:00
parent 9779bf68ef
commit 99b0e051fc
3 changed files with 97 additions and 10 deletions

View File

@@ -102,6 +102,7 @@ func expandResourceShortcut(resource string) string {
"rc": "replicationcontrollers",
"ds": "daemonsets",
"svc": "services",
"ing": "ingress",
}
if expanded, ok := shortForms[resource]; ok {
return expanded