Directories ¶
Path | Synopsis |
---|---|
api
|
|
config/legacy
Package tricium has a simplified version of Tricium Project Config proto.
|
Package tricium has a simplified version of Tricium Project Config proto. |
config/v2
Package cfgpb contains the CQ config schema.
|
Package cfgpb contains the CQ config schema. |
recipe/v1
Package recipe contains CQ Recipe input proto.
|
Package recipe contains CQ Recipe input proto. |
v0
Package cvpb contains v0 (preliminary) version of CV API.
|
Package cvpb contains v0 (preliminary) version of CV API. |
v1
Package cvpb contains v1 version of CV API.
|
Package cvpb contains v1 version of CV API. |
listener
Package main is the main entry point for the app.
|
Package main is the main entry point for the app. |
monitor
Package main is the main entry point for the app.
|
Package main is the main entry point for the app. |
cli is a package implementing command line utilities for CV.
|
cli is a package implementing command line utilities for CV. |
cmd
|
|
internal
|
|
acls
Package acls enforces CV ACLs.
|
Package acls enforces CV ACLs. |
aggrmetrics
Package aggrmetrics computes & reports aggregated metrics.
|
Package aggrmetrics computes & reports aggregated metrics. |
buildbucket
Package buildbucket contains Buildbucket-related utility functions.
|
Package buildbucket contains Buildbucket-related utility functions. |
buildbucket/facade
Package bbfacade provides a facade for CV Tryjob support, hiding Buildbucket-specifc implementation details.
|
Package bbfacade provides a facade for CV Tryjob support, hiding Buildbucket-specifc implementation details. |
buildbucket/fake
Package bbfake implements fake Buildbucket server and the client connects to the fake for needs of CV tests.
|
Package bbfake implements fake Buildbucket server and the client connects to the fake for needs of CV tests. |
buildbucket/listener
Package bblistener listens to build update notifications from Buildbucket Pub/Sub.
|
Package bblistener listens to build update notifications from Buildbucket Pub/Sub. |
changelist
Package changelist implements operations on a single CL.
|
Package changelist implements operations on a single CL. |
common
Package common contains widely used CV utilities & types.
|
Package common contains widely used CV utilities & types. |
common/bq
Package bq handles sending rows to BigQuery.
|
Package bq handles sending rows to BigQuery. |
common/eventbox
Package eventbox batches incoming events for a single Datastore entity for processing.
|
Package eventbox batches incoming events for a single Datastore entity for processing. |
common/eventbox/dsset
Package dsset implements a particular flavor of Datastore-on-Firestore backed set.
|
Package dsset implements a particular flavor of Datastore-on-Firestore backed set. |
common/lease
Package lease provides a way to "lock" an external resource with expiration time so that concurrent processes/task executions can achieve exclusive privilege to make mutations (generally long-running and non-idempotent) on that resource.
|
Package lease provides a way to "lock" an external resource with expiration time so that concurrent processes/task executions can achieve exclusive privilege to make mutations (generally long-running and non-idempotent) on that resource. |
common/pubsub
Package pubsub provides a generic way to batch pubsub pull notifications.
|
Package pubsub provides a generic way to batch pubsub pull notifications. |
common/tree
Package tree implements fetching tree status from Tree Status App.
|
Package tree implements fetching tree status from Tree Status App. |
common/tree/treetest
Package treetest implements fake Tree for testing in CV.
|
Package treetest implements fake Tree for testing in CV. |
configs/prjcfg
Package prjcfg handles project-scoped CV config.
|
Package prjcfg handles project-scoped CV config. |
configs/prjcfg/prjcfgtest
Package prjcfgtest eases controlling of project configs in test.
|
Package prjcfgtest eases controlling of project configs in test. |
configs/prjcfg/refresher
Package refresher handles RefreshProjectConfigTask.
|
Package refresher handles RefreshProjectConfigTask. |
configs/srvcfg
Package srvcfg provides service-wide configs.
|
Package srvcfg provides service-wide configs. |
configs/validation
Package validation validates CV config files.
|
Package validation validates CV config files. |
cvtesting
Package cvtesting reduces boilerplate in tests.
|
Package cvtesting reduces boilerplate in tests. |
cvtesting/benchmarks
Package benchmarks contains benchmarks for heavy CV use cases.
|
Package benchmarks contains benchmarks for heavy CV use cases. |
cvtesting/e2e
Package e2e contains all CV end-to-end tests.
|
Package e2e contains all CV end-to-end tests. |
gerrit
Package gerrit contains Gerrit utility functions.
|
Package gerrit contains Gerrit utility functions. |
gerrit/botdata
Package botdata implements parsing and generation logic for BotData.
|
Package botdata implements parsing and generation logic for BotData. |
gerrit/cfgmatcher
Package cfgmatcher efficiently matches a CL to 0+ ConfigGroupID for a single LUCI project.
|
Package cfgmatcher efficiently matches a CL to 0+ ConfigGroupID for a single LUCI project. |
gerrit/cqdepend
Package cqdepend parses CQ-Depend directives in CL description.
|
Package cqdepend parses CQ-Depend directives in CL description. |
gerrit/gerritfake
Package gerritfake implements fake Gerrit for needs of CV tests.
|
Package gerritfake implements fake Gerrit for needs of CV tests. |
gerrit/gobmap
Package gobmap finds relevant LUCI project config given a Gerrit CL.
|
Package gobmap finds relevant LUCI project config given a Gerrit CL. |
gerrit/gobmap/gobmaptest
Package gobmaptest eases use of gobmap package in tests.
|
Package gobmaptest eases use of gobmap package in tests. |
gerrit/listener
Package listener listens to Gerrit events.
|
Package listener listens to Gerrit events. |
gerrit/metadata
Package metadata can extract metadata from Gerrit CLs.
|
Package metadata can extract metadata from Gerrit CLs. |
gerrit/poller
Package poller polls Gerrit for interesting CV changes.
|
Package poller polls Gerrit for interesting CV changes. |
gerrit/trigger
Package trigger determines if and how Gerrit CL is triggered.
|
Package trigger determines if and how Gerrit CL is triggered. |
gerrit/updater
Package updater implements changelist.Updater backend for Gerrit.
|
Package updater implements changelist.Updater backend for Gerrit. |
metrics
Package metrics defines metrics and implements reporting utilities.
|
Package metrics defines metrics and implements reporting utilities. |
prjmanager
Package prjmanager implements public API for Project Manager.
|
Package prjmanager implements public API for Project Manager. |
prjmanager/clpurger
Package clpurger purges CLs with a trigger for which Runs can't be started.
|
Package clpurger purges CLs with a trigger for which Runs can't be started. |
prjmanager/cltriggerer
Package cltriggerer implements logic for triggering CLs.
|
Package cltriggerer implements logic for triggering CLs. |
prjmanager/copyonwrite
Package copyonwrite providers helpers for modifying slices in Copy-on-Write way.
|
Package copyonwrite providers helpers for modifying slices in Copy-on-Write way. |
prjmanager/itriager
Package itriager defines interface of a CL component triage process.
|
Package itriager defines interface of a CL component triage process. |
prjmanager/manager
Package manager implements a ProjectManager.
|
Package manager implements a ProjectManager. |
prjmanager/pmtest
Package pmtest implements tests for working with Project Manager.
|
Package pmtest implements tests for working with Project Manager. |
prjmanager/prjpb
Package prjpb stores protos for event processing of ProjectManager.
|
Package prjpb stores protos for event processing of ProjectManager. |
prjmanager/state
Package state implements state machine of a Project Manager.
|
Package state implements state machine of a Project Manager. |
prjmanager/triager
Package triager proposes concrete actions on a group of related CLs.
|
Package triager proposes concrete actions on a group of related CLs. |
quota
Package quota manages run and tryjobs quotas per user
|
Package quota manages run and tryjobs quotas per user |
retention
Package retention implements data retention for LUCI CV.
|
Package retention implements data retention for LUCI CV. |
rpc/admin
Package admin implements CV admin API.
|
Package admin implements CV admin API. |
rpc/admin/api
Package adminpb contains LUCI CV admin/maintainer APIs definitions.
|
Package adminpb contains LUCI CV admin/maintainer APIs definitions. |
rpc/pagination
Package pagination implements handling of page sizes & tokens in CV APIs.
|
Package pagination implements handling of page sizes & tokens in CV APIs. |
rpc/v0
Package rpc implements CV V0 pRPC APIs.
|
Package rpc implements CV V0 pRPC APIs. |
rpc/versioning
Package versioning contains utilities to convert types to/from CV API versions as well as tests to avoid regressions.
|
Package versioning contains utilities to convert types to/from CV API versions as well as tests to avoid regressions. |
run
Package run implements public interface for Run Manager.
|
Package run implements public interface for Run Manager. |
run/bq
Package bq provides functionality for sending finished Run rows to BigQuery.
|
Package bq provides functionality for sending finished Run rows to BigQuery. |
run/eventpb
Package eventpb stores protos for event processing of RunManager.
|
Package eventpb stores protos for event processing of RunManager. |
run/impl
Package impl implements a RunManager.
|
Package impl implements a RunManager. |
run/impl/handler
Package handler implements handlers that handles run events.
|
Package handler implements handlers that handles run events. |
run/impl/longops
Package longops implements long operations of the Run Manager.
|
Package longops implements long operations of the Run Manager. |
run/impl/state
Package state defines the model for a Run state.
|
Package state defines the model for a Run state. |
run/impl/submit
Package submit contains utilities for Run submission.
|
Package submit contains utilities for Run submission. |
run/impl/util
Package util contains the common utility functions shared by RunManager.
|
Package util contains the common utility functions shared by RunManager. |
run/postaction
Package postaction executes post actions for run termination events.
|
Package postaction executes post actions for run termination events. |
run/pubsub
Package pubsub implements utility functions for publishing various Run events to Cloud PubSub.
|
Package pubsub implements utility functions for publishing various Run events to Cloud PubSub. |
run/rdb
Package rdb provides functionality for notifying ResultDB of successfully merged invocations.
|
Package rdb provides functionality for notifying ResultDB of successfully merged invocations. |
run/runcreator
Package runcreator creates new Runs.
|
Package runcreator creates new Runs. |
run/runquery
Package runquery contains logic to query runs.
|
Package runquery contains logic to query runs. |
run/runtest
Package runtest implements tests for working with Run Manager.
|
Package runtest implements tests for working with Run Manager. |
tracing
Package tracing contains helper for reporting OpenTelemetry tracing spans.
|
Package tracing contains helper for reporting OpenTelemetry tracing spans. |
tryjob
Package tryjob handles individual Tryjob handling in CV.
|
Package tryjob handles individual Tryjob handling in CV. |
tryjob/execute
Package execute implements logic to execute tryjob requirement for Runs.
|
Package execute implements logic to execute tryjob requirement for Runs. |
tryjob/requirement
Package requirement computes Tryjob Requirements and provides various utility functions related to Tryjob Requirements.
|
Package requirement computes Tryjob Requirements and provides various utility functions related to Tryjob Requirements. |
tryjob/tjcancel
Package tjcancel contains code in charge of cancelling stale tryjobs.
|
Package tjcancel contains code in charge of cancelling stale tryjobs. |
tryjob/update
Package tjupdate contains Updater, which handles an UpdateTryjobTask.
|
Package tjupdate contains Updater, which handles an UpdateTryjobTask. |
userhtml
Package userhtml contains what's needed to render frontend content.
|
Package userhtml contains what's needed to render frontend content. |
usertext
Package usertext generates messages for users (humans) using Go templating system.
|
Package usertext generates messages for users (humans) using Go templating system. |
settings
|
|
listener
Package listenerpb controls the settings for LUCI CV listener.
|
Package listenerpb controls the settings for LUCI CV listener. |
Click to show internal directories.
Click to hide internal directories.