Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
xray
command
Package main implements the xray CLI subcommands.
|
Package main implements the xray CLI subcommands. |
|
internal
|
|
|
archive
Package archive packages the SQLite database and manifest into the final .tar.gz artifact.
|
Package archive packages the SQLite database and manifest into the final .tar.gz artifact. |
|
config
Package config parses and validates xray TOML configuration with line-numbered diagnostics.
|
Package config parses and validates xray TOML configuration with line-numbered diagnostics. |
|
connector
Package connector defines the Connector and Sink interfaces and the Provenance struct returned by each extraction.
|
Package connector defines the Connector and Sink interfaces and the Provenance struct returned by each extraction. |
|
connectors
Package connectors is the parent package for individual connector implementations (github, githubactions, circleci, sentry, bugsnag, honeycomb).
|
Package connectors is the parent package for individual connector implementations (github, githubactions, circleci, sentry, bugsnag, honeycomb). |
|
connectors/bugsnag
Package bugsnag implements the Bugsnag Data Access API connector.
|
Package bugsnag implements the Bugsnag Data Access API connector. |
|
connectors/circleci
Package circleci implements the CircleCI v2 API connector.
|
Package circleci implements the CircleCI v2 API connector. |
|
connectors/github
Package github is the xray GitHub connector.
|
Package github is the xray GitHub connector. |
|
connectors/githubactions
Package githubactions implements the GitHub Actions connector.
|
Package githubactions implements the GitHub Actions connector. |
|
connectors/honeycomb
Package honeycomb implements the Honeycomb API connector.
|
Package honeycomb implements the Honeycomb API connector. |
|
connectors/sentry
Package sentry implements the Sentry API connector.
|
Package sentry implements the Sentry API connector. |
|
connectors/vcr
Package vcr provides a shared VCR (cassette-replay) test helper for connector packages that make real HTTP calls.
|
Package vcr provides a shared VCR (cassette-replay) test helper for connector packages that make real HTTP calls. |
|
gitcli
Package gitcli wraps the system git binary: clone, log --numstat --name-status, and per-path log.
|
Package gitcli wraps the system git binary: clone, log --numstat --name-status, and per-path log. |
|
manifest
Package manifest writes manifest.json including the extraction_provenance block that records what each connector returned per repo.
|
Package manifest writes manifest.json including the extraction_provenance block that records what each connector returned per repo. |
|
model
Package model defines the canonical row structs, SQLite DDL, and schema_version constant for the metrics.sqlite artifact.
|
Package model defines the canonical row structs, SQLite DDL, and schema_version constant for the metrics.sqlite artifact. |
|
postprocess
Package postprocess runs cross-cutting linkage passes against the populated metrics SQLite store after every connector has finished extracting and before the manifest is written.
|
Package postprocess runs cross-cutting linkage passes against the populated metrics SQLite store after every connector has finished extracting and before the manifest is written. |
|
preflight
Package preflight builds a cost-preview Plan for an xray run without performing the run.
|
Package preflight builds a cost-preview Plan for an xray run without performing the run. |
|
progress
Package progress defines the structured run-time event contract for xray's CLI output cluster (cli-ux).
|
Package progress defines the structured run-time event contract for xray's CLI output cluster (cli-ux). |
|
ratelimit
Package ratelimit provides a shared exponential-backoff HTTP helper that honours X-RateLimit-* and Retry-After headers, with a 3-attempt and 60-second cumulative cap.
|
Package ratelimit provides a shared exponential-backoff HTTP helper that honours X-RateLimit-* and Retry-After headers, with a 3-attempt and 60-second cumulative cap. |
|
run
Package run orchestrates an extraction: temp-dir lifecycle, worker pool, per-(repo, connector) dispatch, manifest assembly, and provenance.
|
Package run orchestrates an extraction: temp-dir lifecycle, worker pool, per-(repo, connector) dispatch, manifest assembly, and provenance. |
|
store
Package store opens metrics.sqlite, applies the DDL, and exposes prepared inserts for the canonical tables.
|
Package store opens metrics.sqlite, applies the DDL, and exposes prepared inserts for the canonical tables. |
Click to show internal directories.
Click to hide internal directories.