Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
gocov
command
gocov is the coverage uploader CLI, run inside CI:
|
gocov is the coverage uploader CLI, run inside CI: |
|
gocov-preview
command
Command gocov-preview is the web UI's development backend: it serves the UI and its JSON API from an in-memory store seeded with a synthetic upload history, so UI work needs neither Postgres nor OAuth.
|
Command gocov-preview is the web UI's development backend: it serves the UI and its JSON API from an in-memory store seeded with a synthetic upload history, so UI work needs neither Postgres nor OAuth. |
|
gocov-server
command
gocov-server runs the gocov API + web UI:
|
gocov-server runs the gocov API + web UI: |
|
internal
|
|
|
auth
Package auth defines the sign-in provider seam for the web UI.
|
Package auth defines the sign-in provider seam for the web UI. |
|
auth/bitbucket
Package bitbucket implements auth.Provider for Bitbucket Cloud using only the standard library.
|
Package bitbucket implements auth.Provider for Bitbucket Cloud using only the standard library. |
|
auth/github
Package github implements auth.Provider for GitHub (cloud github.com) using only the standard library.
|
Package github implements auth.Provider for GitHub (cloud github.com) using only the standard library. |
|
auth/gitlab
Package gitlab implements auth.Provider for GitLab (gitlab.com) using only the standard library.
|
Package gitlab implements auth.Provider for GitLab (gitlab.com) using only the standard library. |
|
blobstore
Package blobstore abstracts raw-profile persistence so it can later move to object storage (S3/R2) without touching callers.
|
Package blobstore abstracts raw-profile persistence so it can later move to object storage (S3/R2) without touching callers. |
|
blobstore/memory
Package memory provides an in-memory blobstore.Store for tests and the gocov-preview harness.
|
Package memory provides an in-memory blobstore.Store for tests and the gocov-preview harness. |
|
blobstore/postgres
Package postgres implements blobstore.Store on a Postgres bytea column.
|
Package postgres implements blobstore.Store on a Postgres bytea column. |
|
config
Package config declares every environment variable the gocov binaries read.
|
Package config declares every environment variable the gocov binaries read. |
|
core
Package core is gocov's coverage logic, with no HTTP in it.
|
Package core is gocov's coverage logic, with no HTTP in it. |
|
diffcov
Package diffcov computes diff coverage: which changed lines of a pull request are covered by tests.
|
Package diffcov computes diff coverage: which changed lines of a pull request are covered by tests. |
|
forge
Package forge abstracts VCS-host integrations: Bitbucket, GitHub and GitLab each implement Forge in their own subpackage.
|
Package forge abstracts VCS-host integrations: Bitbucket, GitHub and GitLab each implement Forge in their own subpackage. |
|
forge/bitbucket
Package bitbucket implements forge.Forge for Bitbucket Cloud.
|
Package bitbucket implements forge.Forge for Bitbucket Cloud. |
|
forge/fake
Package fake provides a recording forge.Forge test double.
|
Package fake provides a recording forge.Forge test double. |
|
forge/github
Package github implements forge.Forge for GitHub (cloud github.com).
|
Package github implements forge.Forge for GitHub (cloud github.com). |
|
forge/gitlab
Package gitlab implements forge.Forge for GitLab (gitlab.com; a self-managed instance works through BaseURL but is not yet officially supported).
|
Package gitlab implements forge.Forge for GitLab (gitlab.com; a self-managed instance works through BaseURL but is not yet officially supported). |
|
hosted
Package hosted holds shared constants for the hosted gocov service, so the CLI's default server and the onboarding page's "server is implicit" check stay in sync from a single source of truth.
|
Package hosted holds shared constants for the hosted gocov service, so the CLI's default server and the onboarding page's "server is implicit" check stay in sync from a single source of truth. |
|
ignore
Package ignore matches coverage-report paths against the glob patterns a repo (or one upload) asks to leave out of its coverage: generated code, mocks, a dev harness under cmd/.
|
Package ignore matches coverage-report paths against the glob patterns a repo (or one upload) asks to leave out of its coverage: generated code, mocks, a dev harness under cmd/. |
|
oidc
Package oidc verifies the OIDC identity tokens a CI runner mints for itself, so an upload can prove which repository it came from without a pasted secret.
|
Package oidc verifies the OIDC identity tokens a CI runner mints for itself, so an upload can prove which repository it came from without a pasted secret. |
|
profile
Package profile defines the normalized coverage model shared by every coverage format, and the Parser interface that format-specific parsers implement.
|
Package profile defines the normalized coverage model shared by every coverage format, and the Parser interface that format-specific parsers implement. |
|
rest
Package rest is the request plumbing the forge clients and the sign-in providers share: one place that builds a call, authorizes it, bounds what it reads back and turns a refused answer into an error every forge shapes the same way.
|
Package rest is the request plumbing the forge clients and the sign-in providers share: one place that builds a call, authorizes it, bounds what it reads back and turns a refused answer into an error every forge shapes the same way. |
|
secretbox
Package secretbox seals short secrets for at-rest storage with AES-256-GCM (One-Click Connect).
|
Package secretbox seals short secrets for at-rest storage with AES-256-GCM (One-Click Connect). |
|
server
Tokenless OIDC uploads: authenticating an upload that carries no bearer token and no fork-PR run claim, but a forge-minted OIDC identity token.
|
Tokenless OIDC uploads: authenticating an upload that carries no bearer token and no fork-PR run claim, but a forge-minted OIDC identity token. |
|
store
Package store defines the storage interface and its domain types.
|
Package store defines the storage interface and its domain types. |
|
store/memory
Package memory provides an in-memory store.Store for tests and the gocov-preview harness.
|
Package memory provides an in-memory store.Store for tests and the gocov-preview harness. |
|
store/postgres
Package postgres implements store.Store on PostgreSQL via pgx.
|
Package postgres implements store.Store on PostgreSQL via pgx. |
|
store/storetest
Package storetest is the contract suite every store.Store implementation runs: the same scenarios against postgres (production) and memory (the test double the handler tests stand on), so the two cannot drift apart unnoticed.
|
Package storetest is the contract suite every store.Store implementation runs: the same scenarios against postgres (production) and memory (the test double the handler tests stand on), so the two cannot drift apart unnoticed. |
|
testpg
Package testpg provides disposable Postgres databases for integration tests.
|
Package testpg provides disposable Postgres databases for integration tests. |
|
webui
Package webui embeds the built single-page web UI.
|
Package webui embeds the built single-page web UI. |
Click to show internal directories.
Click to hide internal directories.
