Documentation
¶
Index ¶
- Variables
- func Execute()
- func InitLogs()
- func RunAlphaPhaseApplyAddons(paao *AlphaPhaseApplyAddonsOptions) error
- func RunAlphaPhaseApplyCluster(paco *AlphaPhaseApplyClusterOptions) error
- func RunAlphaPhaseApplyClusterAPIComponents(pacaso *AlphaPhaseApplyClusterAPIComponentsOptions) error
- func RunAlphaPhaseApplyMachines(pamo *AlphaPhaseApplyMachinesOptions) error
- func RunAlphaPhaseCreateBootstrapCluster(pcbco *AlphaPhaseCreateBootstrapClusterOptions) error
- func RunCreate(co *CreateOptions) error
- func RunDelete() error
- func RunValidateCluster() error
- type AlphaPhaseApplyAddonsOptions
- type AlphaPhaseApplyClusterAPIComponentsOptions
- type AlphaPhaseApplyClusterOptions
- type AlphaPhaseApplyMachinesOptions
- type AlphaPhaseCreateBootstrapClusterOptions
- type CreateOptions
- type DeleteOptions
- type KlogWriter
- type ValidateClusterOptions
Constants ¶
This section is empty.
Variables ¶
View Source
var RootCmd = &cobra.Command{ Use: "clusterctl", Short: "cluster management", Long: `Simple kubernetes cluster management`, PersistentPreRun: func(cmd *cobra.Command, args []string) { flag.CommandLine.Parse(nil) klogFlags := flag.NewFlagSet("klog", flag.ExitOnError) klog.InitFlags(klogFlags) cmd.Flags().VisitAll(func(f1 *pflag.Flag) { f2 := klogFlags.Lookup(f1.Name) if f2 != nil { value := f1.Value.String() f2.Value.Set(value) } }) }, Run: func(cmd *cobra.Command, args []string) { cmd.Help() }, }
Functions ¶
func RunAlphaPhaseApplyAddons ¶
func RunAlphaPhaseApplyAddons(paao *AlphaPhaseApplyAddonsOptions) error
func RunAlphaPhaseApplyCluster ¶
func RunAlphaPhaseApplyCluster(paco *AlphaPhaseApplyClusterOptions) error
func RunAlphaPhaseApplyClusterAPIComponents ¶
func RunAlphaPhaseApplyClusterAPIComponents(pacaso *AlphaPhaseApplyClusterAPIComponentsOptions) error
func RunAlphaPhaseApplyMachines ¶
func RunAlphaPhaseApplyMachines(pamo *AlphaPhaseApplyMachinesOptions) error
func RunAlphaPhaseCreateBootstrapCluster ¶
func RunAlphaPhaseCreateBootstrapCluster(pcbco *AlphaPhaseCreateBootstrapClusterOptions) error
func RunCreate ¶
func RunCreate(co *CreateOptions) error
func RunValidateCluster ¶
func RunValidateCluster() error
Types ¶
type CreateOptions ¶
type DeleteOptions ¶
type KlogWriter ¶
type KlogWriter struct{}
KlogWriter serves as a bridge between the standard log package and the klog package.
type ValidateClusterOptions ¶
type ValidateClusterOptions struct {
KubeconfigOverrides tcmd.ConfigOverrides
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.