Versions in this module Expand all Collapse all v0 v0.1.1 Jan 24, 2021 Changes in this version + type KubeGenie struct + Masters []Node + Workers []Node + func NewKubeGenie(config *v1alpha1.InitConfiguration) *KubeGenie + func (genie *KubeGenie) InitCalico() + func (genie *KubeGenie) InitCluster() + func (genie *KubeGenie) InitKubeadmConfig() + func (genie *KubeGenie) InitKubelet() + func (genie *KubeGenie) InitMaster0() + func (genie *KubeGenie) InitMasters() + func (genie *KubeGenie) InitOS() + func (genie *KubeGenie) InitPackage() + func (genie *KubeGenie) InstallDocker() + func (genie *KubeGenie) JoinMasters() + func (genie *KubeGenie) JoinWorkers() + type Node struct + Host string + SSHCommand *sshutil.SSHCommand + type Phase struct + Aliases []string + ArgsValidator cobra.PositionalArgs + Example string + Hidden bool + InheritFlags []string + LocalFlags *pflag.FlagSet + Long string + Name string + Phases []Phase + Run func(genie *KubeGenie) error + RunAllSiblings bool + RunIf func(genie *KubeGenie) (bool, error) + Short string + func NewInitCalicoPhase() Phase + func NewInitClusterPhase() Phase + func NewInitKubeadmConfigPhase() Phase + func NewInitKubeletPhase() Phase + func NewInitMaster0Phase() Phase + func NewInitMastersPhase() Phase + func NewInitOSPhase() Phase + func NewInitPackagePhase() Phase + func NewInstallDockerPhase() Phase + func NewJoinMastersPhase() Phase + func NewJoinWorkersPhase() Phase + func (t *Phase) AppendPhase(phase Phase) + type Runner struct + Options RunnerOptions + Phases []Phase + func NewRunner() *Runner + func (e *Runner) AppendPhase(t Phase) + func (e *Runner) BindToCommand(cmd *cobra.Command) + func (e *Runner) Help(cmdUse string) string + func (e *Runner) InitData(args []string) (*KubeGenie, error) + func (e *Runner) Run(args []string) error + func (e *Runner) SetAdditionalFlags(fn func(*pflag.FlagSet)) + func (e *Runner) SetDataInitializer(builder func(cmd *cobra.Command, args []string) (*KubeGenie, error)) + type RunnerOptions struct + FilterPhases []string + SkipPhases []string + type Task func(node Node, config *v1alpha1.InitConfiguration) error