eve
Version:
Filesystem-first framework for durable backend AI agents that run anywhere.
9 lines (8 loc) • 496 B
TypeScript
import type { DockerCli } from "#execution/sandbox/bindings/docker-cli.js";
import type { SandboxNetworkPolicy } from "#shared/sandbox-network-policy.js";
/**
* Applies a coarse-grained run-time network policy by attaching or
* detaching the container's networks. Domain-level policies and
* credential brokering require the firewall on the Vercel backend.
*/
export declare function setDockerNetworkPolicy(cli: DockerCli, containerName: string, policy: SandboxNetworkPolicy): Promise<void>;