6 configuration options · available in Rust, Python
use opendal::Operator;
let op = Operator::via_iter("lakefs", [
])?;
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.
| Key | Type | Required | Description |
|---|---|---|---|
endpoint | string | no | Base url. This is required. |
username | string | no | Username for Lakefs basic authentication. This is required. |
password | string | no | Password for Lakefs basic authentication. This is required. |
root | string | no | Root of this backend. Can be "/path/to/dir". Default is "/". |
repository | string | no | The repository name This is required. |
branch | string | no | Name of the branch or a commit ID. Default is main. This is optional. |