idmtools_platform_local.infrastructure package¶
idmtools infrastructure module.
This module manages all our internal services/docker container for the local platform including
Postgres
Redis
The API/Workers
Copyright 2021, Bill & Melinda Gates Foundation. All rights reserved.
idmtools_platform_local.infrastructure Submodules¶
- idmtools_platform_local.infrastructure.base_service_container module
BaseServiceContainer
BaseServiceContainer.container_name
BaseServiceContainer.image
BaseServiceContainer.client
BaseServiceContainer.config_prefix
BaseServiceContainer.network
BaseServiceContainer.get_common_config()
BaseServiceContainer.get()
BaseServiceContainer.get_or_create()
BaseServiceContainer.ensure_container_is_running()
BaseServiceContainer.has_different_config()
BaseServiceContainer.get_running_config()
BaseServiceContainer.copy_config_to_container()
BaseServiceContainer.create()
BaseServiceContainer.wait_on_status()
BaseServiceContainer.stop()
BaseServiceContainer.restart()
BaseServiceContainer.get_logs()
BaseServiceContainer.get_configuration()
BaseServiceContainer.__init__()
- idmtools_platform_local.infrastructure.docker_io module
- idmtools_platform_local.infrastructure.postgres module
PostgresContainer
PostgresContainer.host_data_directory
PostgresContainer.port
PostgresContainer.mem_limit
PostgresContainer.mem_reservation
PostgresContainer.run_as
PostgresContainer.image
PostgresContainer.container_name
PostgresContainer.password
PostgresContainer.data_volume_name
PostgresContainer.config_prefix
PostgresContainer.get_configuration()
PostgresContainer.create()
PostgresContainer.create_postgres_volume()
PostgresContainer.__init__()
- idmtools_platform_local.infrastructure.redis module
RedisContainer
RedisContainer.host_data_directory
RedisContainer.mem_limit
RedisContainer.mem_reservation
RedisContainer.run_as
RedisContainer.port
RedisContainer.image
RedisContainer.data_volume_name
RedisContainer.container_name
RedisContainer.config_prefix
RedisContainer.get_configuration()
RedisContainer.__init__()
- idmtools_platform_local.infrastructure.service_manager module
DockerServiceManager
DockerServiceManager.client
DockerServiceManager.host_data_directory
DockerServiceManager.network
DockerServiceManager.redis_image
DockerServiceManager.heartbeat_timeout
DockerServiceManager.redis_port
DockerServiceManager.runtime
DockerServiceManager.redis_mem_limit
DockerServiceManager.redis_mem_reservation
DockerServiceManager.postgres_image
DockerServiceManager.postgres_mem_limit
DockerServiceManager.postgres_mem_reservation
DockerServiceManager.postgres_port
DockerServiceManager.workers_image
DockerServiceManager.workers_ui_port
DockerServiceManager.workers_mem_limit
DockerServiceManager.workers_mem_reservation
DockerServiceManager.run_as
DockerServiceManager.enable_singularity_support
DockerServiceManager.init_services()
DockerServiceManager.cleanup()
DockerServiceManager.setup_broker()
DockerServiceManager.restart_brokers()
DockerServiceManager.create_services()
DockerServiceManager.wait_on_ports_to_open()
DockerServiceManager.stop_services()
DockerServiceManager.get()
DockerServiceManager.get_container_config()
DockerServiceManager.restart_all()
DockerServiceManager.is_port_open()
DockerServiceManager.stop_service_and_wait()
DockerServiceManager.get_network()
DockerServiceManager.__init__()
- idmtools_platform_local.infrastructure.workers module
get_worker_image_default()
WorkersContainer
WorkersContainer.host_data_directory
WorkersContainer.postgres_port
WorkersContainer.redis_port
WorkersContainer.ui_port
WorkersContainer.mem_limit
WorkersContainer.mem_reservation
WorkersContainer.run_as
WorkersContainer.debug_api
WorkersContainer.image
WorkersContainer.container_name
WorkersContainer.data_volume_name
WorkersContainer.config_prefix
WorkersContainer.enable_singularity_support
WorkersContainer.get_configuration()
WorkersContainer.create()
WorkersContainer.__init__()