4 configuration options · available in Rust, Python, Node.js, Java
use opendal::Operator;
let op = Operator::via_iter("ghac", [
])?;
use opendal::Operator;
let op = Operator::via_iter("ghac", [
// The root path for ghac.
// ("root".to_string(), "...".to_string()),
// The version that used by cache.
// ("version".to_string(), "...".to_string()),
// The endpoint for ghac service.
// ("endpoint".to_string(), "...".to_string()),
// The runtime token for ghac service.
// ("runtime_token".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 | The root path for ghac. |
version | string | no | The version that used by cache. |
endpoint | string | no | The endpoint for ghac service. |
runtime_token | string | no | The runtime token for ghac service. |