Documentation ¶
Index ¶
Constants ¶
View Source
const RequestLint = "frontend.lint"
Variables ¶
View Source
var SubrequestLintDefinition = subrequests.Request{ Name: RequestLint, Version: "1.0.0", Type: subrequests.TypeRPC, Description: "Lint a Dockerfile", Opts: []subrequests.Named{}, Metadata: []subrequests.Named{ {Name: "result.json"}, {Name: "result.txt"}, {Name: "result.statuscode"}, }, }
Functions ¶
Types ¶
type BuildError ¶
type LintResults ¶
type LintResults struct { Warnings []Warning `json:"warnings"` Sources []*pb.SourceInfo `json:"sources"` Error *BuildError `json:"buildError,omitempty"` }
func (*LintResults) AddWarning ¶
func (results *LintResults) AddWarning(rulename, description, url, fmtmsg string, sourceIndex int, location []parser.Range)
Click to show internal directories.
Click to hide internal directories.