package cmd
import "k8s.io/kubernetes/cmd/kubeadm/app/cmd"
Index ¶
- func NewCmdInit(out io.Writer) *cobra.Command
- func NewCmdJoin(out io.Writer) *cobra.Command
- func NewCmdVersion(out io.Writer) *cobra.Command
- func NewKubeadmCommand(f *cmdutil.Factory, in io.Reader, out, err io.Writer) *cobra.Command
- func RunInit(out io.Writer, cmd *cobra.Command, args []string, cfg *kubeadmapi.MasterConfiguration) error
- func RunJoin(out io.Writer, cmd *cobra.Command, args []string, s *kubeadmapi.NodeConfiguration) error
- func RunVersion(out io.Writer, cmd *cobra.Command) error
Functions ¶
func NewCmdInit ¶
NewCmdInit returns "kubeadm init" command.
func NewCmdJoin ¶
NewCmdJoin returns "kubeadm join" command.
func NewCmdVersion ¶
func NewKubeadmCommand ¶
func RunInit ¶
func RunInit(out io.Writer, cmd *cobra.Command, args []string, cfg *kubeadmapi.MasterConfiguration) error
RunInit executes master node provisioning, including certificates, needed static pod manifests, etc.
func RunJoin ¶
func RunJoin(out io.Writer, cmd *cobra.Command, args []string, s *kubeadmapi.NodeConfiguration) error
RunJoin executes worked node provisioning and tries to join an existing cluster.
func RunVersion ¶
Source Files ¶
cmd.go init.go join.go version.go
- Version
- v1.5.0-alpha.1
- Published
- Oct 11, 2016
- Platform
- linux/amd64
- Imports
- 13 packages
- Last checked
- 2 minutes ago –
Tools for package owners.