Merge pull request #33180 from AdoHe/refactory_interface

Automatic merge from submit-queue

refact kubectl Factory make it interface

refactor kubectl to make Factory interface. @kubernetes/kubectl
This commit is contained in:
Kubernetes Submit Queue
2016-10-13 07:44:05 -07:00
committed by GitHub
56 changed files with 1149 additions and 940 deletions

View File

@@ -26,7 +26,7 @@ import (
"k8s.io/kubernetes/pkg/util/flag"
)
func NewKubeadmCommand(f *cmdutil.Factory, in io.Reader, out, err io.Writer) *cobra.Command {
func NewKubeadmCommand(f cmdutil.Factory, in io.Reader, out, err io.Writer) *cobra.Command {
cmds := &cobra.Command{
Use: "kubeadm",
Short: "kubeadm: easily bootstrap a secure Kubernetes cluster.",