internal/

directory
v1.21.19 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2026 License: Apache-2.0

Directories

Path Synopsis
bootstrap
Package bootstrap provides the minimal, environment-only configuration a TMI worker component needs to start and reach the point where it can accept a job.
Package bootstrap provides the minimal, environment-only configuration a TMI worker component needs to start and reach the point where it can accept a job.
Package configsecrets bridges internal/config and internal/secrets.
Package configsecrets bridges internal/config and internal/secrets.
Package crypto provides encryption utilities for TMI.
Package crypto provides encryption utilities for TMI.
Package dbcheck provides utilities for classifying database errors.
Package dbcheck provides utilities for classifying database errors.
Package dberrors provides typed database error classification.
Package dberrors provides typed database error classification.
Package dbschema: global ThreatModel alias sequence (#452).
Package dbschema: global ThreatModel alias sequence (#452).
Package errcode holds the closed vocabulary of machine-readable error codes returned in the "error" field (and "details.code") of TMI API error bodies (ADR 2026-10-08 error-code vocabulary, issue #1048).
Package errcode holds the closed vocabulary of machine-readable error codes returned in the "error" field (and "details.code") of TMI API error bodies (ADR 2026-10-08 error-code vocabulary, issue #1048).
Package llm is TMI's provider-agnostic seam over chat-completion and embedding backends.
Package llm is TMI's provider-agnostic seam over chat-completion and embedding backends.
Package periodic provides a small helper for ticker-driven background maintenance loops (e.g.
Package periodic provides a small helper for ticker-driven background maintenance loops (e.g.
platform
controller
Package controller implements the TMIComponent reconciler for the TMI Component Platform.
Package controller implements the TMIComponent reconciler for the TMI Component Platform.
Package rotator rotates the high-value secrets in tmi-secrets one idempotent phase at a time, recording progress in Secret annotations (#965).
Package rotator rotates the high-value secrets in tmi-secrets one idempotent phase at a time, recording progress in Secret annotations (#965).
Package safehttp provides the shared SSRF-validation and dial-time IP-pinning core for server-originated outbound HTTP.
Package safehttp provides the shared SSRF-validation and dial-time IP-pinning core for server-originated outbound HTTP.
Package secrets provides a unified interface for retrieving secrets from various providers.
Package secrets provides a unified interface for retrieving secrets from various providers.
Package tlsconfig builds the client tls.Config values TMI uses for its in-cluster Redis and NATS connections (PR 6, threats T356/T388).
Package tlsconfig builds the client tls.Config values TMI uses for its in-cluster Redis and NATS connections (PR 6, threats T356/T388).
testpki
Package testpki writes a throwaway certificate authority and leaf certificates for unit tests and the integration harness.
Package testpki writes a throwaway certificate authority and leaf certificates for unit tests and the integration harness.
Package unicodecheck provides consolidated Unicode validation for security-sensitive input.
Package unicodecheck provides consolidated Unicode validation for security-sensitive input.
Package worker is the shared runtime for TMI Component Platform worker binaries (tmi-extractor, tmi-chunk-embed).
Package worker is the shared runtime for TMI Component Platform worker binaries (tmi-extractor, tmi-chunk-embed).
Package wwwauth builds RFC 6750 (OAuth 2.0 Bearer Token) WWW-Authenticate response headers.
Package wwwauth builds RFC 6750 (OAuth 2.0 Bearer Token) WWW-Authenticate response headers.

Jump to

Keyboard shortcuts

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