(ctx context.Context, params *riverdriver.QueueListParams)
| 1191 | } |
| 1192 | |
| 1193 | func (e *Executor) QueueList(ctx context.Context, params *riverdriver.QueueListParams) ([]*rivertype.Queue, error) { |
| 1194 | queues, err := dbsqlc.New().QueueList(schemaTemplateParam(ctx, params.Schema), e.dbtx, int64(params.Max)) |
| 1195 | if err != nil { |
| 1196 | return nil, interpretError(err) |
| 1197 | } |
| 1198 | return sliceutil.Map(queues, queueFromInternal), nil |
| 1199 | } |
| 1200 | |
| 1201 | func (e *Executor) QueueNameList(ctx context.Context, params *riverdriver.QueueNameListParams) ([]string, error) { |
| 1202 | exclude := params.Exclude |
nothing calls this directly
no test coverage detected