teuthology_api.routes namespace

Submodules

teuthology_api.routes.kill module

async teuthology_api.routes.kill.create_run(request: Request, args: KillArgs, logs: bool = False, token: str = Depends(get_token))[source]

POST route for killing a run or a job.

Note: I needed to put request before args or else it will SyntaxError: non-dafault argument follows default argument error.

teuthology_api.routes.login module

async teuthology_api.routes.login.github_login()[source]

GET route for /login, (If first time) will redirect to github login page where you should authorize the app to gain access.

async teuthology_api.routes.login.handle_callback(code: str, request: Request)[source]

Call back route after user login & authorize the app for access.

teuthology_api.routes.logout module

teuthology_api.routes.logout.logout(request: Request)[source]

GET route for logging out.

teuthology_api.routes.suite module

teuthology_api.routes.suite.create_run(request: Request, args: SuiteArgs, access_token: str = Depends(get_token), logs: bool = False)[source]