Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Arguments ¶
type Arguments struct { File *string Output *Output Dir *string Check *[]string SkipCheck *[]string SeverityCriteria *string }
Arguments - CLI Arguments
type Check ¶
type Check struct { ID string `json:"id,omitempty"` Title string `json:"title,omitempty"` Description string `json:"description,omitempty"` Message string `json:"message,omitempty"` Path string `json:"path,omitempty"` Resource string `json:"resource,omitempty"` Class string `json:"class,omitempty"` CheckResult string `json:"checkResult,omitempty"` Severity string `json:"severity,omitempty"` Reference string `json:"reference,omitempty"` LineRange []string `json:"lineRange,omitempty"` CodeBlock []CodeBlock `json:"codeBlock,omitempty"` }
type Output ¶
type Output string
Output type
const ( // JSON Output Type JSON Output = "json" // Table Output Type (Default) Table = "table" )
Click to show internal directories.
Click to hide internal directories.