Documentation
¶
Index ¶
Constants ¶
View Source
const MinCronInterval = 5 * time.Minute
MinCronInterval is the minimum allowed interval between consecutive fires of any user-defined cron schedule (e.g. action triggers, drift scans).
Variables ¶
This section is empty.
Functions ¶
func FormatValidationError ¶
FormatValidationError formats validation errors with custom messages for specific tags
func MinScheduleInterval ¶ added in v0.19.986
MinScheduleInterval returns the smallest gap between two consecutive fires of the given schedule, sampled over the next minIntervalProbeFires fires.
Exposed so callers outside the struct-tag flow (e.g. the syncer-side `ValidateCronSchedule` helper) can apply the same rule without re-parsing.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.