Documentation
¶
Index ¶
- func StartDoneEventHandling(ctx context.Context, wg *sync.WaitGroup, config Config, ...) error
- type Config
- type DeviceGroup
- type DoneNotification
- type Hub
- type ProcessDeployment
- func (this *ProcessDeployment) Deploy(token auth.Token, deployment deploymentmodel.Deployment, ...) (result deploymentmodel.Deployment, err error)
- func (this *ProcessDeployment) Do(task model.CamundaExternalTask) (modules []model.Module, outputs map[string]interface{}, err error)
- func (this *ProcessDeployment) GetFogNetworks(token auth.Token) (result []Hub, err error)
- func (this *ProcessDeployment) GetGroup(token auth.Token, id string) (result DeviceGroup, err error)
- func (this *ProcessDeployment) IsFogDeployment(token auth.Token, task model.CamundaExternalTask, ...) (isFogDeployment bool, hubId string, err error)
- func (this *ProcessDeployment) PrepareRequest(token auth.Token, processId string) (deployment deploymentmodel.Deployment, err error)
- func (this *ProcessDeployment) Undo(modules []model.Module, reason error)
- func (this *ProcessDeployment) UseVariables(task model.CamundaExternalTask, deployment *deploymentmodel.Deployment) error
- type SmartServiceRepo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StartDoneEventHandling ¶
Types ¶
type Config ¶
type Config struct { ProcessDeploymentUrl string `json:"process_deployment_url"` FogProcessDeploymentUrl string `json:"fog_process_deployment_url"` FogProcessSyncUrl string `json:"fog_process_sync_url"` DeviceRepositoryUrl string `json:"device_repository_url"` AllowMsgEventsInFogProcesses bool `json:"allow_msg_events_in_fog_processes"` AllowImportsInFogProcesses bool `json:"allow_imports_in_fog_processes"` ProcessDeploymentSource string `json:"process_deployment_source"` WorkerParamPrefix string `json:"worker_param_prefix"` KafkaUrl string `json:"kafka_url"` KafkaConsumerGroup string `json:"kafka_consumer_group"` ProcessDeploymentDoneTopic string `json:"process_deployment_done_topic"` InitTopics bool `json:"init_topics"` }
type DeviceGroup ¶
type DoneNotification ¶
type ProcessDeployment ¶
type ProcessDeployment struct {
// contains filtered or unexported fields
}
func New ¶
func New(ctx context.Context, wg *sync.WaitGroup, config Config, libConfig configuration.Config, auth *auth.Auth, smartServiceRepo SmartServiceRepo) (*ProcessDeployment, error)
func (*ProcessDeployment) Deploy ¶
func (this *ProcessDeployment) Deploy(token auth.Token, deployment deploymentmodel.Deployment, allowMissingServiceSelection bool, hubId string) (result deploymentmodel.Deployment, err error)
func (*ProcessDeployment) Do ¶
func (this *ProcessDeployment) Do(task model.CamundaExternalTask) (modules []model.Module, outputs map[string]interface{}, err error)
func (*ProcessDeployment) GetFogNetworks ¶
func (this *ProcessDeployment) GetFogNetworks(token auth.Token) (result []Hub, err error)
func (*ProcessDeployment) GetGroup ¶
func (this *ProcessDeployment) GetGroup(token auth.Token, id string) (result DeviceGroup, err error)
func (*ProcessDeployment) IsFogDeployment ¶
func (this *ProcessDeployment) IsFogDeployment(token auth.Token, task model.CamundaExternalTask, deployment deploymentmodel.Deployment) (isFogDeployment bool, hubId string, err error)
func (*ProcessDeployment) PrepareRequest ¶
func (this *ProcessDeployment) PrepareRequest(token auth.Token, processId string) (deployment deploymentmodel.Deployment, err error)
func (*ProcessDeployment) Undo ¶
func (this *ProcessDeployment) Undo(modules []model.Module, reason error)
func (*ProcessDeployment) UseVariables ¶
func (this *ProcessDeployment) UseVariables(task model.CamundaExternalTask, deployment *deploymentmodel.Deployment) error
type SmartServiceRepo ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.