diff options
Diffstat (limited to 'server/controllers/api/runners/index.ts')
-rw-r--r-- | server/controllers/api/runners/index.ts | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/server/controllers/api/runners/index.ts b/server/controllers/api/runners/index.ts new file mode 100644 index 000000000..c98ded354 --- /dev/null +++ b/server/controllers/api/runners/index.ts | |||
@@ -0,0 +1,18 @@ | |||
1 | import express from 'express' | ||
2 | import { runnerJobsRouter } from './jobs' | ||
3 | import { runnerJobFilesRouter } from './jobs-files' | ||
4 | import { manageRunnersRouter } from './manage-runners' | ||
5 | import { runnerRegistrationTokensRouter } from './registration-tokens' | ||
6 | |||
7 | const runnersRouter = express.Router() | ||
8 | |||
9 | runnersRouter.use('/', manageRunnersRouter) | ||
10 | runnersRouter.use('/', runnerJobsRouter) | ||
11 | runnersRouter.use('/', runnerJobFilesRouter) | ||
12 | runnersRouter.use('/', runnerRegistrationTokensRouter) | ||
13 | |||
14 | // --------------------------------------------------------------------------- | ||
15 | |||
16 | export { | ||
17 | runnersRouter | ||
18 | } | ||