Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
agent
command
Command agent is the kubexa-agent process entrypoint.
|
Command agent is the kubexa-agent process entrypoint. |
|
dev-grpc-server
command
Command dev-grpc-server is a local Kubexa gateway mock for agent development.
|
Command dev-grpc-server is a local Kubexa gateway mock for agent development. |
|
internal
|
|
|
capability
Package capability discovers every API resource in the cluster and the agent's own permission to read each one, so the platform can present an honest resource type list instead of a hardcoded subset.
|
Package capability discovers every API resource in the cluster and the agent's own permission to read each one, so the platform can present an honest resource type list instead of a hardcoded subset. |
|
collector/logs
Package logs collects Kubernetes pod logs and buffers them for export.
|
Package logs collects Kubernetes pod logs and buffers them for export. |
|
collector/logs/checkpoint
Package checkpoint persists per-stream log read positions for restart resume.
|
Package checkpoint persists per-stream log read positions for restart resume. |
|
collector/metrics
Package metrics scrapes Kubernetes Metrics API and custom Prometheus endpoints.
|
Package metrics scrapes Kubernetes Metrics API and custom Prometheus endpoints. |
|
collector/state
Package state watches Kubernetes API objects via shared informers and enqueues state events.
|
Package state watches Kubernetes API objects via shared informers and enqueues state events. |
|
health
Package health exposes HTTP liveness and readiness probes for kubexa-agent.
|
Package health exposes HTTP liveness and readiness probes for kubexa-agent. |
|
ingestrules
Package ingestrules holds the ingest rules the gateway pushes, and the agent's own defaults for whatever it does not push.
|
Package ingestrules holds the ingest rules the gateway pushes, and the agent's own defaults for whatever it does not push. |
|
k8s
Package k8s provides a production-grade Kubernetes API client for kubexa-agent.
|
Package k8s provides a production-grade Kubernetes API client for kubexa-agent. |
|
k8s/k8sconfig
Package k8sconfig holds configuration for the Kubernetes API client.
|
Package k8sconfig holds configuration for the Kubernetes API client. |
|
logger
Package logger provides a context-aware structured logger built on zerolog.
|
Package logger provides a context-aware structured logger built on zerolog. |
|
metrics
Package metrics defines and registers all Prometheus metrics for the kubexa-agent.
|
Package metrics defines and registers all Prometheus metrics for the kubexa-agent. |
|
pprof
Package pprof serves Go profiles on a dedicated, opt-in listener.
|
Package pprof serves Go profiles on a dedicated, opt-in listener. |
|
query
Package query answers live, on-demand resource reads from the gateway.
|
Package query answers live, on-demand resource reads from the gateway. |
|
query/policy
Package policy decides whether a live resource query is permitted by the cluster owner's agent configuration.
|
Package policy decides whether a live resource query is permitted by the cluster owner's agent configuration. |
|
queue
Package queue provides a durable two-tier buffer between collectors and the gRPC export stream.
|
Package queue provides a durable two-tier buffer between collectors and the gRPC export stream. |
|
stream
Package stream manages the outbound gRPC connection from kubexa-agent to the Kubexa Gateway.
|
Package stream manages the outbound gRPC connection from kubexa-agent to the Kubexa Gateway. |
|
pkg
|
|
|
buildinfo
Package buildinfo exposes agent release metadata injected at link time.
|
Package buildinfo exposes agent release metadata injected at link time. |
|
config
Package config loads and validates kubexa-agent runtime configuration.
|
Package config loads and validates kubexa-agent runtime configuration. |
|
config/k8sresource
Package k8sresource maps configured resource names to Kubernetes API metadata.
|
Package k8sresource maps configured resource names to Kubernetes API metadata. |
|
protoversion
Package protoversion defines the agent/gateway protobuf API version contract and handshake negotiation helpers.
|
Package protoversion defines the agent/gateway protobuf API version contract and handshake negotiation helpers. |
|
proto
|
|
Click to show internal directories.
Click to hide internal directories.