Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ScheduleStore ¶
type ScheduleStore interface {
// List returns every Schedule CR in the watched namespace, adapted
// to []schedule.TaskDefinition. CRs whose Recurrence value is not a
// known RecurrenceKind are logged and dropped (never abort the read).
// A lister error is wrapped and returned.
List(ctx context.Context) ([]schedule.TaskDefinition, error)
}
ScheduleStore returns the current recurring-task inventory, read from the informer cache over the Schedule CRD.
func NewScheduleStore ¶
func NewScheduleStore(lister listersv1.ScheduleLister, namespace string) ScheduleStore
NewScheduleStore builds a ScheduleStore backed by an informer lister.
Click to show internal directories.
Click to hide internal directories.