Documentation ¶
Index ¶
Constants ¶
View Source
const NoBackoff = time.Duration(-1)
NoBackoff is used to represent backoff when no cron backoff is needed
Variables ¶
This section is empty.
Functions ¶
func GetBackoffForNextSchedule ¶
GetBackoffForNextSchedule calculates the backoff time for the next run given a cronSchedule and current time
func GetBackoffForNextScheduleInSeconds ¶
GetBackoffForNextScheduleInSeconds calculates the backoff time in seconds for the next run given a cronSchedule and current time
func ValidateSchedule ¶
ValidateSchedule validates a cron schedule spec
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.