Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Retry ¶
func Retry(attempts int, waitTime time.Duration, gf GenRetryFunc) error
Retry executes the given function for the specified number of retry attempts.
func ScheduleWork ¶
func ScheduleWork(tickerDuration time.Duration, l logr.Logger, gsf GenSchedFunc, timeparm time.Duration)
Starts ticker task to run custom work.
Types ¶
type GenSchedFunc ¶
GenSchedFunc is a generic scheduleable function
Click to show internal directories.
Click to hide internal directories.