This service can be used to:
endpoints: Set the endpoints to the tikv clusterinsecure: Set the insecure flag to the tikv clusterca_path: Set the ca path to the tikv connectioncert_path: Set the cert path to the tikv connectionkey_path: Set the key path to the tikv connectionYou can refer to [TikvBuilder]'s docs for more information
use opendal_core::Operator; use opendal_core::Result; use opendal_service_tikv::Tikv; #[tokio::main] async fn main() -> Result<()> { let mut builder = Tikv::default() .endpoints(vec!["127.0.0.1:2379".to_string()]); let op: Operator = Operator::new(builder)?.finish(); Ok(()) }