update various commands to adapt the new Factory interface

This commit is contained in:
AdoHe
2016-10-13 08:18:39 +08:00
parent dfae1a27c2
commit b2280a646a
53 changed files with 154 additions and 200 deletions

View File

@@ -28,7 +28,7 @@ import (
const help_long = `Help provides help for any command in the application.
Simply type kubectl help [path to command] for full details.`
func NewCmdHelp(f *cmdutil.Factory, out io.Writer) *cobra.Command {
func NewCmdHelp(f cmdutil.Factory, out io.Writer) *cobra.Command {
cmd := &cobra.Command{
Use: "help [command] | STRING_TO_SEARCH",
Short: "Help about any command",