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