Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CommandRunFunc ¶
func CommandRunFunc(o OptionsRunner) func(c *cobra.Command, args []string)
returns a shared function that runs when one of these Commands actually executes
func DetermineRequestedDiagnostics ¶
func DetermineRequestedDiagnostics(available []string, requested []string, logger *log.Logger) (error, []string)
DetermineRequestedDiagnostics determines which diagnostic the user wants to run returns error or diagnostic names
func RunDiagnostics ¶
func RunDiagnostics(logger *log.Logger, diagnostics []types.Diagnostic) error
RunDiagnostics performs the actual execution of diagnostics once they're built.
Types ¶
Click to show internal directories.
Click to hide internal directories.