Documentation ¶
Index ¶
- type BpmnResourcesById
- type Ctrl
- func (this *Ctrl) CreateDeployment(token auth.Token, deployment deploymentmodel.Deployment, source string, ...) (result deploymentmodel.Deployment, err error, code int)
- func (this *Ctrl) DeleteDependencies(command messages.DeploymentCommand) error
- func (this *Ctrl) DeleteDeployment(command messages.DeploymentCommand) error
- func (this *Ctrl) EnsureDeploymentSelectionAccess(token auth.Token, deployment *deploymentmodel.Deployment) (err error, code int)
- func (this *Ctrl) GetDependencies(token auth.Token, id string) (dependencymodel.Dependencies, error, int)
- func (this *Ctrl) GetDependenciesList(token auth.Token, limit int, offset int) ([]dependencymodel.Dependencies, error, int)
- func (this *Ctrl) GetDeployment(token auth.Token, id string, withOptions bool) (result deploymentmodel.Deployment, err error, code int)
- func (this *Ctrl) GetProcessModel(impersonate auth.Token, id string) (result processmodel.ProcessModel, err error, errCode int)
- func (this *Ctrl) GetProcessStartParameters(xml string) ([]deploymentmodel.ProcessStartParameter, error)
- func (this *Ctrl) GetSelectedDependencies(token auth.Token, ids []string) ([]dependencymodel.Dependencies, error, int)
- func (this *Ctrl) HandleDeployment(cmd messages.DeploymentCommand) error
- func (this *Ctrl) HandleUsersCommand(userMsg messages.UserCommandMsg) error
- func (this *Ctrl) PrepareDeployment(token auth.Token, xml string, svg string, withOptions bool) (result deploymentmodel.Deployment, err error, code int)
- func (this *Ctrl) RemoveDeployment(token auth.Token, id string) (err error, code int)
- func (this *Ctrl) SaveDependencies(command messages.DeploymentCommand) error
- func (this *Ctrl) SaveDeployment(command messages.DeploymentCommand) error
- func (this *Ctrl) SetDeploymentOptions(token auth.Token, deployment *deploymentmodel.Deployment) (err error)
- func (this *Ctrl) SetExecutableFlag(deployment *deploymentmodel.Deployment)
- func (this *Ctrl) UpdateDeployment(token auth.Token, id string, deployment deploymentmodel.Deployment, ...) (result deploymentmodel.Deployment, err error, code int)
- type DeviceDependenciesByDeviceId
- type EventDependenciesByEventId
- type VersionWrapper
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BpmnResourcesById ¶
type BpmnResourcesById []dependencymodel.BpmnResource
func (BpmnResourcesById) Len ¶
func (a BpmnResourcesById) Len() int
func (BpmnResourcesById) Less ¶
func (a BpmnResourcesById) Less(i, j int) bool
func (BpmnResourcesById) Swap ¶
func (a BpmnResourcesById) Swap(i, j int)
type Ctrl ¶
type Ctrl struct {
// contains filtered or unexported fields
}
func New ¶
func New(ctx context.Context, config config.Config, sourcing interfaces.SourcingFactory, db interfaces.Database, devices interfaces.Devices, processrepo interfaces.ProcessRepo, imports interfaces.Imports) (result *Ctrl, err error)
func (*Ctrl) CreateDeployment ¶
func (this *Ctrl) CreateDeployment(token auth.Token, deployment deploymentmodel.Deployment, source string, optionals map[string]bool) (result deploymentmodel.Deployment, err error, code int)
func (*Ctrl) DeleteDependencies ¶
func (this *Ctrl) DeleteDependencies(command messages.DeploymentCommand) error
func (*Ctrl) DeleteDeployment ¶
func (this *Ctrl) DeleteDeployment(command messages.DeploymentCommand) error
func (*Ctrl) EnsureDeploymentSelectionAccess ¶
func (this *Ctrl) EnsureDeploymentSelectionAccess(token auth.Token, deployment *deploymentmodel.Deployment) (err error, code int)
ensures selection correctness
func (*Ctrl) GetDependencies ¶
func (this *Ctrl) GetDependencies(token auth.Token, id string) (dependencymodel.Dependencies, error, int)
func (*Ctrl) GetDependenciesList ¶
func (this *Ctrl) GetDependenciesList(token auth.Token, limit int, offset int) ([]dependencymodel.Dependencies, error, int)
func (*Ctrl) GetDeployment ¶
func (this *Ctrl) GetDeployment(token auth.Token, id string, withOptions bool) (result deploymentmodel.Deployment, err error, code int)
func (*Ctrl) GetProcessModel ¶
func (this *Ctrl) GetProcessModel(impersonate auth.Token, id string) (result processmodel.ProcessModel, err error, errCode int)
func (*Ctrl) GetProcessStartParameters ¶
func (this *Ctrl) GetProcessStartParameters(xml string) ([]deploymentmodel.ProcessStartParameter, error)
func (*Ctrl) GetSelectedDependencies ¶
func (this *Ctrl) GetSelectedDependencies(token auth.Token, ids []string) ([]dependencymodel.Dependencies, error, int)
func (*Ctrl) HandleDeployment ¶
func (this *Ctrl) HandleDeployment(cmd messages.DeploymentCommand) error
func (*Ctrl) HandleUsersCommand ¶
func (this *Ctrl) HandleUsersCommand(userMsg messages.UserCommandMsg) error
func (*Ctrl) PrepareDeployment ¶
func (this *Ctrl) PrepareDeployment(token auth.Token, xml string, svg string, withOptions bool) (result deploymentmodel.Deployment, err error, code int)
func (*Ctrl) RemoveDeployment ¶
func (*Ctrl) SaveDependencies ¶
func (this *Ctrl) SaveDependencies(command messages.DeploymentCommand) error
func (*Ctrl) SaveDeployment ¶
func (this *Ctrl) SaveDeployment(command messages.DeploymentCommand) error
func (*Ctrl) SetDeploymentOptions ¶
func (this *Ctrl) SetDeploymentOptions(token auth.Token, deployment *deploymentmodel.Deployment) (err error)
func (*Ctrl) SetExecutableFlag ¶
func (this *Ctrl) SetExecutableFlag(deployment *deploymentmodel.Deployment)
func (*Ctrl) UpdateDeployment ¶
func (this *Ctrl) UpdateDeployment(token auth.Token, id string, deployment deploymentmodel.Deployment, source string, optionals map[string]bool) (result deploymentmodel.Deployment, err error, code int)
type DeviceDependenciesByDeviceId ¶
type DeviceDependenciesByDeviceId []dependencymodel.DeviceDependency
func (DeviceDependenciesByDeviceId) Len ¶
func (a DeviceDependenciesByDeviceId) Len() int
func (DeviceDependenciesByDeviceId) Less ¶
func (a DeviceDependenciesByDeviceId) Less(i, j int) bool
func (DeviceDependenciesByDeviceId) Swap ¶
func (a DeviceDependenciesByDeviceId) Swap(i, j int)
type EventDependenciesByEventId ¶
type EventDependenciesByEventId []dependencymodel.EventDependency
func (EventDependenciesByEventId) Len ¶
func (a EventDependenciesByEventId) Len() int
func (EventDependenciesByEventId) Less ¶
func (a EventDependenciesByEventId) Less(i, j int) bool
func (EventDependenciesByEventId) Swap ¶
func (a EventDependenciesByEventId) Swap(i, j int)
type VersionWrapper ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.