functions-framework-ruby:FaaS(函数即服务)框架,用于编写可移植的Ruby函数

时间:2021-05-16 06:57:35
【文件属性】:
文件名称:functions-framework-ruby:FaaS(函数即服务)框架,用于编写可移植的Ruby函数
文件大小:129KB
文件格式:ZIP
更新时间:2021-05-16 06:57:35
Ruby Ruby的功能框架 一个开放源代码框架,用于编写在无服务器环境中运行的轻型可移植Ruby函数。 写入此框架的功能将在许多不同的环境中运行,包括: (公开预览) 任何其他基于的环境 您当地的开发机器 该框架使您可以: FunctionsFramework . http ( "hello" ) do | request | "Hello, world! \n " end 至: curl http://my-url # Output: Hello, world! 在完全托管或自我托管的无服务器环境中运行,而无需HTTP服务器或复杂的请求处理逻辑。 特征 使用常规的Ruby构造定义命名函数。 响应请求而调用功能。 自动解组符合规范的事件。 自动将大多数旧有事件从Google Cloud服务(例如Cloud Pub / Sub和Cloud Storage)转换为Cloud
【文件预览】:
functions-framework-ruby-main
----.gitignore(56B)
----bin()
--------functions-framework(853B)
--------functions-framework-ruby(694B)
----.rubocop.yml(579B)
----LICENSE(11KB)
----CHANGELOG.md(5KB)
----.github()
--------CONTRIBUTING.md(1KB)
--------workflows()
----examples()
--------sinatra()
--------echo()
----README.md(5KB)
----.toys()
--------release()
--------conformance.rb(2KB)
--------ci.rb(2KB)
--------.toys.rb(912B)
--------.data()
----lib()
--------functions_framework.rb(9KB)
--------functions_framework()
----Gemfile(815B)
----functions_framework.gemspec(2KB)
----docs()
--------testing-functions.md(7KB)
--------running-a-functions-server.md(5KB)
--------deploying-functions.md(8KB)
--------overview.md(5KB)
--------writing-functions.md(20KB)
----.yardopts(321B)
----test()
--------test_version.rb(816B)
--------conformance()
--------legacy_events_data()
--------function_definitions()
--------helper.rb(681B)
--------test_function.rb(5KB)
--------test_testing.rb(11KB)
--------test_registry.rb(3KB)
--------test_legacy_event_converter.rb(7KB)
--------test_server.rb(8KB)
--------test_main.rb(3KB)
--------test_cli.rb(7KB)

网友评论