lakefs-rs

Crates.iolakefs-rs
lib.rslakefs-rs
version1.1.7
sourcesrc
created_at2023-07-24 08:52:29.261454
updated_at2023-07-25 08:15:21.654597
descriptionlakefs client for rust
homepage
repositoryhttps://github.com/quannadev/lakefs-rs
max_upload_size
id924398
size53,120
Quân Nguyễn (quannadev)

documentation

README

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.

crates.io Documentation

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 admin
    • client.repositories_api api repositories
    • client.user_api api user
    • client.user_group_api manager group users

Todo!

-[ ] Manager Object -[ ] Manager Actions -[ ] Manager Retention -[ ] Manager MataData -[ ] Manager Import -[ ] Manager Auth Policies

Commit count: 33

cargo fmt