Documentation
¶
Overview ¶
Package schedulescan finds stored cron schedules that can never fire, for rows saved before save time validation existed. It only reports.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Finding ¶
type Finding struct {
Kind string // database_backup, volume_backup, app_deploy or scheduled_task
ID string
App string
Expr string
Reason string
}
Finding is one stored schedule with no future occurrence.
type Source ¶
type Source interface {
ListScheduledDatabases(ctx context.Context) ([]store.DesiredDatabase, error)
ListScheduledServiceVolumes(ctx context.Context) ([]store.ServiceVolumeBackupConfig, error)
ListEnabledAppSchedules(ctx context.Context) ([]store.AppSchedule, error)
ListEnabledScheduledTasks(ctx context.Context) ([]store.ScheduledTask, error)
}
Source is the narrow store surface the scan reads.
Click to show internal directories.
Click to hide internal directories.