Documentation
¶
Index ¶
- type CamundaCompleteRequest
- type CamundaExternalTask
- type CamundaFetchRequest
- type CamundaTopic
- type CamundaVariable
- type DeviceGroupSelection
- type DeviceSelection
- type GenericEventSource
- type ImportSelection
- type IotOption
- type ModulQuery
- type Module
- type ModuleDeleteInfo
- type SmartServiceInstance
- type SmartServiceInstanceInfo
- type SmartServiceInstanceInit
- type SmartServiceModule
- type SmartServiceModuleBase
- type SmartServiceModuleInit
- type SmartServiceParameter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CamundaCompleteRequest ¶
type CamundaCompleteRequest struct {
WorkerId string `json:"workerId,omitempty"`
Variables map[string]CamundaVariable `json:"localVariables,omitempty"`
}
type CamundaExternalTask ¶
type CamundaExternalTask struct {
Id string `json:"id,omitempty"`
Variables map[string]CamundaVariable `json:"variables,omitempty"`
ActivityId string `json:"activityId,omitempty"`
Retries int64 `json:"retries"`
ExecutionId string `json:"executionId"`
ProcessInstanceId string `json:"processInstanceId"`
ProcessDefinitionId string `json:"processDefinitionId"`
TenantId string `json:"tenantId"`
Error string `json:"errorMessage"`
}
type CamundaFetchRequest ¶
type CamundaFetchRequest struct {
WorkerId string `json:"workerId,omitempty"`
MaxTasks int64 `json:"maxTasks,omitempty"`
Topics []CamundaTopic `json:"topics,omitempty"`
}
type CamundaTopic ¶
type CamundaVariable ¶
type CamundaVariable struct {
Type string `json:"type,omitempty"`
Value interface{} `json:"value,omitempty"`
}
type DeviceGroupSelection ¶
type DeviceGroupSelection struct {
Id string `json:"id"`
}
type DeviceSelection ¶
type GenericEventSource ¶
type ImportSelection ¶
type IotOption ¶
type IotOption struct {
DeviceSelection *DeviceSelection `json:"device_selection,omitempty"`
DeviceGroupSelection *DeviceGroupSelection `json:"device_group_selection,omitempty"`
ImportSelection *ImportSelection `json:"import_selection,omitempty"`
GenericEventSource *GenericEventSource `json:"generic_event_source,omitempty"`
}
type ModulQuery ¶
type Module ¶
type Module struct {
Id string
ProcesInstanceId string
SmartServiceModuleInit
}
type ModuleDeleteInfo ¶
type SmartServiceInstance ¶
type SmartServiceInstance struct {
SmartServiceInstanceInit `bson:",inline"`
Id string `json:"id" bson:"id"`
UserId string `json:"user_id" bson:"user_id"`
DesignId string `json:"design_id" bson:"design_id"`
ReleaseId string `json:"release_id" bson:"release_id"`
NewReleaseId string `json:"new_release_id,omitempty"`
RunningMaintenanceIds []string `json:"running_maintenance_ids,omitempty"`
Ready bool `json:"ready" bson:"ready"`
Deleting bool `json:"deleting,omitempty" bson:"deleting"`
Error string `json:"error,omitempty" bson:"error"` //is set if module-worker notifies the repository about a error
CreatedAt int64 `json:"created_at" bson:"created_at"` //unix timestamp, set by service on creation
UpdatedAt int64 `json:"updated_at" bson:"updated_at"` //unix timestamp, set by service on creation
}
type SmartServiceInstanceInit ¶
type SmartServiceInstanceInit struct {
SmartServiceInstanceInfo `bson:",inline"`
Parameters []SmartServiceParameter `json:"parameters" bson:"parameters"`
}
type SmartServiceModule ¶
type SmartServiceModule struct {
SmartServiceModuleBase `bson:",inline"`
SmartServiceModuleInit `bson:",inline"`
}
type SmartServiceModuleBase ¶
type SmartServiceModuleBase struct {
Id string `json:"id"`
UserId string `json:"user_id" bson:"user_id"`
InstanceId string `json:"instance_id" bson:"instance_id"`
DesignId string `json:"design_id" bson:"design_id"`
ReleaseId string `json:"release_id" bson:"release_id"`
LastUpdate int64 `json:"last_update" bson:"last_update"`
Error string `json:"error,omitempty" bson:"error"`
}
type SmartServiceModuleInit ¶
type SmartServiceModuleInit struct {
DeleteInfo *ModuleDeleteInfo `json:"delete_info" bson:"delete_info"`
ModuleType string `json:"module_type" bson:"module_type"` //"process-deployment" | "analytics" ...
ModuleData map[string]interface{} `json:"module_data" bson:"module_data"`
Keys []string `json:"keys" bson:"keys"`
}
type SmartServiceParameter ¶
Click to show internal directories.
Click to hide internal directories.