(processID, spaceID string, mtaID string, namespace string, processType string, state string, acquiredLock bool)
| 113 | } |
| 114 | |
| 115 | func GetOperation(processID, spaceID string, mtaID string, namespace string, processType string, state string, acquiredLock bool) *models.Operation { |
| 116 | return &models.Operation{ |
| 117 | ProcessID: processID, |
| 118 | ProcessType: processType, |
| 119 | StartedAt: "2016-03-04T14:23:24.521Z[Etc/UTC]", |
| 120 | SpaceID: spaceID, |
| 121 | User: "admin", |
| 122 | State: models.State(state), |
| 123 | AcquiredLock: acquiredLock, |
| 124 | MtaID: mtaID, |
| 125 | Namespace: namespace, |
| 126 | } |
| 127 | } |
| 128 | |
| 129 | func GetMta(id, version string, namespace string, modules []*models.Module, services []string) *models.Mta { |
| 130 | return &models.Mta{ |
no test coverage detected