internal/

directory
v0.0.0-...-a613c3a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 26, 2024 License: Apache-2.0

Directories

Path Synopsis
Package acls enforces CV ACLs.
Package acls enforces CV ACLs.
Package aggrmetrics computes & reports aggregated metrics.
Package aggrmetrics computes & reports aggregated metrics.
Package buildbucket contains Buildbucket-related utility functions.
Package buildbucket contains Buildbucket-related utility functions.
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.
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.
listener
Package bblistener listens to build update notifications from Buildbucket Pub/Sub.
Package bblistener listens to build update notifications from Buildbucket Pub/Sub.
Package changelist implements operations on a single CL.
Package changelist implements operations on a single CL.
Package common contains widely used CV utilities & types.
Package common contains widely used CV utilities & types.
bq
Package bq handles sending rows to BigQuery.
Package bq handles sending rows to BigQuery.
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.
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.
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.
pubsub
Package pubsub provides a generic way to batch pubsub pull notifications.
Package pubsub provides a generic way to batch pubsub pull notifications.
tree
Package tree implements fetching tree status from Tree Status App.
Package tree implements fetching tree status from Tree Status App.
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.
prjcfg/prjcfgtest
Package prjcfgtest eases controlling of project configs in test.
Package prjcfgtest eases controlling of project configs in test.
prjcfg/refresher
Package refresher handles RefreshProjectConfigTask.
Package refresher handles RefreshProjectConfigTask.
srvcfg
Package srvcfg provides service-wide configs.
Package srvcfg provides service-wide configs.
validation
Package validation validates CV config files.
Package validation validates CV config files.
Package cvtesting reduces boilerplate in tests.
Package cvtesting reduces boilerplate in tests.
benchmarks
Package benchmarks contains benchmarks for heavy CV use cases.
Package benchmarks contains benchmarks for heavy CV use cases.
e2e
Package e2e contains all CV end-to-end tests.
Package e2e contains all CV end-to-end tests.
Package gerrit contains Gerrit utility functions.
Package gerrit contains Gerrit utility functions.
botdata
Package botdata implements parsing and generation logic for BotData.
Package botdata implements parsing and generation logic for BotData.
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.
cqdepend
Package cqdepend parses CQ-Depend directives in CL description.
Package cqdepend parses CQ-Depend directives in CL description.
gerritfake
Package gerritfake implements fake Gerrit for needs of CV tests.
Package gerritfake implements fake Gerrit for needs of CV tests.
gobmap
Package gobmap finds relevant LUCI project config given a Gerrit CL.
Package gobmap finds relevant LUCI project config given a Gerrit CL.
gobmap/gobmaptest
Package gobmaptest eases use of gobmap package in tests.
Package gobmaptest eases use of gobmap package in tests.
listener
Package listener listens to Gerrit events.
Package listener listens to Gerrit events.
metadata
Package metadata can extract metadata from Gerrit CLs.
Package metadata can extract metadata from Gerrit CLs.
poller
Package poller polls Gerrit for interesting CV changes.
Package poller polls Gerrit for interesting CV changes.
trigger
Package trigger determines if and how Gerrit CL is triggered.
Package trigger determines if and how Gerrit CL is triggered.
updater
Package updater implements changelist.Updater backend for Gerrit.
Package updater implements changelist.Updater backend for Gerrit.
Package metrics defines metrics and implements reporting utilities.
Package metrics defines metrics and implements reporting utilities.
Package prjmanager implements public API for Project Manager.
Package prjmanager implements public API for Project Manager.
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.
cltriggerer
Package cltriggerer implements logic for triggering CLs.
Package cltriggerer implements logic for triggering CLs.
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.
itriager
Package itriager defines interface of a CL component triage process.
Package itriager defines interface of a CL component triage process.
manager
Package manager implements a ProjectManager.
Package manager implements a ProjectManager.
pmtest
Package pmtest implements tests for working with Project Manager.
Package pmtest implements tests for working with Project Manager.
prjpb
Package prjpb stores protos for event processing of ProjectManager.
Package prjpb stores protos for event processing of ProjectManager.
state
Package state implements state machine of a Project Manager.
Package state implements state machine of a Project Manager.
triager
Package triager proposes concrete actions on a group of related CLs.
Package triager proposes concrete actions on a group of related CLs.
Package quota manages run and tryjobs quotas per user
Package quota manages run and tryjobs quotas per user
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.
admin/api
Package adminpb contains LUCI CV admin/maintainer APIs definitions.
Package adminpb contains LUCI CV admin/maintainer APIs definitions.
pagination
Package pagination implements handling of page sizes & tokens in CV APIs.
Package pagination implements handling of page sizes & tokens in CV APIs.
v0
Package rpc implements CV V0 pRPC APIs.
Package rpc implements CV V0 pRPC APIs.
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.
bq
Package bq provides functionality for sending finished Run rows to BigQuery.
Package bq provides functionality for sending finished Run rows to BigQuery.
eventpb
Package eventpb stores protos for event processing of RunManager.
Package eventpb stores protos for event processing of RunManager.
impl
Package impl implements a RunManager.
Package impl implements a RunManager.
impl/handler
Package handler implements handlers that handles run events.
Package handler implements handlers that handles run events.
impl/longops
Package longops implements long operations of the Run Manager.
Package longops implements long operations of the Run Manager.
impl/state
Package state defines the model for a Run state.
Package state defines the model for a Run state.
impl/submit
Package submit contains utilities for Run submission.
Package submit contains utilities for Run submission.
impl/util
Package util contains the common utility functions shared by RunManager.
Package util contains the common utility functions shared by RunManager.
postaction
Package postaction executes post actions for run termination events.
Package postaction executes post actions for run termination events.
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.
rdb
Package rdb provides functionality for notifying ResultDB of successfully merged invocations.
Package rdb provides functionality for notifying ResultDB of successfully merged invocations.
runcreator
Package runcreator creates new Runs.
Package runcreator creates new Runs.
runquery
Package runquery contains logic to query runs.
Package runquery contains logic to query runs.
runtest
Package runtest implements tests for working with Run Manager.
Package runtest implements tests for working with Run Manager.
Package tracing contains helper for reporting OpenTelemetry tracing spans.
Package tracing contains helper for reporting OpenTelemetry tracing spans.
Package tryjob handles individual Tryjob handling in CV.
Package tryjob handles individual Tryjob handling in CV.
execute
Package execute implements logic to execute tryjob requirement for Runs.
Package execute implements logic to execute tryjob requirement for Runs.
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.
tjcancel
Package tjcancel contains code in charge of cancelling stale tryjobs.
Package tjcancel contains code in charge of cancelling stale tryjobs.
update
Package tjupdate contains Updater, which handles an UpdateTryjobTask.
Package tjupdate contains Updater, which handles an UpdateTryjobTask.
Package userhtml contains what's needed to render frontend content.
Package userhtml contains what's needed to render frontend content.
Package usertext generates messages for users (humans) using Go templating system.
Package usertext generates messages for users (humans) using Go templating system.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL