Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Builder ¶
type Builder struct {
// contains filtered or unexported fields
}
Builder is a builder for creating a new scheduler.
type Interface ¶
type Interface interface { // Next returns the next trigger time for the schedule. // The given count is the number of times the trigger has been run. // The last parameter is the time the trigger was last run or job created // time. // Returns nil if the schedule will never trigger again. Next(count uint32, last *timestamppb.Timestamp) *time.Time }
Interface is an interface which returns the next trigger time for a given parsed schedule.
Click to show internal directories.
Click to hide internal directories.