Documentation
¶
Index ¶
- Constants
- func GetAllReportsFromJsonFileDirectory(directoryPath string) ([]types.Report, error)
- func GetLogMessage(level string, migration string, lineNumber int, charPosition int, code string, ...) string
- func GetPullRequestCommentString(reports []types.Report) string
- func GetReportFatalityStatus(reports []types.Report) bool
- func GetReportString(analyzer string, reports []types.Report, verbose bool) string
- func GetReportsFromJsonFile(reportFileName string) (*[]types.Report, error)
- func ListReportJsonFiles(directoryPath string) ([]string, error)
- func WriteReportsToJsonFile(analyzer string, reports []types.Report, outputDir string) error
- func WriteReportsToPullRequest(reports []types.Report, githubClient github.GithubClient) error
- func WriteReportsToStdout(analyzer string, reports []types.Report, verbose bool)
Constants ¶
View Source
const ( DefaultFilePermissions = 0644 ReportFileNameFormat = "report.%s.json" ReportFileNameGlob = "report.*.json" )
Variables ¶
This section is empty.
Functions ¶
func GetLogMessage ¶
func GetReportFatalityStatus ¶
func GetReportString ¶
func GetReportsFromJsonFile ¶
func ListReportJsonFiles ¶
func WriteReportsToJsonFile ¶
func WriteReportsToPullRequest ¶
func WriteReportsToPullRequest(reports []types.Report, githubClient github.GithubClient) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.