backend.frontend¶
-
class
backend.frontend.
FrontendClient
(opts, logger=None)[source]¶ Object to send data back to fronted
-
_post_to_frontend_repeatedly
(data, url_path, max_repeats=10)[source]¶ Make a request max_repeats-time to the frontend
-
starting_build
(build_id, chroot_name)[source]¶ Announce to the frontend that a build is starting. Return: True if the build can start
False if the build can not start (can be cancelled or deleted)
-
defer_build
(build_id, chroot_name)[source]¶ Tell the frontend that the build task should be deferred (put aside for some time until there are resources for it).
-