Documentation ¶
Index ¶
Constants ¶
View Source
const (
// SQLPrimaryBranch indicates that the primary branch ingester use the SQL backend.
SQLPrimaryBranch = "sql_primary"
)
View Source
const (
SQLSecondaryBranch = "sql_secondary"
)
Variables ¶
This section is empty.
Functions ¶
func PrimaryBranchSQL ¶
func PrimaryBranchSQL(src ingestion.Source, configParams map[string]string, db *pgxpool.Pool) *sqlPrimaryIngester
PrimaryBranchSQL creates a Processor that writes to the SQL backend and returns it. It panics if configuration is invalid.
func TryjobSQL ¶
func TryjobSQL(ctx context.Context, src ingestion.Source, configParams map[string]string, client *http.Client, db *pgxpool.Pool) (ingestion.Processor, error)
TryjobSQL returns an ingestion.Processor which is modular and can support different CodeReviewSystems (e.g. "Gerrit", "GitHub") and different ContinuousIntegrationSystems (e.g. "BuildBucket", "CirrusCI"). This particular implementation stores the data in SQL.
Types ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.