Libstorage
rust storage server helper utilities
Install / Use
/learn @Comcast/LibstorageREADME
libstorage
Library for all our storage systems
libstorage is a collection of helper functions written in RUST to make interfacing with storage servers easier. Under the src/ directory there is a module for each storage system the library supports.
To start using libstorage
libstorage is easy to use in your project. Just include the dependency in your Cargo.toml and you're ready to roll. The isilon library has been put behind a cargo feature flag because it's so large and the feature has to be enabled during the build.
Example
The following example shows a sample use of the hitachi module:
use libstorage::hitachi::HitachiConfig;
use reqwest::Client;
fn main() -> Result<(), libstorage::Error>> {
let web_client = reqwest::Client::new();
let hitachi_config = HitachiConfig {
endpoint: "server".into(),
user: "username".into(),
password: "password".into(),
region: "region".into(),
};
// 1. Get the host:instance list with /AgentForRAID
let agents = get_agent_for_raid(&web_client, &hitachi_config)?;
println!("items: {} {:?}", agents.items.len(), agents);
Ok(())
}
Support and Contributions
If you need support, start by checking the issues page. If that doesn't answer your questions, or if you think you found a bug, please file an issue.
That said, if you have questions, reach out to us communication.
Want to contribute to libstorage? Awesome! Check out the contributing guide.
Related Skills
himalaya
347.0kCLI to manage emails via IMAP/SMTP. Use `himalaya` to list, read, write, reply, forward, search, and organize emails from the terminal. Supports multiple accounts and message composition with MML (MIME Meta Language).
node-connect
347.0kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
taskflow
347.0kname: taskflow description: Use when work should span one or more detached tasks but still behave like one job with a single owner context. TaskFlow is the durable flow substrate under authoring layer
frontend-design
107.8kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
