Documentation
¶
Index ¶
- type Worker
- type WorkerParams
- type Workflows
- func (w *Workflows) All() []any
- func (w *Workflows) Build(ctx workflow.Context, sreq signals.RequestSignal) error
- func (w *Workflows) Created(ctx workflow.Context, sreq signals.RequestSignal) error
- func (w *Workflows) Delete(ctx workflow.Context, sreq signals.RequestSignal) error
- func (w *Workflows) EventLoop(ctx workflow.Context, req eventloop.EventLoopRequest, ...) error
- func (w *Workflows) PollDependencies(ctx workflow.Context, sreq signals.RequestSignal) error
- func (w *Workflows) Provision(ctx workflow.Context, sreq signals.RequestSignal) error
- func (w *Workflows) QueueBuild(ctx workflow.Context, sreq signals.RequestSignal) error
- func (w *Workflows) Restarted(ctx workflow.Context, sreq signals.RequestSignal) error
- func (w *Workflows) UpdateComponentType(ctx workflow.Context, sreq signals.RequestSignal) error
- type WorkflowsParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WorkerParams ¶
type WorkerParams struct {
fx.In
Cfg *internal.Config
Tclient temporalclient.Client
Wkflows *Workflows
Acts *activities.Activities
L *zap.Logger
LC fx.Lifecycle
Interceptors []interceptor.WorkerInterceptor `group:"interceptors"`
}
type Workflows ¶
type Workflows struct {
// contains filtered or unexported fields
}
func NewWorkflows ¶
func NewWorkflows(params WorkflowsParams) (*Workflows, error)
func (*Workflows) PollDependencies ¶
TODO(ja): Components don't have a status field, so we can't update them if this fails. Not sure if that's a problem or not.
@temporal-gen workflow @execution-timeout 5m @task-timeout 3m
func (*Workflows) QueueBuild ¶
@temporal-gen workflow
func (*Workflows) UpdateComponentType ¶
@temporal-gen workflow
Source Files
¶
Click to show internal directories.
Click to hide internal directories.