Documentation
¶
Index ¶
- func Due(expr, timezone string, now time.Time, last *time.Time) bool
- func ParseCron(expr string) (cronExpr, error)
- func Propose(question core.Question, message string) core.ScheduleProposal
- type Compiler
- type Service
- func (s *Service) Create(input core.Schedule, userID string) (core.Schedule, error)
- func (s *Service) List() ([]core.Schedule, error)
- func (s *Service) ListLineage(entityType, id string) ([]core.LineageEdge, error)
- func (s *Service) ListRuns(scheduleID string) ([]core.Run, error)
- func (s *Service) ListTables() ([]core.MaterializedTable, error)
- func (s *Service) Run(ctx context.Context, scheduleID string) (core.Run, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Service ¶
type Service struct {
Schedules core.ScheduleStore
Runs core.RunStore
Tables core.MaterializedTableStore
Edges core.LineageStore
Questions core.QuestionStore
Models core.ModelStore
Writer core.WarehouseWriter
Compile Compiler
Notify func(title, body string)
// contains filtered or unexported fields
}
func (*Service) ListLineage ¶
func (s *Service) ListLineage(entityType, id string) ([]core.LineageEdge, error)
func (*Service) ListTables ¶
func (s *Service) ListTables() ([]core.MaterializedTable, error)
Click to show internal directories.
Click to hide internal directories.