worker

package
v0.19.1306 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2026 License: AGPL-3.0 Imports: 29 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Params

type Params struct {
	fx.In

	V             *validator.Validate
	Cfg           *internal.Config
	MetricsWriter metrics.Writer
	Analytics     temporalanalytics.Writer
}

type Worker

type Worker struct {
	worker.Worker
}

func New

func New(params WorkerParams) (*Worker, error)

type WorkerParams

type WorkerParams struct {
	fx.In

	Cfg                   *internal.Config
	Tclient               temporalclient.Client
	Wkflows               *Workflows
	Acts                  *activities.Activities
	BranchActs            *branchactivities.Activities
	SyncInstallConfigActs *syncappconfiginstalls.Activities
	AppConfigSyncActs     *appconfigsync.Activities
	AppBundlePublishActs  *appbundlepublishactivities.Activities

	SharedActs      *workflows.Activities
	SharedWorkflows *workflows.Workflows

	Interceptors []interceptor.WorkerInterceptor `group:"interceptors"`

	L  *zap.Logger
	LC fx.Lifecycle
}

type Workflows

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

func NewWorkflows

func NewWorkflows(params Params) (*Workflows, error)

func (*Workflows) All

func (w *Workflows) All() []any

func (*Workflows) ListWorkflowFns added in v0.19.850

func (w *Workflows) ListWorkflowFns() []any

ListWorkflowFns returns the list of workflow functions for registration

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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