internal/

directory
v1.0.14 Latest Latest
Warning

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

Go to latest
Published: May 3, 2026 License: MIT

Directories

Path Synopsis
Package admin provides admin dashboard support: audit logging, ACL, multi-project management, and remote connect helpers.
Package admin provides admin dashboard support: audit logging, ACL, multi-project management, and remote connect helpers.
Package aiprofile implements AI_PROFILE enforcement, budget caps, feature flags, per-tier timeouts, and rate-limit coordination.
Package aiprofile implements AI_PROFILE enforcement, budget caps, feature flags, per-tier timeouts, and rate-limit coordination.
Package alerts manages Prometheus alert rules and Alertmanager routing for nSelf.
Package alerts manages Prometheus alert rules and Alertmanager routing for nSelf.
Package apidocs generates an OpenAPI 3.1 spec from the Hasura introspection result and any registered plugin REST routes.
Package apidocs generates an OpenAPI 3.1 spec from the Hasura introspection result and any registered plugin REST routes.
Package auth — HTTP client for nSelf auth server operations.
Package auth — HTTP client for nSelf auth server operations.
Package backup provides path validation helpers for backup operations.
Package backup provides path validation helpers for backup operations.
pitr
Package pitr implements point-in-time recovery via pg_basebackup and WAL archiving.
Package pitr implements point-in-time recovery via pg_basebackup and WAL archiving.
np_plugins_init.go — P97 G0-T04
np_plugins_init.go — P97 G0-T04
monitoring
Package monitoring — alert rule and Alertmanager config generators.
Package monitoring — alert rule and Alertmanager config generators.
Package config — user-level telemetry preference management.
Package config — user-level telemetry preference management.
Package cost implements per-service cost alerting for nSelf AI and media plugins.
Package cost implements per-service cost alerting for nSelf AI and media plugins.
Package database provides database and Hasura metadata operations.
Package database provides database and Hasura metadata operations.
Package deploy provides deployment management commands for the nSelf CLI.
Package deploy provides deployment management commands for the nSelf CLI.
bluegreen
Package bluegreen implements zero-downtime blue/green and canary deploys for the nSelf CLI (B47 + B48).
Package bluegreen implements zero-downtime blue/green and canary deploys for the nSelf CLI (B47 + B48).
Package deprecation — G4: sunset date computation for per-plugin API entries.
Package deprecation — G4: sunset date computation for per-plugin API entries.
Package dlq provides helpers for nself dlq replay.
Package dlq provides helpers for nself dlq replay.
S77-T08: doctor --deep check for orphaned Hasura remote schemas.
S77-T08: doctor --deep check for orphaned Hasura remote schemas.
Package dogfood implements the nSelf dogfood audit system for production health verification.
Package dogfood implements the nSelf dogfood audit system for production health verification.
Package domain provides DNS propagation polling and nginx server block generation for custom domain provisioning.
Package domain provides DNS propagation polling and nginx server block generation for custom domain provisioning.
Package dr provides disaster recovery operations: drills, standby promotion, rollback, and split-brain fencing.
Package dr provides disaster recovery operations: drills, standby promotion, rollback, and split-brain fencing.
Package env implements multi-environment management for nSelf projects.
Package env implements multi-environment management for nSelf projects.
Package errors provides the canonical error catalog for the nSelf CLI.
Package errors provides the canonical error catalog for the nSelf CLI.
Package errs defines sentinel errors for the nself CLI.
Package errs defines sentinel errors for the nself CLI.
Package federation implements GraphQL Federation support for multi-service nSelf deployments.
Package federation implements GraphQL Federation support for multi-service nSelf deployments.
Package flags provides a thin REST client over the nself feature-flags plugin (port 3305, nginx-proxied).
Package flags provides a thin REST client over the nself feature-flags plugin (port 3305, nginx-proxied).
Package gdpr provides GDPR data portability (Art.
Package gdpr provides GDPR data portability (Art.
Package generate provides the schema codegen engine for nself generate.
Package generate provides the schema codegen engine for nself generate.
Package infra provides a thin wrapper around the Terraform CLI for provisioning nSelf infrastructure via provider-specific modules (B51/B52).
Package infra provides a thin wrapper around the Terraform CLI for provisioning nSelf infrastructure via provider-specific modules (B51/B52).
Package installer provides automated installation of Ollama and related local-LLM infrastructure for nSelf Block A (Zero-Config AI).
Package installer provides automated installation of Ollama and related local-LLM infrastructure for nSelf Block A (Zero-Config AI).
Package installmeta persists install-time metadata to ~/.nself/install-meta.json.
Package installmeta persists install-time metadata to ~/.nself/install-meta.json.
Package k8s provides a thin wrapper around the Helm CLI for managing nSelf Helm chart deployments (B50).
Package k8s provides a thin wrapper around the Helm CLI for managing nSelf Helm chart deployments (B50).
Package license — banner.go provides warning banner text for grace period states.
Package license — banner.go provides warning banner text for grace period states.
Package mail provides an HTTP client for the ping_api /mail/* endpoints.
Package mail provides an HTTP client for the ping_api /mail/* endpoints.
Package maintenance — daily Hasura metadata backup cron registration.
Package maintenance — daily Hasura metadata backup cron registration.
Package metrics emits Prometheus-compatible metrics written to a textfile collector directory for node_exporter to scrape.
Package metrics emits Prometheus-compatible metrics written to a textfile collector directory for node_exporter to scrape.
Package migrate provides migration helpers for legacy nSelf project layouts.
Package migrate provides migration helpers for legacy nSelf project layouts.
Package migrationai provides AST-based schema delta detection and AI-assisted SQL migration generation for nSelf projects.
Package migrationai provides AST-based schema delta detection and AI-assisted SQL migration generation for nSelf projects.
Package monitoring handles Grafana dashboard provisioning for nself monitoring plugin.
Package monitoring handles Grafana dashboard provisioning for nself monitoring plugin.
Package oauth provides manual OAuth token refresh helpers.
Package oauth provides manual OAuth token refresh helpers.
Package observability provides shared Prometheus metrics and OpenTelemetry tracing helpers for all nSelf Go services.
Package observability provides shared Prometheus metrics and OpenTelemetry tracing helpers for all nSelf Go services.
Package onboarding implements the 6-stage onboarding funnel check for nself doctor --install-check.
Package onboarding implements the 6-stage onboarding funnel check for nself doctor --install-check.
scaffold
Package scaffold provides the canonical plugin scaffolding logic shared between the nself CLI (plugin new command) and the standalone new-plugin binary in plugin-sdk-go/devkit.
Package scaffold provides the canonical plugin scaffolding logic shared between the nself CLI (plugin new command) and the standalone new-plugin binary in plugin-sdk-go/devkit.
Package ports provides port-holder identification utilities for the nSelf CLI.
Package ports provides port-holder identification utilities for the nSelf CLI.
Package promote implements staging-to-production promotion with diff preview and rollback.
Package promote implements staging-to-production promotion with diff preview and rollback.
Package queue provides CLI integration for the pg-boss queue/jobs plugin.
Package queue provides CLI integration for the pg-boss queue/jobs plugin.
Package region implements multi-region awareness for nSelf deployments (B49).
Package region implements multi-region awareness for nSelf deployments (B49).
Package runbook implements the SRE runbook library and claw-ops auto-execution engine.
Package runbook implements the SRE runbook library and claw-ops auto-execution engine.
Package search provides MeiliSearch integration helpers for the nSelf CLI.
Package search provides MeiliSearch integration helpers for the nSelf CLI.
Package secrets — rotation scheduling, dual-key windows, and expiry alerts.
Package secrets — rotation scheduling, dual-key windows, and expiry alerts.
Package seed implements the DB seeding fixtures system for nSelf projects.
Package seed implements the DB seeding fixtures system for nSelf projects.
Package setup — .env.ai generator for P88 Zero-Config AI (Sprint 01, T-01-09).
Package setup — .env.ai generator for P88 Zero-Config AI (Sprint 01, T-01-09).
Package soak provides helpers for nself soak abort --rollback.
Package soak provides helpers for nself soak abort --rollback.
Package telemetry — opt-in anonymous CLI telemetry client (S65.T01 / Q07).
Package telemetry — opt-in anonymous CLI telemetry client (S65.T01 / Q07).
templates
clone
Package clone provides embedded app-clone templates for nself init --template.
Package clone provides embedded app-clone templates for nself init --template.
Package tenant provides multi-tenancy management: RLS policy generation, tenant lifecycle (create/upgrade/suspend/destroy), usage metering, billing integration, and audit logging.
Package tenant provides multi-tenancy management: RLS policy generation, tenant lifecycle (create/upgrade/suspend/destroy), usage metering, billing integration, and audit logging.
Package upgrade implements release channel selection and version resolution for the `nself upgrade` command.
Package upgrade implements release channel selection and version resolution for the `nself upgrade` command.
Package ux provides user-experience primitives for structured CLI error display.
Package ux provides user-experience primitives for structured CLI error display.
Package watchdog implements self-healing container monitoring with circuit breaker.
Package watchdog implements self-healing container monitoring with circuit breaker.
Package webhook provides HMAC-SHA256 signing and dispatch for nSelf webhook deliveries.
Package webhook provides HMAC-SHA256 signing and dispatch for nSelf webhook deliveries.

Jump to

Keyboard shortcuts

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