custom
Purpose
Generic HTTP-based FaaS executor for arbitrary serverless or self-hosted runtimes. Invokes functions via configurable HTTP endpoints without managing deployment lifecycle.
Contents (one hop)
Subdirectories
- (none)
Files
mod.rs-HttpFaasExecutorstruct implementingFaasExecutor. Supports a base URL with optional per-job endpoint overrides. Invokes via HTTP POST, health-checks via GET to the job endpoint.deploy_jobandundeploy_jobare no-ops (returnsOk) since deployment is managed externally.
Key APIs
HttpFaasExecutor::new(base_url)- constructor with base URL for function invocationsHttpFaasExecutor::with_job_endpoint(job_id, url)- register a custom endpoint for a specific jobFaasExecutor::invoke(job_id, input)- POST JSON payload to the job's endpointFaasExecutor::health_check(job_id)- GET request to verify endpoint availabilityFaasExecutor::deploy_job/undeploy_job- no-op implementations
Relationships
- Implements
FaasExecutortrait defined in the parentblueprint-faascrate - Designed for self-hosted or non-standard serverless platforms (OpenFaaS, Knative, custom HTTP services)
- Peer to
aws/,azure/,gcp/, anddigitalocean/executor implementations