2 stable releases
1.1.7 | Jul 25, 2023 |
---|---|
1.1.2 |
|
1.0.1 |
|
#41 in #solution
30 downloads per month
52KB
1.5K
SLoC
Lakefs Client
lakefs-rs is a high-performance Rust library designed to seamlessly interact with the lakeFS REST API. If you're working with data lakes and need a reliable way to manage versioning, branching, and data operations, this library is your ultimate solution.
Install
cargo add lakefs-rs
Usage
- ENV
LAKEFS_ENDPOINT=http://localhost:8000
LAKEFS_ACCESS_KEY=access_key
LAKEFS_ACCESS_KEY=secret_key
- Config from env
let cfg = Config::from_env().unwrap();
let client = LakeFsClient::new(cfg);
let test_repo = client.get_repository("test".to_string()).await
- Config manual
let config = Config::new("http://localhost:8000", "access_key", "secret_key", None);
let client = LakeFsClient::new(cfg);
let test_repo = client.get_repository("test".to_string()).await
- API
client.setup_api
api setup lakefs for adminclient.repositories_api
api repositoriesclient.user_api
api userclient.user_group_api
manager group users
Todo!
-[ ] Manager Object -[ ] Manager Actions -[ ] Manager Retention -[ ] Manager MataData -[ ] Manager Import -[ ] Manager Auth Policies
Dependencies
~12–26MB
~386K SLoC