Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
bronto
command
|
|
|
Package integration black-box tests the built bronto binary via os/exec: real process, real exit codes, real signal handling — named coverage gaps like tail's SIGINT path (tail_sigint_test.go) and main()'s own exit mapping (cmd/bronto/main.go's exitStatus) live only there and can't be reached by in-process unit tests.
|
Package integration black-box tests the built bronto binary via os/exec: real process, real exit codes, real signal handling — named coverage gaps like tail's SIGINT path (tail_sigint_test.go) and main()'s own exit mapping (cmd/bronto/main.go's exitStatus) live only there and can't be reached by in-process unit tests. |
|
internal
|
|
|
api
Package api contains the client and types generated from the vendored Bronto OpenAPI spec (api/openapi.yaml).
|
Package api contains the client and types generated from the vendored Bronto OpenAPI spec (api/openapi.yaml). |
|
bronto
Package bronto is the service layer: request/response models and cross-endpoint workflows over the Bronto REST API (spec §4).
|
Package bronto is the service layer: request/response models and cross-endpoint workflows over the Bronto REST API (spec §4). |
|
cli
Package cli contains the Cobra command tree.
|
Package cli contains the Cobra command tree. |
|
clierr
Package clierr defines the CLI's typed errors: stable machine codes, human hints, and the exit-code contract (spec §5).
|
Package clierr defines the CLI's typed errors: stable machine codes, human hints, and the exit-code contract (spec §5). |
|
config
Package config resolves CLI configuration with the precedence flags > env > project .bronto.toml > user config > defaults (spec §6), tracking the source of every value.
|
Package config resolves CLI configuration with the precedence flags > env > project .bronto.toml > user config > defaults (spec §6), tracking the source of every value. |
|
ingest
Package ingest sends events to Bronto's ingestion host (a separate host from the REST API): NDJSON bodies, routing headers, optional gzip.
|
Package ingest sends events to Bronto's ingestion host (a separate host from the REST API): NDJSON bodies, routing headers, optional gzip. |
|
output
Package output is the single output engine used by every command (spec §5).
|
Package output is the single output engine used by every command (spec §5). |
|
secrets
Package secrets stores API keys in the OS keychain (macOS Keychain, Linux Secret Service, Windows Credential Manager) with a 0600 credentials-file fallback for headless environments (spec §6).
|
Package secrets stores API keys in the OS keychain (macOS Keychain, Linux Secret Service, Windows Credential Manager) with a 0600 credentials-file fallback for headless environments (spec §6). |
|
timerange
Package timerange converts CLI time flags (--since / --from / --to) into the Bronto search API's time parameters: a relative time_range string ("Last 15 minutes") or absolute from_ts/to_ts unix-millisecond bounds.
|
Package timerange converts CLI time flags (--since / --from / --to) into the Bronto search API's time parameters: a relative time_range string ("Last 15 minutes") or absolute from_ts/to_ts unix-millisecond bounds. |
|
tools/endpointmap
command
Command endpointmap prints the CLI's management-API endpoint inventory (see cli.EndpointInventory) as JSON.
|
Command endpointmap prints the CLI's management-API endpoint inventory (see cli.EndpointInventory) as JSON. |
|
traces
Package traces implements the trace explorer: span model, aggregations, and the waterfall/shape algorithms over Bronto's .traces logset.
|
Package traces implements the trace explorer: span model, aggregations, and the waterfall/shape algorithms over Bronto's .traces logset. |
|
version
Package version holds build metadata injected via -ldflags.
|
Package version holds build metadata injected via -ldflags. |
Click to show internal directories.
Click to hide internal directories.