4 configuration options · available in Rust, Python, Node.js, Java
use opendal::Operator;
let op = Operator::via_iter("koofr", [
("endpoint".to_string(), "...".to_string()),
("email".to_string(), "...".to_string()),
])?;
use opendal::Operator;
let op = Operator::via_iter("koofr", [
// root of this backend.
//
// All operations will happen under this root.
// ("root".to_string(), "...".to_string()),
// Koofr endpoint.
("endpoint".to_string(), "...".to_string()),
// Koofr email.
("email".to_string(), "...".to_string()),
// password of this backend. (Must be the application password)
// ("password".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 |
|---|---|---|---|
root | string | no | root of this backend. All operations will happen under this root. |
endpoint | string | yes | Koofr endpoint. |
email | string | yes | Koofr email. |
password | string | no | password of this backend. (Must be the application password) |