Module rok4_tools.joincache
Functions
def configuration() ‑> None
-
Load configuration file
Raises
JSONDecodeError
- Configuration is not a valid JSON file
ValidationError
- Configuration is not a valid JOINCACHE configuration file
MissingEnvironmentError
- Missing object storage informations
StorageError
- Storage read issue
FileNotFoundError
- File or object does not exist
def main()
-
Main function
Return 0 if success, 1 if an error occured
def parse() ‑> None
-
Parse call arguments and check values
Exit program if an error occured