Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ScheduledExecutor ¶
type ScheduledExecutor struct {
// contains filtered or unexported fields
}
ScheduledExecutor used for executing the schedules saved by the native flyte scheduler in the database.
func NewScheduledExecutor ¶
func NewScheduledExecutor(db repositoryInterfaces.SchedulerRepoInterface, workflowExecutorConfig runtimeInterfaces.WorkflowExecutorConfig, scope promutils.Scope, adminServiceClient service.AdminServiceClient) ScheduledExecutor
Directories ¶
Path | Synopsis |
---|---|
Package core This is core package for the scheduler which includes - scheduler interface - scheduler implementation using gocron https://github.com/robfig/cron - updater which updates the schedules in the scheduler by reading periodically from the DB - snapshot runner which snapshot the schedules with there last exec times so that it can be used as check point in case of a crash.
|
Package core This is core package for the scheduler which includes - scheduler interface - scheduler implementation using gocron https://github.com/robfig/cron - updater which updates the schedules in the scheduler by reading periodically from the DB - snapshot runner which snapshot the schedules with there last exec times so that it can be used as check point in case of a crash. |
Package dbapi This package implements the event scheduler interface which is called whenever a launchplan is enabled or disabled.
|
Package dbapi This package implements the event scheduler interface which is called whenever a launchplan is enabled or disabled. |
Package executor This package provides an interface to talk to admin for scheduled executions.
|
Package executor This package provides an interface to talk to admin for scheduled executions. |
Package identifier This package provides utility functions for creating a unique schedule name and execution name
|
Package identifier This package provides utility functions for creating a unique schedule name and execution name |
Package repositories This package provides the interfaces and implementations to save and retrieve schedules and snapshots from the DB.
|
Package repositories This package provides the interfaces and implementations to save and retrieve schedules and snapshots from the DB. |
Package snapshoter This package provides the ability to snapshot all the schedules in the scheduler job store and persist them in the DB in GOB binary format.
|
Package snapshoter This package provides the ability to snapshot all the schedules in the scheduler job store and persist them in the DB in GOB binary format. |
Click to show internal directories.
Click to hide internal directories.