Crate cloud_detect
source ·Functions
- Detects the current host’s cloud service provider. Returns “unknown” if the detection failed, if the current cloud service provider is unsupported, or if minor errors occurred during detection.
- Returns a list of the currently supported cloud service providers.
- Attempts to detect the current host’s cloud service provider. If we encounter an error, we return it rather than unwrapping or assuming the provider as “unknown”.