buildgrid.server.controller module
Execution Controller
An instance of the Execution controller.
All this stuff you need to make the execution service work.
Contains scheduler, execution instance, an interface to the bots and an operations instance.
- class buildgrid.server.controller.ExecutionController(sql: SqlProvider, data_store: DataStoreInterface, *, property_keys: Set[str], match_properties: Set[str], storage: StorageABC | None = None, action_cache: ActionCacheABC | None = None, action_browser_url: str | None = None, operation_stream_keepalive_timeout: int | None = None, bot_session_keepalive_timeout: int | None = None, permissive_bot_session: bool | None = None, services: Iterable[str] = ('execution', 'operations', 'bots'), discard_unwatched_jobs: bool = False, max_execution_timeout: int | None = None, max_list_operations_page_size: int = 1000, logstream_url: str | None = None, logstream_credentials: Dict[str, str] | None = None, logstream_instance_name: str | None = None, metering_client: MeteringServiceClient | None = None)
Bases:
object
- set_instance_name(instance_name: str) None
- property execution_instance: ExecutionInstance | None
- property bots_interface: BotsInterface | None
- property operations_instance: OperationsInstance | None