runner

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: May 23, 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 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 {
	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