Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrMissingJobType = errors.New("jobType is a required attribute") ErrMissingMaxJobsToActivate = errors.New("maxJobsToActivate is a required attribute") )
View Source
var ( ErrMissingJobKey = errors.New("jobKey is a required attribute") ErrUnsupportedOperation = func(operation bindings.OperationKind) error { return fmt.Errorf("unsupported operation: %v", operation) } )
View Source
var ( ErrAmbiguousCreationVars = errors.New("either 'bpmnProcessId' or 'workflowKey' must be passed, not both at the same time") ErrMissingCreationVars = errors.New("either 'bpmnProcessId' or 'workflowKey' must be passed") )
View Source
var ( ErrMissingFileName = errors.New("fileName is a required attribute") ErrMissingFileType = errors.New("cannot determine file type from file name. Please specify a fileType") ErrInvalidFileType = errors.New("fileType must be either 'bpmn' of 'file'") )
View Source
var ( ErrMissingElementInstanceKey = errors.New("elementInstanceKey is a required attribute") ErrMissingVariables = errors.New("variables is a required attribute") )
View Source
var (
ErrMissingErrorCode = errors.New("errorCode is a required attribute")
)
View Source
var (
ErrMissingIncidentKey = errors.New("incidentKey is a required attribute")
)
View Source
var (
ErrMissingMessageName = errors.New("messageName is a required attribute")
)
View Source
var (
ErrMissingRetries = errors.New("retries is a required attribute")
)
View Source
var (
ErrMissingWorkflowInstanceKey = errors.New("workflowInstanceKey is a required attribute")
)
Functions ¶
This section is empty.
Types ¶
type ZeebeCommand ¶
type ZeebeCommand struct {
// contains filtered or unexported fields
}
ZeebeCommand executes Zeebe commands
func NewZeebeCommand ¶
func NewZeebeCommand(logger logger.Logger) *ZeebeCommand
NewZeebeCommand returns a new ZeebeCommand instance
func (*ZeebeCommand) Init ¶
func (z *ZeebeCommand) Init(metadata bindings.Metadata) error
Init does metadata parsing and connection creation
func (*ZeebeCommand) Invoke ¶
func (z *ZeebeCommand) Invoke(req *bindings.InvokeRequest) (*bindings.InvokeResponse, error)
func (*ZeebeCommand) Operations ¶
func (z *ZeebeCommand) Operations() []bindings.OperationKind
Click to show internal directories.
Click to hide internal directories.