pyfarm.master.entrypoints module¶
Entry Points¶
Contains the code which operates the Python entry point scripts as well as serving as a central location for the construction of the web application.
-
pyfarm.master.entrypoints.
create_app
()[source]¶ An entry point specifically for uWSGI or similar to use
-
pyfarm.master.entrypoints.
load_api
(app_instance, api_instance)[source]¶ configures flask to serve the api endpoints
-
pyfarm.master.entrypoints.
load_authentication
(app_instance)[source]¶ configures flask to serve the authentication endpoints
-
pyfarm.master.entrypoints.
load_error_handlers
(app_instance)[source]¶ loads the error handlers onto application instance
-
pyfarm.master.entrypoints.
load_index
(app_instance)[source]¶ configures flask to serve the main index and favicon
-
pyfarm.master.entrypoints.
load_master
(app, api)[source]¶ loads and attaches all endpoints needed to run the master
-
pyfarm.master.entrypoints.
load_setup
(app_instance)[source]¶ configures flask to serve the endpoint used for setting up the system
-
pyfarm.master.entrypoints.
run_master
()[source]¶ Runs
load_master()
then runs the application