solidipes.utils.cloud module
- solidipes.utils.cloud.add_global_mount_info(mount_info)[source]
Use mount_id to retrieve keys from user home’s .solidipes directory.
Keys already present in mount_info are not replaced. If one key is not found, no error is raised. Error should happen later when trying to mount.
- solidipes.utils.cloud.convert_local_to_cloud(local_path, mount_info)[source]
Copy local content to cloud, unmount temp cloud and mount at final location
- solidipes.utils.cloud.get_mount_id(mount_info)[source]
Create new unique mount_id if not already set.
- solidipes.utils.cloud.list_mounts(only_mounted=False)[source]
Get config expressed relative to working directory, with mount status
- solidipes.utils.cloud.mount_all(headless=False, allow_root=False)[source]
Mount all mounts that are not already mounted
- solidipes.utils.cloud.mount_s3_juicefs_psql(path, mount_info=None, allow_root=False, **kwargs)[source]
- solidipes.utils.cloud.mount_with_mount_command(mount_command_type, path, mount_info, headless=False)[source]