Documentation
¶
Index ¶
- type Camunda
- func (this *Camunda) CheckInstanceReady(smartServiceInstanceId string) (finished bool, missing bool, err error)
- func (this *Camunda) DeleteInstance(instance model.HistoricProcessInstance) (err error)
- func (this *Camunda) DeployRelease(owner string, release model.SmartServiceReleaseExtended) (err error, isInvalidCamundaDeployment bool)
- func (this *Camunda) GetProcessInstanceBusinessKey(processInstanceId string) (string, error, int)
- func (this *Camunda) GetProcessInstanceList() (result []model.HistoricProcessInstance, err error)
- func (this *Camunda) GetProcessParameters(processDefinitionKey string) (result map[string]Variable, err error)
- func (this *Camunda) RemoveRelease(id string) error
- func (this *Camunda) Start(instance model.SmartServiceInstance) error
- func (this *Camunda) StartMaintenance(releaseId string, procedure model.MaintenanceProcedure, id string, ...) error
- func (this *Camunda) StopInstance(smartServiceInstanceId string) error
- type CamundaMaintenanceStartForm
- type CamundaStartForm
- type CamundaStartVariable
- type HistoricProcessInstance
- type ProcessDefinition
- type Variable
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Camunda ¶
type Camunda struct {
// contains filtered or unexported fields
}
func New ¶
func New(config configuration.Config) *Camunda
func (*Camunda) CheckInstanceReady ¶
func (*Camunda) DeleteInstance ¶
func (this *Camunda) DeleteInstance(instance model.HistoricProcessInstance) (err error)
func (*Camunda) DeployRelease ¶
func (*Camunda) GetProcessInstanceBusinessKey ¶
func (*Camunda) GetProcessInstanceList ¶
func (this *Camunda) GetProcessInstanceList() (result []model.HistoricProcessInstance, err error)
func (*Camunda) GetProcessParameters ¶
func (*Camunda) RemoveRelease ¶
func (*Camunda) StartMaintenance ¶
func (this *Camunda) StartMaintenance(releaseId string, procedure model.MaintenanceProcedure, id string, parameter []model.SmartServiceParameter) error
func (*Camunda) StopInstance ¶
type CamundaMaintenanceStartForm ¶
type CamundaMaintenanceStartForm struct { MessageName string `json:"messageName"` BusinessKey string `json:"businessKey"` ProcessVariables map[string]CamundaStartVariable `json:"processVariables"` }
type CamundaStartForm ¶
type CamundaStartForm struct { BusinessKey string `json:"businessKey"` Variables map[string]CamundaStartVariable `json:"variables"` }
type CamundaStartVariable ¶
type CamundaStartVariable struct {
Value interface{} `json:"value"`
}
type HistoricProcessInstance ¶
type ProcessDefinition ¶
type ProcessDefinition struct { Id string `json:"id,omitempty"` Key string `json:"key,omitempty"` Category string `json:"category,omitempty"` Description string `json:"description,omitempty"` Name string `json:"name,omitempty"` Version int `json:"Version,omitempty"` Resource string `json:"resource,omitempty"` DeploymentId string `json:"deploymentId,omitempty"` Diagram string `json:"diagram,omitempty"` Suspended bool `json:"suspended,omitempty"` TenantId string `json:"tenantId,omitempty"` VersionTag string `json:"versionTag,omitempty"` HistoryTimeToLive int `json:"historyTimeToLive,omitempty"` }
Click to show internal directories.
Click to hide internal directories.