changepointgrouper

package
v0.0.0-...-d3da680 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Package changepointgrouper defines the top-level task queue which groups changepoints from changepoint analysis and export it BigQuery table.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterTaskHandler

func RegisterTaskHandler(srv *server.Server) error

RegisterTaskHandler registers the handler for group changepoints tasks.

func Schedule

func Schedule(ctx context.Context, week time.Time) error

Schedule enqueues a task to group and export changepoint for a certain week.

Types

type ChangePointClient

type ChangePointClient interface {
	ReadChangepointsRealtime(ctx context.Context, week time.Time) ([]*changepoints.ChangepointDetailRow, error)
}

Jump to

Keyboard shortcuts

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