workflow

package
v0.0.0-...-1632c4c Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2025 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HTTPMetricsFetcher

type HTTPMetricsFetcher struct {
	// contains filtered or unexported fields
}

func NewHTTPMetricsFetcher

func NewHTTPMetricsFetcher(tokenGen tokenGenerator) (*HTTPMetricsFetcher, error)

func (HTTPMetricsFetcher) Fetch

type JSONPayload

type JSONPayload struct {
	R RField `json:"r,omitempty"`
}

type JobArguments

type JobArguments struct {
	// contains filtered or unexported fields
}

func NewJobArguments

func NewJobArguments(
	queryName metricdatatypes.UMAExportQuery,
	day civil.Date,
	histogramName metricdatatypes.HistogramName) JobArguments

NewJobArguments constructor to create JobArguments, encapsulating essential workflow parameters.

type MetricFetecher

type MetricFetecher interface {
	Fetch(context.Context, metricdatatypes.UMAExportQuery, civil.Date) (io.ReadCloser, error)
}

type MetricParser

type MetricParser interface {
	Parse(context.Context, io.ReadCloser) (metricdatatypes.BucketDataMetrics, error)
}

type MetricStorer

MetricStorer represents the behavior to the storage layer.

type UMAExportJobProcessor

type UMAExportJobProcessor struct {
	// contains filtered or unexported fields
}

func NewUMAExportJobProcessor

func NewUMAExportJobProcessor(
	metricStorer MetricStorer, metricFetcher MetricFetecher, metricParser MetricParser) UMAExportJobProcessor

NewUMAExportJobProcessor constructs a UMAExportJobProcessor.

func (UMAExportJobProcessor) Process

type XSSIMetricsParser

type XSSIMetricsParser struct{}

func (XSSIMetricsParser) Parse

Jump to

Keyboard shortcuts

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