Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RootCmd = &cobra.Command{ Use: "dcos-diagnostics", Short: "DC/OS diagnostics service", Long: `DC/OS diagnostics service provides health information about cluster. dcos-diagnostics daemon start an http server and polls the components health. dcos-diagnostics check provides CLI functionality to run checks on DC/OS cluster. `, Run: func(cmd *cobra.Command, args []string) { if version { fmt.Printf("Version: %s\n", config.Version) os.Exit(0) } if diag { os.Exit(runDiag()) } cmd.Help() }, }
RootCmd represents the base command when called without any subcommands
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.