Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatResults ¶
func FormatResults(results []LintResult, format string) string
FormatResults formats lint results for output
func HasErrors ¶
func HasErrors(results []LintResult) bool
HasErrors returns true if any of the results contain errors
Types ¶
type LintOptions ¶
type LintResult ¶
type LintResult struct {
FilePath string
Errors []LintError
Warnings []LintWarning
}
func LintFiles ¶
func LintFiles(opts LintOptions) ([]LintResult, error)
LintFiles validates troubleshoot specs for syntax and structural errors
Click to show internal directories.
Click to hide internal directories.