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 a throwaway dev harness: it serves the web UI from an in-memory store seeded with a synthetic upload history, for eyeballing UI changes without Postgres.
|
Command gocov-preview is a throwaway dev harness: it serves the web UI from an in-memory store seeded with a synthetic upload history, for eyeballing UI changes without Postgres. |
|
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.
|
Package memory provides an in-memory blobstore.Store for tests. |
|
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 first; GitHub and GitLab later).
|
Package forge abstracts VCS-host integrations (Bitbucket first; GitHub and GitLab later). |
|
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. |
|
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. |
|
secretbox
Package secretbox seals short secrets for at-rest storage with AES-256-GCM (One-Click Connect D6).
|
Package secretbox seals short secrets for at-rest storage with AES-256-GCM (One-Click Connect D6). |
|
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.
|
Package memory provides an in-memory store.Store for tests. |
|
store/postgres
Package postgres implements store.Store on PostgreSQL via pgx.
|
Package postgres implements store.Store on PostgreSQL via pgx. |
|
testpg
Package testpg provides disposable Postgres databases for integration tests.
|
Package testpg provides disposable Postgres databases for integration tests. |
Click to show internal directories.
Click to hide internal directories.
