solidipes.mounters.cloud module
- class solidipes.mounters.cloud.Mounter(**kwargs)[source]
Bases:
ParsableMounter Base class.
- _abc_impl = <_abc._abc_data object>
- property allow_root
Allow root to access the fuse mounting.
- credential_names = []
- property force
Replace the currently saved configuration for this directory.
- property mount_id
Create new unique mount_id if not already set.
- property mount_info
- property path
Path where to mount. If the directory has already been mounted before, there is no need to indicate other mounting parameters.
- remove_keys_from_info(mount_info) None[source]
Remove keys from info and generate mount_id if necessary.
- property store_keys_publicly
Save all access keys publicly in local .solidipes directory.
- solidipes.mounters.cloud.add_global_mount_info(mount_info) None[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.mounters.cloud.convert_cloud_to_cloud(local_path, mount_info_prev, mount_info_new) NoReturn[source]
- solidipes.mounters.cloud.list_mounts(only_mounted=False)[source]
Get config expressed relative to working directory, with mount status.