5 configuration options · available in Rust, Python, Node.js, Java
use opendal::Operator;
let op = Operator::via_iter("tikv", [
])?;
use opendal::Operator;
let op = Operator::via_iter("tikv", [
// network address of the TiKV service.
// ("endpoints".to_string(), "value1,value2".to_string()),
// whether using insecure connection to TiKV
// ("insecure".to_string(), "true".to_string()),
// certificate authority file path
// ("ca_path".to_string(), "...".to_string()),
// cert path
// ("cert_path".to_string(), "...".to_string()),
// key path
// ("key_path".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 |
|---|---|---|---|
endpoints | list | no | network address of the TiKV service. |
insecure | bool | no | whether using insecure connection to TiKV |
ca_path | string | no | certificate authority file path |
cert_path | string | no | cert path |
key_path | string | no | key path |