Documentation
¶
Index ¶
- Variables
- type Camunda
- func (this *Camunda) CompleteTask(taskInfo messages.TaskInfo, outputName string, output interface{}) (err error)
- func (this *Camunda) Error(externalTaskId string, processInstanceId string, processDefinitionId string, ...)
- func (this *Camunda) GetWorkerId() string
- func (this *Camunda) ProvideTasks(ctx context.Context) (<-chan []messages.CamundaExternalTask, <-chan error, error)
- func (this *Camunda) SetRetry(taskid string, tenantId string, retries int64)
- func (this *Camunda) UnlockTask(taskInfo messages.TaskInfo) (err error)
- type FactoryType
- type Shards
- type TopicMutex
Constants ¶
This section is empty.
Variables ¶
View Source
var UnableToCompleteErrResp = errors.New("unable to complete task")
Functions ¶
This section is empty.
Types ¶
type Camunda ¶
type Camunda struct {
// contains filtered or unexported fields
}
func NewCamunda ¶
func NewCamunda(config util.Config, producer com.ProducerInterface, metrics interfaces.Metrics) (result *Camunda, err error)
func NewCamundaWithShards ¶
func NewCamundaWithShards(config util.Config, producer com.ProducerInterface, metrics interfaces.Metrics, shards Shards) (result *Camunda, err error)
func (*Camunda) CompleteTask ¶
func (*Camunda) GetWorkerId ¶
func (*Camunda) ProvideTasks ¶ added in v0.0.29
type FactoryType ¶
type FactoryType struct{}
var Factory FactoryType
func (FactoryType) Get ¶
func (FactoryType) Get(config util.Config, producer com.ProducerInterface, metrics interfaces.Metrics) (interfaces.CamundaInterface, error)
type TopicMutex ¶ added in v0.0.33
type TopicMutex struct {
// contains filtered or unexported fields
}
func (*TopicMutex) Lock ¶ added in v0.0.33
func (this *TopicMutex) Lock(topic string)
func (*TopicMutex) Unlock ¶ added in v0.0.33
func (this *TopicMutex) Unlock(topic string)
Click to show internal directories.
Click to hide internal directories.