warehouse

package
v0.2.6 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2026 License: Apache-2.0 Imports: 11 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Due

func Due(expr, timezone string, now time.Time, last *time.Time) bool

func ParseCron

func ParseCron(expr string) (cronExpr, error)

func Propose

func Propose(question core.Question, message string) core.ScheduleProposal

Types

type Compiler

type Compiler func(queryir.Query) (queryir.Compiled, error)

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) Create

func (s *Service) Create(input core.Schedule, userID string) (core.Schedule, error)

func (*Service) List

func (s *Service) List() ([]core.Schedule, error)

func (*Service) ListLineage

func (s *Service) ListLineage(entityType, id string) ([]core.LineageEdge, error)

func (*Service) ListRuns

func (s *Service) ListRuns(scheduleID string) ([]core.Run, error)

func (*Service) ListTables

func (s *Service) ListTables() ([]core.MaterializedTable, error)

func (*Service) Run

func (s *Service) Run(ctx context.Context, scheduleID string) (core.Run, error)

Jump to

Keyboard shortcuts

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