IBM Cloud Functions (OpenWhisk) Action の環境一覧 (runtimes)
5737 ワード
概要
OpenWhisk のリポジトリやドキュメントから分かるのですが、表形式で一覧できないので、作っておきます。
CLI で action create
する際の --kind
パラメーターに指定するやつです。
(Dockerは --docker
指定、バイナリは --native
指定なので割愛。GOもビルドしたバイナリをアップします)
.kind | .image.name | .default | .deprecated |
---|---|---|---|
nodejs | nodejsaction | true | |
nodejs:6 | nodejs6action | true | false |
nodejs:8 | action-nodejs-v8 | false | false |
python | python2action | false | |
python:2 | python2action | true | false |
python:3 | python3action | false | |
swift | swiftaction | true | |
swift:3 | swift3action | true | |
swift:3.1.1 | action-swift-v3.1.1 | false | |
swift:4.1 | action-swift-v4.1 | true | false |
java | java8action | true | false |
php:7.1 | action-php-v7.1 | false | false |
php:7.2 | action-php-v7.2 | true | false |
ruby:2.5 | action-ruby-v2.5 | true | false |
材料
- OpenWhisk の runtimes.json
-
curl
, jq
, tr
, sed
手順
curl
, jq
, tr
, sed
runtimes.json
を GET してきて jq
/tr
/sed
で markdown の table 風に。
$ curl -s https://raw.githubusercontent.com/apache/incubator-openwhisk/master/ansible/files/runtimes.json \
| jq -r '.runtimes[][] | [.kind, .image.name, .default, .deprecated] | @csv' \
| tr , '|' | sed 's/"//g' | sed 's/true/**true**/g'
nodejs|nodejsaction||**true**
nodejs:6|nodejs6action|**true**|false
nodejs:8|action-nodejs-v8|false|false
python|python2action||false
python:2|python2action|**true**|false
python:3|python3action||false
swift|swiftaction||**true**
swift:3|swift3action||**true**
swift:3.1.1|action-swift-v3.1.1||false
swift:4.1|action-swift-v4.1|**true**|false
java|java8action|**true**|false
php:7.1|action-php-v7.1|false|false
php:7.2|action-php-v7.2|**true**|false
ruby:2.5|action-ruby-v2.5|**true**|false
Author And Source
この問題について(IBM Cloud Functions (OpenWhisk) Action の環境一覧 (runtimes)), 我々は、より多くの情報をここで見つけました https://qiita.com/SakaiYuki/items/9fd7339bef5ca682de36著者帰属:元の著者の情報は、元のURLに含まれています。著作権は原作者に属する。
Content is automatically searched and collected through network algorithms . If there is a violation . Please contact us . We will adjust (correct author information ,or delete content ) as soon as possible .