mirror of
https://github.com/kubeshark/kubeshark.git
synced 2026-05-08 10:17:49 +00:00
19 lines
309 B
Go
19 lines
309 B
Go
package cmd
|
|
|
|
import (
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
var checkCmd = &cobra.Command{
|
|
Use: "check",
|
|
Short: "Check the Kubeshark installation for potential problems",
|
|
RunE: func(cmd *cobra.Command, args []string) error {
|
|
runKubesharkCheck()
|
|
return nil
|
|
},
|
|
}
|
|
|
|
func init() {
|
|
rootCmd.AddCommand(checkCmd)
|
|
}
|