pkg/

directory
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2026 License: Apache-2.0

Directories

Path Synopsis
Package agentclient provides the Kubernaut Agent OpenAPI client wrapper.
Package agentclient provides the Kubernaut Agent OpenAPI client wrapper.
Package aianalysis implements the AIAnalysis CRD controller.
Package aianalysis implements the AIAnalysis CRD controller.
audit
Package audit provides audit event generation for the AIAnalysis controller.
Package audit provides audit event generation for the AIAnalysis controller.
handlers
Package handlers provides phase-specific handlers for AIAnalysis reconciliation.
Package handlers provides phase-specific handlers for AIAnalysis reconciliation.
metrics
Package metrics provides Prometheus metrics for the AIAnalysis controller.
Package metrics provides Prometheus metrics for the AIAnalysis controller.
phase
Package phase provides phase constants and state machine logic for AIAnalysis.
Package phase provides phase constants and state machine logic for AIAnalysis.
rego
Package rego provides Rego policy evaluation for AIAnalysis approval decisions.
Package rego provides Rego policy evaluation for AIAnalysis approval decisions.
Package audit provides shared audit event types and utilities for all Kubernaut services.
Package audit provides shared audit event types and utilities for all Kubernaut services.
config
Package config provides configuration types for the AuthWebhook admission controller.
Package config provides configuration types for the AuthWebhook admission controller.
cache
datastorage
dlq
metrics
Package metrics provides Prometheus metrics for the Data Storage service.
Package metrics provides Prometheus metrics for the Data Storage service.
oci
ogen-client
Code generated by ogen, DO NOT EDIT.
Code generated by ogen, DO NOT EDIT.
reconstruction
Package reconstruction provides RemediationRequest CRD reconstruction from audit traces.
Package reconstruction provides RemediationRequest CRD reconstruction from audit traces.
repository
Package repository provides data access for the DataStorage service.
Package repository provides data access for the DataStorage service.
repository/sqlutil
Package sqlutil provides utility functions for working with database operations.
Package sqlutil provides utility functions for working with database operations.
repository/txretry
Package txretry provides retry logic for PostgreSQL retryable transaction errors.
Package txretry provides retry logic for PostgreSQL retryable transaction errors.
server
Adapter that bridges the repository.RemediationHistoryRepository to the server.RemediationHistoryQuerier interface, converting EffectivenessEventRow (repository package) to EffectivenessEvent (server package).
Adapter that bridges the repository.RemediationHistoryRepository to the server.RemediationHistoryQuerier interface, converting EffectivenessEventRow (repository package) to EffectivenessEvent (server package).
validation
Package validation provides validation logic for workflow registration.
Package validation provides validation logic for workflow registration.
effectivenessmonitor
alert
Package alert provides the alert resolution scorer for the Effectiveness Monitor.
Package alert provides the alert resolution scorer for the Effectiveness Monitor.
audit
Package audit provides audit event construction for the Effectiveness Monitor.
Package audit provides audit event construction for the Effectiveness Monitor.
client
Package client defines interfaces for external dependencies of the Effectiveness Monitor.
Package client defines interfaces for external dependencies of the Effectiveness Monitor.
conditions
Package conditions provides condition helpers for the EffectivenessAssessment CRD.
Package conditions provides condition helpers for the EffectivenessAssessment CRD.
config
Package config provides configuration parsing and validation for the Effectiveness Monitor.
Package config provides configuration parsing and validation for the Effectiveness Monitor.
hash
Package hash provides the spec hash computation and comparison for the Effectiveness Monitor.
Package hash provides the spec hash computation and comparison for the Effectiveness Monitor.
health
Package health provides the health check scorer for the Effectiveness Monitor.
Package health provides the health check scorer for the Effectiveness Monitor.
metrics
Package metrics provides Prometheus metrics for the Effectiveness Monitor.
Package metrics provides Prometheus metrics for the Effectiveness Monitor.
phase
Package phase provides phase constants and state machine logic for the Effectiveness Monitor.
Package phase provides phase constants and state machine logic for the Effectiveness Monitor.
startup
Package startup provides best-effort readiness checks for the EffectivenessMonitor.
Package startup provides best-effort readiness checks for the EffectivenessMonitor.
timing
Package timing provides pure functions for computing derived timing fields in the EffectivenessAssessment lifecycle.
Package timing provides pure functions for computing derived timing fields in the EffectivenessAssessment lifecycle.
types
Package types provides shared types for the Effectiveness Monitor.
Package types provides shared types for the Effectiveness Monitor.
validity
Package validity provides validity window logic for the Effectiveness Monitor.
Package validity provides validity window logic for the Effectiveness Monitor.
k8s
http
cors
Package cors provides shared CORS configuration for Kubernaut HTTP services.
Package cors provides shared CORS configuration for Kubernaut HTTP services.
Package k8sutil provides utilities for Kubernetes client initialization.
Package k8sutil provides utilities for Kubernetes client initialization.
kubernautagent
llm
llm/vertexanthropic
Package vertexanthropic implements llm.Client for Claude models hosted on Google Vertex AI using the official Anthropic Go SDK.
Package vertexanthropic implements llm.Client for Claude models hosted on Google Vertex AI using the official Anthropic Go SDK.
Package log provides a unified logging interface for all Kubernaut services.
Package log provides a unified logging interface for all Kubernaut services.
delivery
Package delivery provides shared error types for notification delivery
Package delivery provides shared error types for notification delivery
metrics
Package metrics provides Prometheus metrics for the Notification controller.
Package metrics provides Prometheus metrics for the Notification controller.
phase
Package phase provides phase constants and state machine logic for Notification service.
Package phase provides phase constants and state machine logic for Notification service.
routing
Package routing implements BR-NOT-065 (Channel Routing Based on Spec Fields) and BR-NOT-066 (Alertmanager-Compatible Configuration Format).
Package routing implements BR-NOT-065 (Channel Routing Based on Spec Fields) and BR-NOT-066 (Alertmanager-Compatible Configuration Format).
Package ogenx provides utilities for working with ogen-generated OpenAPI clients.
Package ogenx provides utilities for working with ogen-generated OpenAPI clients.
Package pii provides PII (Personally Identifiable Information) redaction utilities for SOC2 privacy compliance and data minimization.
Package pii provides PII (Personally Identifiable Information) redaction utilities for SOC2 privacy compliance and data minimization.
Package remediationapprovalrequest provides condition helpers for the RemediationApprovalRequest CRD.
Package remediationapprovalrequest provides condition helpers for the RemediationApprovalRequest CRD.
audit
Package audit provides audit event generation for RemediationApprovalRequest controller.
Package audit provides audit event generation for RemediationApprovalRequest controller.
Package remediationorchestrator provides the central coordinator for the Kubernaut remediation lifecycle.
Package remediationorchestrator provides the central coordinator for the Kubernaut remediation lifecycle.
audit
Package audit provides audit event manager for Remediation Orchestrator.
Package audit provides audit event manager for Remediation Orchestrator.
config
Package config provides centralized configuration constants for Remediation Orchestrator.
Package config provides centralized configuration constants for Remediation Orchestrator.
creator
Package creator provides child CRD creation logic for the Remediation Orchestrator.
Package creator provides child CRD creation logic for the Remediation Orchestrator.
helpers
Package helpers provides common helper utilities for Remediation Orchestrator.
Package helpers provides common helper utilities for Remediation Orchestrator.
locking
Package locking provides distributed lock management for the Remediation Orchestrator.
Package locking provides distributed lock management for the Remediation Orchestrator.
metrics
Package metrics provides Prometheus metrics for the Remediation Orchestrator.
Package metrics provides Prometheus metrics for the Remediation Orchestrator.
phase
Package phase provides phase constants and state machine logic for RO.
Package phase provides phase constants and state machine logic for RO.
routing
Package routing provides routing decision logic for RemediationOrchestrator.
Package routing provides routing decision logic for RemediationOrchestrator.
timeout
Package timeout provides timeout detection for RemediationOrchestrator.
Package timeout provides timeout detection for RemediationOrchestrator.
Package remediationrequest provides condition helpers for the RemediationRequest CRD.
Package remediationrequest provides condition helpers for the RemediationRequest CRD.
shared
audit
Package audit provides shared audit types for standardized error details.
Package audit provides shared audit types for standardized error details.
auth
Package auth provides authentication and authorization interfaces and implementations for Kubernetes-based REST API services.
Package auth provides authentication and authorization interfaces and implementations for Kubernetes-based REST API services.
backoff
Package backoff provides shared utilities for exponential backoff calculations.
Package backoff provides shared utilities for exponential backoff calculations.
conditions
Package conditions provides shared utilities for Kubernetes Conditions across all CRD controllers.
Package conditions provides shared utilities for Kubernetes Conditions across all CRD controllers.
dsclient
Package dsclient defines the unified Data Storage client interface, composing the per-concern interfaces currently scattered across pkg/audit and pkg/authwebhook.
Package dsclient defines the unified Data Storage client interface, composing the per-concern interfaces currently scattered across pkg/audit and pkg/authwebhook.
events
Package events defines the authoritative Kubernetes Event reason constants for all Kubernaut CRD controllers.
Package events defines the authoritative Kubernetes Event reason constants for all Kubernaut CRD controllers.
hash
Package hash provides a canonical hashing utility for Kubernetes resource specs.
Package hash provides a canonical hashing utility for Kubernetes resource specs.
health
Package health provides a shared health server for Kubernaut stateless services.
Package health provides a shared health server for Kubernaut stateless services.
hotreload
Package hotreload provides generic ConfigMap hot-reloading functionality.
Package hotreload provides generic ConfigMap hot-reloading functionality.
k8s
k8serrors
Package k8serrors provides helpers for classifying Kubernetes controller errors that lack typed error types in the K8s API or controller-runtime.
Package k8serrors provides helpers for classifying Kubernetes controller errors that lack typed error types in the K8s API or controller-runtime.
sanitization
Package sanitization provides DD-005 compliant log sanitization utilities.
Package sanitization provides DD-005 compliant log sanitization utilities.
scope
Package scope provides resource scope management for Kubernaut.
Package scope provides resource scope management for Kubernaut.
tls
Package tls provides shared TLS utilities for Kubernaut services.
Package tls provides shared TLS utilities for Kubernaut services.
transport
Package transport provides HTTP transport middleware for inter-service communication resilience.
Package transport provides HTTP transport middleware for inter-service communication resilience.
types
Package types provides shared types used across multiple Kubernaut CRDs.
Package types provides shared types used across multiple Kubernaut CRDs.
uuid
Package uuid provides deterministic UUID v5 generation for Kubernaut workflows.
Package uuid provides deterministic UUID v5 generation for Kubernaut workflows.
Package signalprocessing provides condition helpers for SignalProcessing CRDs.
Package signalprocessing provides condition helpers for SignalProcessing CRDs.
audit
Package audit provides audit event generation for the SignalProcessing controller.
Package audit provides audit event generation for the SignalProcessing controller.
cache
Package cache provides TTL-based caching for signal processing.
Package cache provides TTL-based caching for signal processing.
config
Package config provides configuration types for the SignalProcessing controller.
Package config provides configuration types for the SignalProcessing controller.
enricher
Package enricher provides Kubernetes context enrichment for signal processing.
Package enricher provides Kubernetes context enrichment for signal processing.
evaluator
Package evaluator provides a unified OPA Rego evaluator for SignalProcessing.
Package evaluator provides a unified OPA Rego evaluator for SignalProcessing.
handler
Package handler provides phase-specific handler logic extracted from the monolithic controller.
Package handler provides phase-specific handler logic extracted from the monolithic controller.
metrics
Package metrics provides Prometheus metrics for the SignalProcessing controller.
Package metrics provides Prometheus metrics for the SignalProcessing controller.
ownerchain
Package ownerchain provides K8s ownership chain traversal for enrichment.
Package ownerchain provides K8s ownership chain traversal for enrichment.
phase
Package phase provides phase constants and state machine logic for SignalProcessing.
Package phase provides phase constants and state machine logic for SignalProcessing.
audit
Package audit provides audit trail management for WorkflowExecution.
Package audit provides audit trail management for WorkflowExecution.
client
Package client provides clients for querying external services from the WFE controller.
Package client provides clients for querying external services from the WFE controller.
config
Package config provides configuration types for the WorkflowExecution controller.
Package config provides configuration types for the WorkflowExecution controller.
executor
Package executor defines the Strategy pattern interface for workflow execution backends.
Package executor defines the Strategy pattern interface for workflow execution backends.
metrics
Package metrics provides Prometheus metrics for workflow execution observability.
Package metrics provides Prometheus metrics for workflow execution observability.
phase
Package phase provides phase constants and state machine logic for WorkflowExecution.
Package phase provides phase constants and state machine logic for WorkflowExecution.
Package workflowschema provides conversion functions between the WorkflowSchema (parser/DS model) and RemediationWorkflowSpec (CRD API type).
Package workflowschema provides conversion functions between the WorkflowSchema (parser/DS model) and RemediationWorkflowSpec (CRD API type).

Jump to

Keyboard shortcuts

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