launcher/LambdaDockerFlags.java

floci-io/floci · src/main/java/io/github/hectorvent/floci/services/lambda/launcher/LambdaDockerFlags.java · java · MIT
infra, Infra / DevOps

Parses Docker options for Lambda container execution.

// Source: https://github.com/floci-io/floci | License: MIT | Copyright 2025 Floci and its contributors
// Provided via justclaw.it.com; keep this notice with the code.
package io.github.hectorvent.floci.services.lambda.launcher;

import java.util.ArrayList;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;

/** Parsed Docker options applied to every Lambda execution container. */
record LambdaDockerFlags(
        List<String> environment,
        List<String> volumes,
        List<String> publishedPorts,
        List<String> extraHosts,
        List<String> dnsServers,
        Map<String, String> labels,
        String network,
        String user,
        boolean privileged,
        String platform
) {

    static LambdaDockerFlags parse(String input) {
       

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key