store

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 17, 2026 License: BSD-2-Clause Imports: 9 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL