Skip to main content

lakefs

6 configuration options · available in Rust, Python

Quick start
use opendal::Operator;

let op = Operator::via_iter("lakefs", [
])?;
All configuration options (copy & trim)
Full reference
use opendal::Operator;

let op = Operator::via_iter("lakefs", [
// Base url.
//
// This is required.
// ("endpoint".to_string(), "...".to_string()),

// Username for Lakefs basic authentication.
//
// This is required.
// ("username".to_string(), "...".to_string()),

// Password for Lakefs basic authentication.
//
// This is required.
// ("password".to_string(), "...".to_string()),

// Root of this backend. Can be "/path/to/dir".
//
// Default is "/".
// ("root".to_string(), "...".to_string()),

// The repository name
//
// This is required.
// ("repository".to_string(), "...".to_string()),

// Name of the branch or a commit ID. Default is main.
//
// This is optional.
// ("branch".to_string(), "...".to_string()),

])?;

Every option is passed as a string key; OpenDAL parses it into the right type. Some services may require building the binding with the matching services-* feature enabled.

Configuration reference

General6
KeyTypeRequiredDescription
endpointstringnoBase url. This is required.
usernamestringnoUsername for Lakefs basic authentication. This is required.
passwordstringnoPassword for Lakefs basic authentication. This is required.
rootstringnoRoot of this backend. Can be "/path/to/dir". Default is "/".
repositorystringnoThe repository name This is required.
branchstringnoName of the branch or a commit ID. Default is main. This is optional.