Documentation
¶
Index ¶
- type RecipeProjectProvider
- type SWFWorkflowControl
- func (s *SWFWorkflowControl) Cancel(ctx context.Context, jobKey swf.JobKey) error
- func (s *SWFWorkflowControl) CompleteTask(ctx context.Context, jobKey swf.JobKey, taskOrdinal int64, hash string, ...) error
- func (s *SWFWorkflowControl) GetArtifactLazy(ctx context.Context, tenantId string, key swf.ArtifactKey) swf.Artifact
- func (s *SWFWorkflowControl) GetWaitingTask(ctx context.Context, jobKey swf.JobKey) (workflowctl.TaskHandle, error)
- func (s *SWFWorkflowControl) JobResult(ctx context.Context, key swf.JobKey) (swf.JobData, error)
- func (s *SWFWorkflowControl) ListJobs(ctx context.Context, request swf.ListJobsRequest) (jobs []workflowctl.JobItem, nextPage string, err error)
- func (s *SWFWorkflowControl) StartJob(ctx context.Context, req workflowctl.StartJob) (swf.JobKey, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RecipeProjectProvider ¶
type SWFWorkflowControl ¶
type SWFWorkflowControl struct {
Engine swf.SWFEngine
Registry RecipeProjectProvider
PreferRuntimeRecipeResolution bool
}
func (*SWFWorkflowControl) CompleteTask ¶
func (*SWFWorkflowControl) GetArtifactLazy ¶
func (s *SWFWorkflowControl) GetArtifactLazy(ctx context.Context, tenantId string, key swf.ArtifactKey) swf.Artifact
func (*SWFWorkflowControl) GetWaitingTask ¶
func (s *SWFWorkflowControl) GetWaitingTask(ctx context.Context, jobKey swf.JobKey) (workflowctl.TaskHandle, error)
func (*SWFWorkflowControl) ListJobs ¶
func (s *SWFWorkflowControl) ListJobs(ctx context.Context, request swf.ListJobsRequest) (jobs []workflowctl.JobItem, nextPage string, err error)
func (*SWFWorkflowControl) StartJob ¶
func (s *SWFWorkflowControl) StartJob(ctx context.Context, req workflowctl.StartJob) (swf.JobKey, error)
Click to show internal directories.
Click to hide internal directories.