pub fn default_maintenance_schedule() -> MaintenanceScheduleExpand description
The schedule an operator-managed Maintenance uses when the owning
Repository/ClusterRepository does not override it: quick every 6h (30m
jitter), full daily at 03:00 (1h jitter). Shared by the webhook (defaulting),
the controller (projection), and tests, so the default lives in exactly one
place. ADR §3.7.
use kopiur_api::default_maintenance_schedule;
let s = default_maintenance_schedule();
assert_eq!(s.quick.cron, "0 */6 * * *");
assert_eq!(s.quick.jitter.as_deref(), Some("30m"));
assert_eq!(s.full.cron, "0 3 * * *");
assert_eq!(s.full.jitter.as_deref(), Some("1h"));
assert!(s.timezone.is_none());