Help us shape the future of Go! Take the 2026 Go Developer Survey

blobbackfill

package
v0.19.1273 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2026 License: AGPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	WorkflowName    = "BackfillBlobs"
	DayWorkflowName = "BackfillBlobsDay"
	WorkflowID      = "general-blob-backfill"

	ProgressQueryType = "progress"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type DayBucket

type DayBucket struct {
	Table string `json:"table"`
	Day   string `json:"day"`
}

DayBucket is one unit of work: one table on one UTC calendar day.

type DayRequest

type DayRequest struct {
	Table string `json:"table"`
	Day   string `json:"day"`
}

type DayResult

type DayResult struct {
	Processed int64 `json:"processed"`
}

type Progress

type Progress struct {
	CurrentTable string           `json:"current_table"`
	CurrentDay   string           `json:"current_day"`
	DaysTotal    int              `json:"days_total"`
	DaysDone     int              `json:"days_done"`
	Processed    map[string]int64 `json:"processed"`
	Done         bool             `json:"done"`
}

Progress is the live snapshot returned by the parent's progress query.

type RangeRequest

type RangeRequest struct {
	Tables      []string         `json:"tables"`
	Initialized bool             `json:"initialized"`
	Pending     []DayBucket      `json:"pending"`
	Processed   map[string]int64 `json:"processed"`
	DaysTotal   int              `json:"days_total"`
	DaysDone    int              `json:"days_done"`
}

RangeRequest is the parent orchestrator input. Callers populate only Tables; the parent fills in the rest and carries it across continue-as-new.

Jump to

Keyboard shortcuts

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