package
0.2.2
Repository: https://github.com/openfaas/cron-connector.git
Documentation: pkg.go.dev

# Functions

CheckSchedule returns true if the schedule string is compliant with cron.
NewScheduler returns a scheduler.
ToCronFunction converts a requests.Function object to the CronFunction and returns error if it is not possible.

# Structs

CronFunction depicts an OpenFaaS function which is invoked by cron.
ScheduledFunction is a CronFunction that has been scheduled to run.
Scheduler is an interface which talks with cron scheduler.

# Interfaces

CronFunctionInterface defines an interface to work with CronFunction during testing.

# Type aliases

CronFunctions a list of CronFunction.
EntryID type redifined for this package.
FunctionLookupBuilder alias for types.FunctionLookupBuilder.
ScheduledFunctions is an array of ScheduledFunction.