Skip to main content

build_pod_spec

Function build_pod_spec 

Source
pub fn build_pod_spec(
    func: &LambdaFunction,
    deploy_id: &str,
    ctx: &PodSpecContext<'_>,
) -> Result<Pod, String>
Expand description

Build the Pod spec for a single Lambda function invocation runtime. The Pod has one init container (busybox) that downloads code + layers from fakecloud over HTTP, and one main container running the AWS RIE image (zip functions) or the user-supplied image (image functions).