Documentation
¶
Index ¶
- func Hash() (string, error)
- func Register(ctx context.Context, registry jobdb.JobSchemaRegistry, tenantID string) error
- func Schema() json.RawMessage
- func Selector() (*jobdb.JobSchemaSelector, error)
- func SetSubmitJobSchema(job *jobdb.SubmitJob) error
- func SetSubmitRestartJobSchema(job *jobdb.SubmitRestartJob) error
- type JobSubmitter
- type RestartSubmitter
- type Submitter
- type WorkflowEngine
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Schema ¶
func Schema() json.RawMessage
func Selector ¶
func Selector() (*jobdb.JobSchemaSelector, error)
func SetSubmitJobSchema ¶
func SetSubmitRestartJobSchema ¶
func SetSubmitRestartJobSchema(job *jobdb.SubmitRestartJob) error
Types ¶
type JobSubmitter ¶
type RestartSubmitter ¶
type Submitter ¶
type Submitter struct {
JobSubmitter
RestartSubmitter
Registry jobdb.JobSchemaRegistry
}
func (Submitter) SubmitRestartJob ¶
type WorkflowEngine ¶
type WorkflowEngine struct {
jobworkflow.Engine
Registry jobdb.JobSchemaRegistry
}
func (WorkflowEngine) SubmitRestartJob ¶
func (e WorkflowEngine) SubmitRestartJob(ctx context.Context, job jobdb.SubmitRestartJob) (jobdb.JobKey, error)
Click to show internal directories.
Click to hide internal directories.