#client #management #iam #api-client #access #identity #object-scale

objectscale-client

A Rust client for ObjectScale Management

3 unstable releases

0.2.1 Jul 21, 2024
0.2.0 Jul 21, 2024
0.1.0 Jul 13, 2024

#1749 in Network programming

Download history 35/week @ 2024-09-13 23/week @ 2024-09-20 6/week @ 2024-09-27

54 downloads per month

Apache-2.0

155KB
3.5K SLoC

ObjectScale-Client

This repo provides a rust client for Dell ObjectScale for Identity and Access Management (IAM), bucket, multi-tenancy management.

It also contains Rust FFI bindings for golang & python clients.

Examples

Some examples for each languages:

rust

cd examples
cargo run --bin create_account
cargo run --bin delete_account

golang

cargo build --release
cd golang
go build examples/create_account/main.go
./main
go build examples/delete_account/main.go
./main

python

cd python
python -m venv .env
source .env/bin/activate
pip install maturin
maturin develop
python examples/create_account.py
python examples/delete_account.py

Development

rustup component add clippy rustfmt
cargo install cargo-tarpaulin

cargo fmt
cargo clippy
cargo test
cargo doc
cargo tarpaulin --out Html

lib.rs:

A Rust client for ObjectScale.

ObjectScale ObjectScale is high-performance containerized object storage built for the toughest applications and workloads— AI, analytics and more.

ObjectScale client in Rust provides a few APIs at high level:

  • client provides ObjectScale clients to manage for all the resources.
  • bucket is for bucket resource definition.
  • iam is for identity and access management resources definition.
  • tenant is for tenant definition.

Dependencies

~7–18MB
~245K SLoC