Documentation ¶
Index ¶
- func GenerateJsonSchema() ([]byte, error)
- func Parse(yamlWorkflow string) (*workflow, error)
- func ParseWorkflowSpecYaml(data string) (workflowSpec, error)
- func ValidatedWorkflowSpec(tomlString string) (job.Job, error)
- type Config
- type Delegate
- func (d *Delegate) AfterJobCreated(jb job.Job)
- func (d *Delegate) BeforeJobCreated(spec job.Job)
- func (d *Delegate) BeforeJobDeleted(spec job.Job)
- func (d *Delegate) JobType() job.Type
- func (d *Delegate) OnDeleteJob(ctx context.Context, jb job.Job, q pg.Queryer) error
- func (d *Delegate) ServicesForSpec(ctx context.Context, spec job.Job) ([]job.ServiceCtx, error)
- type Engine
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateJsonSchema ¶ added in v2.11.0
func ParseWorkflowSpecYaml ¶ added in v2.11.0
Types ¶
type Delegate ¶
type Delegate struct {
// contains filtered or unexported fields
}
func NewDelegate ¶
func NewDelegate(logger logger.Logger, registry types.CapabilitiesRegistry, legacyEVMChains legacyevm.LegacyChainContainer) *Delegate
func (*Delegate) AfterJobCreated ¶
func (*Delegate) BeforeJobCreated ¶
func (*Delegate) BeforeJobDeleted ¶
func (*Delegate) OnDeleteJob ¶
func (*Delegate) ServicesForSpec ¶
ServicesForSpec satisfies the job.Delegate interface.
type Engine ¶
type Engine struct { services.StateMachine // contains filtered or unexported fields }
Engine handles the lifecycle of a single workflow and its executions.
Click to show internal directories.
Click to hide internal directories.