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) GetTasks() (tasks []messages.CamundaExternalTask, err error)
- func (this *Camunda) GetWorkerId() string
- func (this *Camunda) SetRetry(taskid string, tenantId string, retries int64)
- func (this *Camunda) UnlockTask(taskInfo messages.TaskInfo) (err error)
- type FactoryType
- type Shards
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)
func (*Camunda) CompleteTask ¶
func (*Camunda) GetTasks ¶
func (this *Camunda) GetTasks() (tasks []messages.CamundaExternalTask, err error)
func (*Camunda) GetWorkerId ¶
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)
Click to show internal directories.
Click to hide internal directories.