internal/

directory
v1.14.0 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2026 License: Apache-2.0

Directories

Path Synopsis
api
Package api provides primitives to interact with the openapi HTTP API.
Package api provides primitives to interact with the openapi HTTP API.
swagger
Package swagger embeds the Swagger UI 5.x distribution and the longue-vue OpenAPI spec, and exposes HTTP handlers for serving both (UIHandler for the shell, OpenAPISpecHandler for the spec).
Package swagger embeds the Swagger UI 5.x distribution and the longue-vue OpenAPI spec, and exposes HTTP handlers for serving both (UIHandler for the shell, OpenAPISpecHandler for the spec).
Package auth owns the cryptographic primitives for human authentication per ADR-0007: argon2id password hashing, random secret generation for session cookies and API-token plaintexts, and the PHC-encoded format helpers the store reads back.
Package auth owns the cryptographic primitives for human authentication per ADR-0007: argon2id password hashing, random secret generation for session cookies and API-token plaintexts, and the PHC-encoded format helpers the store reads back.
Package collector polls a Kubernetes cluster on an interval and refreshes the matching CMDB records.
Package collector polls a Kubernetes cluster on an interval and refreshes the matching CMDB records.
apiclient
Package apiclient implements collector.CmdbStore over the longue-vue REST API.
Package apiclient implements collector.CmdbStore over the longue-vue REST API.
Package eol enriches CMDB entities with end-of-life lifecycle data sourced from endoflife.date (ADR-0012).
Package eol enriches CMDB entities with end-of-life lifecycle data sourced from endoflife.date (ADR-0012).
Package eolagg flattens EOL annotations from clusters, nodes, and VMs into a row shape suitable for tabular export (CSV / JSON) or future list endpoints.
Package eolagg flattens EOL annotations from clusters, nodes, and VMs into a row shape suitable for tabular export (CSV / JSON) or future list endpoints.
Package flowmatrix computes, at read time, a per-cluster comparison of the discovered network posture (perimeter security-group rules + internal NetworkPolicy rules) against an operator-declared reference matrix.
Package flowmatrix computes, at read time, a per-cluster comparison of the discovered network posture (perimeter security-group rules + internal NetworkPolicy rules) against an operator-declared reference matrix.
Package httptransport provides the HTTP client plumbing shared by the push-mode collector apiclients (internal/collector/apiclient and internal/vmcollector/apiclient): TLS/mTLS transport construction from PEM file paths, bearer-token + extra-header injection, and a JSON round-trip helper with exponential-backoff retries.
Package httptransport provides the HTTP client plumbing shared by the push-mode collector apiclients (internal/collector/apiclient and internal/vmcollector/apiclient): TLS/mTLS transport construction from PEM file paths, bearer-token + extra-header injection, and a JSON round-trip helper with exponential-backoff retries.
Package httputil provides shared HTTP request introspection helpers that gate the trust placed in attacker-controllable proxy headers.
Package httputil provides shared HTTP request introspection helpers that gate the trust placed in attacker-controllable proxy headers.
Package imageversions enriches container images used in Kubernetes clusters with the latest available tag from their source registry.
Package imageversions enriches container images used in Kubernetes clusters with the latest available tag from their source registry.
mirrorresolve
Package mirrorresolve resolves mirrored container image references (Harbor with replication) back to their public origin by reading OCI manifest annotations preserved during replication.
Package mirrorresolve resolves mirrored container image references (Harbor with replication) back to their public origin by reading OCI manifest annotations preserved during replication.
registry
Package registry contains the OCI-distribution registry client and the hostname allowlist matcher used by the imageversions enricher.
Package registry contains the OCI-distribution registry client and the hostname allowlist matcher used by the imageversions enricher.
Package impact provides dependency-graph traversal for CMDB entities, enabling blast-radius analysis when a component changes (ADR-0013).
Package impact provides dependency-graph traversal for CMDB entities, enabling blast-radius analysis when a component changes (ADR-0013).
Package ingestgw implements longue-vue-ingest-gw, the DMZ ingest gateway fronting the K8s push collector → longue-vue write path (ADR-0016).
Package ingestgw implements longue-vue-ingest-gw, the DMZ ingest gateway fronting the K8s push collector → longue-vue write path (ADR-0016).
Package mcp exposes CMDB data through the Model Context Protocol (MCP), enabling agents to query longue-vue inventory read-only.
Package mcp exposes CMDB data through the Model Context Protocol (MCP), enabling agents to query longue-vue inventory read-only.
Package metrics owns the Prometheus registry exposed on /metrics.
Package metrics owns the Prometheus registry exposed on /metrics.
Package metricsrefresh hosts the periodic goroutine that recomputes store-derived Prometheus gauges (those that can't be incremented inline on a request path).
Package metricsrefresh hosts the periodic goroutine that recomputes store-derived Prometheus gauges (those that can't be incremented inline on a request path).
Package secrets implements envelope encryption of long-lived secrets stored in the CMDB (cloud-provider AK/SK pairs per ADR-0015).
Package secrets implements envelope encryption of long-lived secrets stored in the CMDB (cloud-provider AK/SK pairs per ADR-0015).
Package store provides the PostgreSQL implementation of api.Store.
Package store provides the PostgreSQL implementation of api.Store.
Package timetravel implements the history-capture subsystem from ADR-0021 §4.
Package timetravel implements the history-capture subsystem from ADR-0021 §4.
Package vmcollector implements the polling loop run by the longue-vue-vm-collector binary (ADR-0015 §11).
Package vmcollector implements the polling loop run by the longue-vue-vm-collector binary (ADR-0015 §11).
apiclient
Package apiclient implements the narrow collector-side store that longue-vue-vm-collector uses to talk to longue-vue over HTTPS (ADR-0015).
Package apiclient implements the narrow collector-side store that longue-vue-vm-collector uses to talk to longue-vue over HTTPS (ADR-0015).
filter
Package filter implements the cheap pre-filter that drops VMs the longue-vue-vm-collector should never push to longue-vue (ADR-0015 §8).
Package filter implements the cheap pre-filter that drops VMs the longue-vue-vm-collector should never push to longue-vue (ADR-0015 §8).
provider
Package provider defines the cloud-provider seam used by the longue-vue-vm-collector binary (ADR-0015 §7).
Package provider defines the cloud-provider seam used by the longue-vue-vm-collector binary (ADR-0015 §7).

Jump to

Keyboard shortcuts

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