Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
cronix
command
|
|
|
cronix-trigger-lambda
command
cronix-trigger-lambda is the AWS Lambda companion to the AWS EventBridge Scheduler backend.
|
cronix-trigger-lambda is the AWS Lambda companion to the AWS EventBridge Scheduler backend. |
|
examples
|
|
|
go-app
command
Package main is a runnable example of an app verifying cronix triggers using the public Go SDK at github.com/awbx/cronix/go/pkg/cronsdk.
|
Package main is a runnable example of an app verifying cronix triggers using the public Go SDK at github.com/awbx/cronix/go/pkg/cronsdk. |
|
internal
|
|
|
auth
Package auth implements HMAC-SHA256 signing and verification for cronix manifests and triggers.
|
Package auth implements HMAC-SHA256 signing and verification for cronix manifests and triggers. |
|
backends
Package backends defines the Backend interface that every host scheduler adapter (crontab, systemd-timer, kubernetes) implements.
|
Package backends defines the Backend interface that every host scheduler adapter (crontab, systemd-timer, kubernetes) implements. |
|
backends/aws
Package aws is the AWS EventBridge Scheduler backend adapter.
|
Package aws is the AWS EventBridge Scheduler backend adapter. |
|
backends/crontab
Package crontab is the crontab backend adapter.
|
Package crontab is the crontab backend adapter. |
|
backends/historyutil
Package historyutil parses the trigger shim's slog-JSON output into HistoryEntry records, regardless of whether the lines arrive wrapped in journald JSON (systemd backend) or as raw stdout (k8s pod logs).
|
Package historyutil parses the trigger shim's slog-JSON output into HistoryEntry records, regardless of whether the lines arrive wrapped in journald JSON (systemd backend) or as raw stdout (k8s pod logs). |
|
backends/kubernetes
Package kubernetes is the Kubernetes CronJob backend adapter.
|
Package kubernetes is the Kubernetes CronJob backend adapter. |
|
backends/systemd
Package systemd is the systemd-timer backend adapter.
|
Package systemd is the systemd-timer backend adapter. |
|
cli/config
Package config loads the operator-owned cronix CLI config (the list of backends `cronix global-status` should query).
|
Package config loads the operator-owned cronix CLI config (the list of backends `cronix global-status` should query). |
|
config
Package config loads and validates the operator configuration (cronix.yaml).
|
Package config loads and validates the operator configuration (cronix.yaml). |
|
headers
Package headers defines the X-Cron-* HTTP header names cronix uses on signed manifest fetches and trigger requests.
|
Package headers defines the X-Cron-* HTTP header names cronix uses on signed manifest fetches and trigger requests. |
|
history
Package history aggregates run history from backend-native sources (journald for systemd, K8s Events + Pod logs, syslog for crontab).
|
Package history aggregates run history from backend-native sources (journald for systemd, K8s Events + Pod logs, syslog for crontab). |
|
locks
Package locks defines the Lock interface used by the trigger shim to enforce per-job concurrency policies.
|
Package locks defines the Lock interface used by the trigger shim to enforce per-job concurrency policies. |
|
locks/flock
Package flock implements the Lock interface using cross-platform file locks for `concurrency_scope: host`.
|
Package flock implements the Lock interface using cross-platform file locks for `concurrency_scope: host`. |
|
locks/redis
Package redis implements the Lock interface against Redis (SET NX EX + Lua refresh script) for `concurrency_scope: global`.
|
Package redis implements the Lock interface against Redis (SET NX EX + Lua refresh script) for `concurrency_scope: global`. |
|
manifest
Package manifest parses, validates, and normalizes cronix manifests.
|
Package manifest parses, validates, and normalizes cronix manifests. |
|
observability
Package observability emits structured logs, K8s Events, and journald fields from the trigger shim and reconciler.
|
Package observability emits structured logs, K8s Events, and journald fields from the trigger shim and reconciler. |
|
policy
Package policy holds the cross-backend conventions that every backend (and the reconciler) must agree on.
|
Package policy holds the cross-backend conventions that every backend (and the reconciler) must agree on. |
|
reconcile
Package reconcile orchestrates Plan/Apply/Diff/Drift across backends.
|
Package reconcile orchestrates Plan/Apply/Diff/Drift across backends. |
|
trigger
Package trigger implements the per-fire executor invoked by the host scheduler: load spec, acquire lock, sign HMAC, send HTTP, retry with backoff, structured-log the outcome.
|
Package trigger implements the per-fire executor invoked by the host scheduler: load spec, acquire lock, sign HMAC, send HTTP, retry with backoff, structured-log the outcome. |
|
pkg
|
|
|
cronsdk
Package cronsdk is the public Go SDK for cronix.
|
Package cronsdk is the public Go SDK for cronix. |
Click to show internal directories.
Click to hide internal directories.