Documentation ¶
Index ¶
- Constants
- Variables
- type ConditionalEvent
- type Device
- type DeviceGroup
- type DeviceInfo
- type Element
- type Events
- func (this *Events) DeleteProcess(token string, deploymentId string) (err error)
- func (this *Events) DeployProcess(token string, deviceId string, serviceId string) (deploymentId string, err error)
- func (this *Events) GetProcessInstances(token string) (result []ProcessInstance, err error)
- func (this *Events) ListCanaryProcessDeployments(token string) (ids []string, err error)
- func (this *Events) PrepareProcessDeployment(token string) (result PreparedDeployment, err error)
- func (this *Events) ProcessStartup(token string, info DeviceInfo) error
- func (this *Events) ProcessTeardown(token string) error
- type PreparedDeployment
- type ProcessInstance
- type Selection
- type SelectionOption
- type Service
- type Wrapper
Constants ¶
View Source
const ExpectedCanaryDeploymentName = "canary_event_process"
Variables ¶
View Source
var DeploymentModelTemplate string
View Source
var ProcessBpmn string
View Source
var ProcessSvg string
Functions ¶
This section is empty.
Types ¶
type ConditionalEvent ¶
type DeviceGroup ¶
type DeviceInfo ¶
type DeviceInfo = devicemetadata.DeviceInfo
type Element ¶
type Element struct { BpmnId string `json:"bpmn_id"` ConditionalEvent *ConditionalEvent `json:"conditional_event"` }
type Events ¶
type Events struct {
// contains filtered or unexported fields
}
func New ¶
func New(config configuration.Config, devicerepo devicerepo.Interface, metrics *metrics.Metrics, guaranteeChangeAfter time.Duration) *Events
func (*Events) DeleteProcess ¶
func (*Events) DeployProcess ¶
func (*Events) GetProcessInstances ¶
func (this *Events) GetProcessInstances(token string) (result []ProcessInstance, err error)
func (*Events) ListCanaryProcessDeployments ¶
func (*Events) PrepareProcessDeployment ¶
func (this *Events) PrepareProcessDeployment(token string) (result PreparedDeployment, err error)
func (*Events) ProcessStartup ¶
func (this *Events) ProcessStartup(token string, info DeviceInfo) error
func (*Events) ProcessTeardown ¶
type PreparedDeployment ¶
type ProcessInstance ¶
type Selection ¶
type Selection struct {
SelectionOptions []SelectionOption `json:"selection_options"`
}
type SelectionOption ¶
Click to show internal directories.
Click to hide internal directories.