Documentation ¶
Overview ¶
Package crier reports finished prowjob status to git providers.
Package crier reports finished prowjob status to git providers.
Index ¶
Constants ¶
View Source
const ( ResultError = "ERROR" ResultSuccess = "SUCCESS" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ReportClient ¶
type ReportClient interface { // Report reports a Prowjob. The provided logger is already populated with the // prowjob name and the reporter name. // If a reporter wants to defer reporting, it can return a reconcile.Result with a RequeueAfter Report(ctx context.Context, log *logrus.Entry, pj *prowv1.ProwJob) ([]*prowv1.ProwJob, *reconcile.Result, error) GetName() string // ShouldReport determines if a ProwJob should be reported. The provided logger // is already populated with the prowjob name and the reporter name. ShouldReport(ctx context.Context, log *logrus.Entry, pj *prowv1.ProwJob) bool }
Directories ¶
Path | Synopsis |
---|---|
reporters
|
|
criercommonlib
Package criercommonlib contains shared lib used by reporters
|
Package criercommonlib contains shared lib used by reporters |
gerrit
Package reporter implements a reporter interface for gerrit
|
Package reporter implements a reporter interface for gerrit |
github
Package reporter implements a reporter interface for github TODO(krzyzacy): move logic from report.go here
|
Package reporter implements a reporter interface for github TODO(krzyzacy): move logic from report.go here |
pubsub
Package reporter contains helpers for publishing statues to Pub statuses in GitHub.
|
Package reporter contains helpers for publishing statues to Pub statuses in GitHub. |
Click to show internal directories.
Click to hide internal directories.