(i *ent.Integration)
| 145 | } |
| 146 | |
| 147 | func entIntegrationToBiz(i *ent.Integration) *biz.Integration { |
| 148 | if i == nil { |
| 149 | return nil |
| 150 | } |
| 151 | |
| 152 | return &biz.Integration{ |
| 153 | ID: i.ID, |
| 154 | Name: i.Name, |
| 155 | Kind: i.Kind, |
| 156 | Description: i.Description, |
| 157 | CreatedAt: toTimePtr(i.CreatedAt), |
| 158 | SecretName: i.SecretName, |
| 159 | Config: i.Configuration, |
| 160 | } |
| 161 | } |
no test coverage detected