otlp2pipeline 0.4.0

OTLP ingestion worker for Cloudflare Pipelines and AWS
Documentation
1
2
3
4
5
6
7
8
9
10
use anyhow::Result;

use super::CloudflareClient;

impl CloudflareClient {
    /// Delete a worker script by name
    pub async fn delete_worker(&self, name: &str) -> Result<()> {
        self.delete(&format!("/workers/scripts/{}", name)).await
    }
}