Expand description
OpenStack SDK in Rust.
The goal of this project is to provide a simple API for working with OpenStack clouds.
Usage
Start with authentication, then create a Cloud object and use it for OpenStack API calls.
Example
Get authentication parameters from the environment and get UUIDs of all servers.
extern crate openstack;
fn get_server_uuids() -> openstack::Result<Vec<String>> {
let os = openstack::Cloud::from_env()?;
let servers = os.list_servers()?;
Ok(servers.into_iter().map(|server| server.id().clone()).collect())
}
See Cloud struct for more examples.
Modules
Authentication modules.
Types and traits shared by all API parts.
Compute API implementation bits.
Image API implementation bits.
Network API implementation bits.
Session structure definition.
Structs
Enums
Traits
Trait representing something that can be refreshed.
Type Definitions
Result of an OpenStack call.