Refactor Get and Describe to allow extension of types

Get should use ResourceMapper, allow Printer to be abstracted,
and extract Describe as *Describer types.
This commit is contained in:
Clayton Coleman
2014-10-27 15:56:34 -04:00
parent 39882a3555
commit 09cfa364c5
18 changed files with 753 additions and 339 deletions

View File

@@ -23,5 +23,5 @@ import (
)
func main() {
cmd.RunKubectl(os.Stdout)
cmd.NewFactory().Run(os.Stdout)
}