Add `EnsureJobChannel()` middleware method, intended for `compose/<id>` endpoints. Its purpose is to ensure that the tenant channel set in the request `echo.Context` matches the tenant channel associated with the compose. In case of mismatch, `404` is returned. Add `JobChannel()` method to the worker server implementation for requesting channel associated with the job. |
||
|---|---|---|
| .. | ||
| errors.go | ||
| errors_test.go | ||
| handler.go | ||
| middleware.go | ||
| openapi.v2.gen.go | ||
| openapi.v2.yml | ||
| server.go | ||
| v2_internal_test.go | ||
| v2_koji_test.go | ||
| v2_multi_tenancy_test.go | ||
| v2_test.go | ||