runner

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Option

type Option func(*Options)

func WithClusterSlug added in v0.1.0

func WithClusterSlug(clusterSlug string) Option

WithClusterSlug sets the cluster to listen tasks to.

Defaults to the default cluster.

func WithDisableMetrics

func WithDisableMetrics() Option

WithDisableMetrics disables OpenTelemetry metrics for the task runner.

func WithRunnerLogger

func WithRunnerLogger(logger *slog.Logger) Option

WithRunnerLogger sets the logger to use for the task runner.

Defaults to slog.Default().

type Options

type Options struct {
	ClusterSlug   string
	Logger        *slog.Logger
	MeterProvider metric.MeterProvider
}

Options contains the configuration for Tilebox Workflows Task Runner.

Jump to

Keyboard shortcuts

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