Documentation
¶
Index ¶
- type Config
- type ProcessDeploymentStart
- func (this *ProcessDeploymentStart) Do(task model.CamundaExternalTask) (modules []model.Module, outputs map[string]interface{}, err error)
- func (this *ProcessDeploymentStart) Start(token auth.Token, deploymentId string, inputs map[string]interface{}) (instance ProcessInstance, err error)
- func (this *ProcessDeploymentStart) StartFog(token auth.Token, hubId string, deploymentId string, ...) error
- func (this *ProcessDeploymentStart) Undo(modules []model.Module, reason error)
- type ProcessInstance
- type SmartServiceRepo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProcessDeploymentStart ¶
type ProcessDeploymentStart struct {
// contains filtered or unexported fields
}
func New ¶
func New(config Config, libConfig configuration.Config, auth *auth.Auth, smartServiceRepo SmartServiceRepo) *ProcessDeploymentStart
func (*ProcessDeploymentStart) Do ¶
func (this *ProcessDeploymentStart) Do(task model.CamundaExternalTask) (modules []model.Module, outputs map[string]interface{}, err error)
func (*ProcessDeploymentStart) Start ¶
func (this *ProcessDeploymentStart) Start(token auth.Token, deploymentId string, inputs map[string]interface{}) (instance ProcessInstance, err error)
type ProcessInstance ¶
type ProcessInstance struct { Id string `json:"id,omitempty"` DefinitionId string `json:"definitionId,omitempty"` BusinessKey string `json:"businessKey,omitempty"` CaseInstanceId string `json:"caseInstanceId,omitempty"` Ended bool `json:"ended,omitempty"` Suspended bool `json:"suspended,omitempty"` TenantId string `json:"tenantId,omitempty"` }
type SmartServiceRepo ¶
type SmartServiceRepo interface { GetInstanceUser(instanceId string) (userId string, err error) UseModuleDeleteInfo(info model.ModuleDeleteInfo) error ListExistingModules(processInstanceId string, query model.ModulQuery) (result []model.SmartServiceModule, err error) }
Click to show internal directories.
Click to hide internal directories.