(ctx context.Context, ids ...string)
| 142 | } |
| 143 | |
| 144 | func (i *imlServiceService) GetLabels(ctx context.Context, ids ...string) map[string]string { |
| 145 | if len(ids) == 0 { |
| 146 | return nil |
| 147 | } |
| 148 | list, err := i.store.ListQuery(ctx, "`uuid` in (?)", []interface{}{ids}, "id") |
| 149 | if err != nil { |
| 150 | return nil |
| 151 | } |
| 152 | return utils.SliceToMapO(list, func(i *service.Service) (string, string) { |
| 153 | return i.UUID, i.Name |
| 154 | }) |
| 155 | } |
| 156 | |
| 157 | func (i *imlServiceService) OnComplete() { |
| 158 | i.IServiceGet = universally.NewGetSoftDelete[Service, service.Service](i.store, FromEntity) |
nothing calls this directly
no outgoing calls
no test coverage detected