Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CronShutdownVMRequest ¶ added in v0.19.850
type CronShutdownVMRequest struct {
RunnerID string `validate:"required" json:"runner_id"`
}
type WorkerParams ¶
type WorkerParams struct {
fx.In
V *validator.Validate
Cfg *internal.Config
Tclient temporalclient.Client
Wkflows *Workflows
Acts *activities.Activities
L *zap.Logger
Lc fx.Lifecycle
Interceptors []interceptor.WorkerInterceptor `group:"interceptors"`
}
type WorkflowParams ¶
type Workflows ¶
type Workflows struct {
// contains filtered or unexported fields
}
func NewWorkflows ¶
func NewWorkflows(params WorkflowParams) (*Workflows, error)
func (*Workflows) CronShutdownVM ¶ added in v0.19.850
func (w *Workflows) CronShutdownVM(ctx workflow.Context, req *CronShutdownVMRequest) error
@temporal-gen-v2 workflow @execution-timeout 3m @task-timeout 5m
Source Files
¶
Click to show internal directories.
Click to hide internal directories.