rs_workflows/storage_configuration.md
Module for managing storage configuration.
This module defines the StorageConfig class, which is responsible for loading and parsing storage configuration from a JSON file. It establishes mappings for product-specific storage, default unit storage, and pipeline storage, and resolves storage credentials using provided secrets.
StorageConfig
A class to load and query the storage_configuration.json file.
Source code in docs/rs-client-libraries/rs_workflows/storage_configuration.py
29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 | |
get_all_storage_names()
Return a list of all defined storage names.
Source code in docs/rs-client-libraries/rs_workflows/storage_configuration.py
109 110 111 | |
get_storage_for_pipeline_section(section)
Get storage for a pipeline section (pipeline_input, pipeline_output, other, etc.)
Source code in docs/rs-client-libraries/rs_workflows/storage_configuration.py
93 94 95 | |
get_storage_for_specific_product(product_name)
Return the storage name for a specific product.
Source code in docs/rs-client-libraries/rs_workflows/storage_configuration.py
83 84 85 86 87 | |
get_storage_for_unit_section(section)
Get storage for a unit section (input_products, output_products, etc.)
Source code in docs/rs-client-libraries/rs_workflows/storage_configuration.py
89 90 91 | |
get_store_params(storage_name)
Return the store parameters for a given storage name (e.g., 's3', 'shared_disk', etc.).
Source code in docs/rs-client-libraries/rs_workflows/storage_configuration.py
97 98 99 100 101 102 103 104 105 106 107 | |