Documentation ¶
Index ¶
Constants ¶
View Source
const ( BatchWorkflowName = "batch-workflow" BatchWorkflowID = "batch-workflow" BatchActivityName = "batch-activity" )
Variables ¶
Functions ¶
func BatchWorkflow ¶
func BatchWorkflow(ctx workflow.Context, params BatchWorkflowInput) error
func NewService ¶
func NewService(logger logr.Logger, cc cadenceclient.Client, completedDirs []string) *batchImpl
Types ¶
type BatchActivity ¶
type BatchActivity struct {
// contains filtered or unexported fields
}
func NewBatchActivity ¶
func NewBatchActivity(batchsvc Service) *BatchActivity
func (*BatchActivity) Execute ¶
func (a *BatchActivity) Execute(ctx context.Context, params BatchWorkflowInput) error
type BatchProgress ¶
type BatchProgress struct {
CurrentID uint
}
type BatchWorkflowInput ¶
type Service ¶
type Service interface { Submit(context.Context, *goabatch.SubmitPayload) (res *goabatch.BatchResult, err error) Status(context.Context) (res *goabatch.BatchStatusResult, err error) Hints(context.Context) (res *goabatch.BatchHintsResult, err error) InitProcessingWorkflow(ctx context.Context, req *collection.ProcessingWorkflowRequest) error }
Click to show internal directories.
Click to hide internal directories.