Documentation
¶
Overview ¶
Package cmd implements capioperator commands.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RootCmd = &cobra.Command{ Use: "capioperator", SilenceUsage: true, Short: "capioperator controls the lifecycle of a Cluster API management cluster", Long: LongDesc(` Get started with Cluster API using capioperator to create a management cluster, install providers, and create templates for your workload cluster.`), PersistentPostRunE: func(cmd *cobra.Command, args []string) error { return nil }, }
RootCmd is capioperator root CLI command.
Functions ¶
func CreateKubeClient ¶ added in v0.8.0
func CreateKubeClient(kubeconfigPath, kubeconfigContext string) (ctrlclient.Client, error)
CreateKubeClient creates a kubernetes client from provided kubeconfig and kubecontext.
Types ¶
Click to show internal directories.
Click to hide internal directories.