nvflare.lighter package¶
Subpackages¶
- nvflare.lighter.impl package
- Submodules
- nvflare.lighter.impl.aws module
- nvflare.lighter.impl.azure module
- nvflare.lighter.impl.cert module
- nvflare.lighter.impl.docker module
- nvflare.lighter.impl.docker_launcher module
- nvflare.lighter.impl.he module
- nvflare.lighter.impl.helm_chart module
- nvflare.lighter.impl.signature module
- nvflare.lighter.impl.static_file module
- nvflare.lighter.impl.template module
- nvflare.lighter.impl.workspace module
- Module contents
- Submodules
- nvflare.lighter.templates package
Submodules¶
- nvflare.lighter.constants module
AdminRole
CertFileBasename
CommConfigArg
ConnSecurity
CtxKey
OverseerRole
ParticipantType
PropKey
PropKey.ADMIN_PORT
PropKey.ALLOW_ERROR_SENDING
PropKey.API_ROOT
PropKey.API_VERSION
PropKey.CAPACITY
PropKey.COMM_CONFIG_ARGS
PropKey.CONNECT_TO
PropKey.CONN_SECURITY
PropKey.CUSTOM_CA_CERT
PropKey.DEFAULT_HOST
PropKey.DESCRIPTION
PropKey.FED_LEARN_PORT
PropKey.FQCN
PropKey.FQSN
PropKey.GPU_MEM
PropKey.HOST
PropKey.HOST_NAMES
PropKey.IS_LEAF
PropKey.LISTENING_HOST
PropKey.NAME
PropKey.NUM_GPUS
PropKey.ORG
PropKey.OVERSEER_END_POINT
PropKey.PARENT
PropKey.PORT
PropKey.PROTOCOL
PropKey.ROLE
PropKey.RUN_IN_DOCKER
PropKey.SCHEME
PropKey.TYPE
ProvFileName
ProvFileName.AUTHORIZATION_JSON_DEFAULT
ProvFileName.AWS_START_SH
ProvFileName.AZURE_START_SH
ProvFileName.CHART_YAML
ProvFileName.CLIENT_CONTEXT_TENSEAL
ProvFileName.COMM_CONFIG
ProvFileName.COMPOSE_BUILD_DIR
ProvFileName.COMPOSE_YAML
ProvFileName.CUSTOM_CA_CERT_FILE_NAME
ProvFileName.DEPLOYMENT_OVERSEER_YAML
ProvFileName.DOCKERFILE
ProvFileName.DOCKER_BUILD_SH
ProvFileName.DOCKER_LAUNCHER_SH
ProvFileName.DOCKER_SH
ProvFileName.ENV
ProvFileName.FED_ADMIN_JSON
ProvFileName.FED_CLIENT_JSON
ProvFileName.FED_RELAY_JSON
ProvFileName.FED_SERVER_JSON
ProvFileName.FL_ADMIN_SH
ProvFileName.GUNICORN_CONF_PY
ProvFileName.HELM_CHART_DIR
ProvFileName.HELM_CHART_TEMPLATES_DIR
ProvFileName.LAUNCHER_DOCKERFILE
ProvFileName.LOG_CONFIG_DEFAULT
ProvFileName.PRIVACY_JSON_SAMPLE
ProvFileName.PRIVILEGE_YML
ProvFileName.README_TXT
ProvFileName.RELAY_RESOURCES_JSON
ProvFileName.REQUIREMENTS_TXT
ProvFileName.RESOURCES_JSON_DEFAULT
ProvFileName.SERVER_CONTEXT_TENSEAL
ProvFileName.SERVICE_OVERSEER_YAML
ProvFileName.SIGNATURE_JSON
ProvFileName.START_SH
ProvFileName.STOP_FL_SH
ProvFileName.SUB_START_SH
ProvFileName.VALUES_YAML
ProvisionMode
TemplateSectionKey
TemplateSectionKey.ADMIN_README
TemplateSectionKey.AWS_START_SH
TemplateSectionKey.AZURE_START_CLN_HEADER_SH
TemplateSectionKey.AZURE_START_COMMON_SH
TemplateSectionKey.AZURE_START_SVR_HEADER_SH
TemplateSectionKey.CLIENT_README
TemplateSectionKey.CLOUD_SCRIPT_HEADER
TemplateSectionKey.COMM_CONFIG
TemplateSectionKey.COMPOSE_YAML
TemplateSectionKey.DEFAULT_AUTHZ
TemplateSectionKey.DOCKERFILE
TemplateSectionKey.DOCKER_ADMIN_SH
TemplateSectionKey.DOCKER_BUILD_SH
TemplateSectionKey.DOCKER_CLIENT_SH
TemplateSectionKey.DOCKER_LAUNCHER_CLIENT_SH
TemplateSectionKey.DOCKER_LAUNCHER_SERVER_SH
TemplateSectionKey.DOCKER_SERVER_SH
TemplateSectionKey.FED_ADMIN
TemplateSectionKey.FED_CLIENT
TemplateSectionKey.FED_RELAY
TemplateSectionKey.FED_SERVER
TemplateSectionKey.FL_ADMIN_SH
TemplateSectionKey.GUNICORN_CONF_PY
TemplateSectionKey.HELM_CHART_CHART
TemplateSectionKey.HELM_CHART_DEPLOYMENT_OVERSEER
TemplateSectionKey.HELM_CHART_DEPLOYMENT_SERVER
TemplateSectionKey.HELM_CHART_SERVICE_OVERSEER
TemplateSectionKey.HELM_CHART_SERVICE_SERVER
TemplateSectionKey.HELM_CHART_VALUES
TemplateSectionKey.LAUNCHER_DOCKERFILE
TemplateSectionKey.LOCAL_CLIENT_RESOURCES
TemplateSectionKey.LOCAL_SERVER_RESOURCES
TemplateSectionKey.LOG_CONFIG
TemplateSectionKey.RELAY_RESOURCES_JSON
TemplateSectionKey.SAMPLE_PRIVACY
TemplateSectionKey.SERVER_README
TemplateSectionKey.START_CLIENT_SH
TemplateSectionKey.START_OVERSEER_SH
TemplateSectionKey.START_SERVER_SH
TemplateSectionKey.STOP_FL_SH
TemplateSectionKey.SUB_START_SH
WorkDir
- nvflare.lighter.ctx module
ProvisionContext
ProvisionContext.build_from_template()
ProvisionContext.build_section_from_template()
ProvisionContext.debug()
ProvisionContext.error()
ProvisionContext.get_kit_dir()
ProvisionContext.get_local_dir()
ProvisionContext.get_logger()
ProvisionContext.get_project()
ProvisionContext.get_provision_mode()
ProvisionContext.get_result_location()
ProvisionContext.get_state_dir()
ProvisionContext.get_template_section()
ProvisionContext.get_transfer_dir()
ProvisionContext.get_wip_dir()
ProvisionContext.get_workspace()
ProvisionContext.get_ws_dir()
ProvisionContext.info()
ProvisionContext.json_load_template_section()
ProvisionContext.load_templates()
ProvisionContext.set_logger()
ProvisionContext.set_provision_mode()
ProvisionContext.warning()
ProvisionContext.yaml_load_template_section()
- nvflare.lighter.entity module
- nvflare.lighter.poc module
- nvflare.lighter.provision module
- nvflare.lighter.provisioner module
- nvflare.lighter.spec module
- nvflare.lighter.tool_consts module
- nvflare.lighter.tplt_utils module
Template
Template.get_aws_client_start_sh()
Template.get_aws_server_start_sh()
Template.get_azure_client_start_sh()
Template.get_azure_cln_sh()
Template.get_azure_server_start_sh()
Template.get_azure_start_cln_header_sh()
Template.get_azure_start_common_sh()
Template.get_azure_start_svr_header_sh()
Template.get_azure_svr_sh()
Template.get_cloud_script_header()
Template.get_start_sh()
Template.get_sub_start_sh()
- nvflare.lighter.utils module
Identity
generate_cert()
generate_keys()
generate_password()
load_crt()
load_crt_bytes()
load_private_key()
load_private_key_file()
load_yaml()
load_yaml_include()
make_dirs()
serialize_cert()
serialize_pri_key()
sh_replace()
sign_all()
sign_content()
sign_folders()
update_participant_server_name()
update_project_server_name()
update_project_server_name_config()
update_server_default_host()
update_storage_locations()
verify_cert()
verify_content()
verify_folder_signature()
write()
x509_name()