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:
@@ -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.",
|
||||
|
Reference in New Issue
Block a user