Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( KubeConfig string KubeContext string OperatorNamespace string StorageClusterNamespace string ClientSets *k8sutil.Clientsets CtrlClient ctrl.Client )
View Source
var RootCmd = &cobra.Command{ Use: "odf", Short: "Management and troubleshooting tools for ODF clusters.", TraverseChildren: true, PersistentPreRun: func(cmd *cobra.Command, args []string) { if StorageClusterNamespace != "" && OperatorNamespace == "" { OperatorNamespace = StorageClusterNamespace } ClientSets = getClientsets(cmd.Context()) CtrlClient = getControllerRuntimeClient() }, }
RootCmd represents the odf command
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.