2 个仓库
Local emulation of shared dependency layers by mapping host directories into the runtime container.
Distinct from Local Lambda Simulation: Focuses on the local simulation of dependency layers specifically, rather than the general event server simulation of the parent.
Explore 2 awesome GitHub repositories matching development tools & productivity · Layer Simulations. Refine with filters or upvote what's useful.
docker-lambda 是一个基于 Docker 的无服务器模拟器和本地仿真器,旨在复制 AWS Lambda 运行时环境。它提供了一个系统,用于在本地执行无服务器函数,并通过容器化镜像镜像云执行环境。 该项目包含一个本地 API 服务器,允许通过 HTTP 调用函数,从而在测试期间消除冷启动。它具有一个构建工具,用于编译原生依赖项并使用专用系统镜像将函数代码打包到部署归档中。 该环境支持通过挂载本地目录来镜像共享依赖层,并利用文件系统监视来实现函数代码的热重载。它还提供了一种通过标准输入传递大型事件负载的机制,以绕过命令行长度限制。
Implements local mirroring of shared dependency layers by mounting local directories into the container filesystem.
serverless-offline 是一个 Serverless Framework 插件,提供本地云基础设施模拟器。它充当 AWS Lambda 本地模拟器和 AWS API Gateway 模拟工具,允许在本地机器上开发和测试无服务器函数,而无需部署到远程提供商。 该项目的独特之处在于模拟双向 WebSocket 连接和消息路由,以及模仿 HTTP 网关的请求生命周期。它包含一个模拟身份验证器流水线,用于在本地验证令牌和 JWT,并支持将虚拟依赖层挂载到执行环境中。 该工具广泛涵盖了跨多种运行时的函数执行(具备隔离执行模式)、用于请求路由的云网关模拟,以及用于基于时间逻辑的定时事件触发模拟。它还提供了 SDK 调用模拟和请求上下文模拟功能,以促进本地集成测试。
Emulates shared dependency layers by mapping host directories into the local runtime container.