mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
Update references remove refs to treeder oracle funcy (#376)
* Remove lots of refs to iron and funcy oracle etc.. * more ref replacements * Replacing more refs. Treeder * Use Fn not FN
This commit is contained in:
committed by
Travis Reeder
parent
5219227393
commit
c7f3066c75
@@ -1,6 +1,6 @@
|
||||
# Lambda everywhere
|
||||
|
||||
Lambda support for Oracle Functios enables you to take your AWS Lambda functions and run them
|
||||
Lambda support for Fn enables you to take your AWS Lambda functions and run them
|
||||
anywhere. You should be able to take your code and run them without any changes.
|
||||
|
||||
## Creating Lambda Functions
|
||||
@@ -14,4 +14,4 @@ fn init --runtime lambda-node-4 --name lambda-node
|
||||
|
||||
Be sure the filename for your main handler is `func.js`.
|
||||
|
||||
TODO: Make Java and Python use the new workflow too.
|
||||
TODO: Make Java and Python use the new workflow too.
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
Docker images created by running the `create-function` subcommand on a Lambda function are ready to execute.
|
||||
|
||||
You can convert any Lambda function of type nodejs 0.10, python 2.7 and Java 8 into an
|
||||
Oracle Functions compatible Docker Image as follows:
|
||||
FN compatible Docker Image as follows:
|
||||
|
||||
```bash
|
||||
fn lambda create-function <name> <runtime> <handler> <files...>
|
||||
|
||||
@@ -21,11 +21,11 @@ such assumptions, please rewrite it.
|
||||
|
||||
## nodejs
|
||||
|
||||
* node.js version [0.10.42][funcy/node]
|
||||
* node.js version [0.10.42][fnproject/node]
|
||||
* ImageMagick version [6.9.3][magickv] and nodejs [wrapper 6.9.3][magickwrapperv]
|
||||
* aws-sdk version [2.2.12][awsnodev]
|
||||
|
||||
[funcy/node]: https://github.com/treeder/dockers/blob/master/node/Dockerfile
|
||||
[fnproject/node]: https://github.com/fnproject/dockers/blob/master/node/Dockerfile
|
||||
[magickv]: https://pkgs.alpinelinux.org/package/main/x86_64/imagemagick
|
||||
[magickwrapperv]: https://www.npmjs.com/package/imagemagick
|
||||
[awsnodev]: https://aws.amazon.com/sdk-for-node-js/
|
||||
@@ -57,7 +57,7 @@ If your handler throws an exception, we only log the error message. There is no
|
||||
* CPython [2.7.11][pythonv]
|
||||
* boto3 (Python AWS SDK) [1.2.3][botov].
|
||||
|
||||
[pythonv]: https://hub.docker.com/r/funcy/python/tags/
|
||||
[pythonv]: https://hub.docker.com/r/fnproject/python/tags/
|
||||
[botov]: https://github.com/boto/boto3/releases/tag/1.2.3
|
||||
|
||||
### Event
|
||||
@@ -84,7 +84,7 @@ a JSON object with trace information.
|
||||
|
||||
* OpenJDK Java Runtime [1.8.0][javav]
|
||||
|
||||
[javav]: https://hub.docker.com/r/funcy/java/tags/
|
||||
[javav]: https://hub.docker.com/r/fnproject/java/tags/
|
||||
|
||||
The Java8 runtime is significantly lacking at this piont and we **do not
|
||||
recommend** using it.
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
Import existing AWS Lambda functions
|
||||
====================================
|
||||
|
||||
The [fn](https://github.com/treeder/functions/fn/) tool includes a set of
|
||||
The [fn](https://github.com/fnproject/fn/) tool includes a set of
|
||||
commands to act on Lambda functions. Most of these are described in
|
||||
[getting-started](./getting-started.md). One more subcommand is `aws-import`.
|
||||
|
||||
@@ -40,7 +40,7 @@ fn lambda aws-import arn:aws:lambda:us-west-2:123141564251:function:my-function
|
||||
|
||||
will import the function code from the region `us-east-1` to a directory called `./user/my-function`. Inside the directory you will find the `function.yml`, `Dockerfile`, and all the files needed for running the function.
|
||||
|
||||
Using Lambda with Docker Hub and Oracle Functions requires that the Docker image be
|
||||
Using Lambda with Docker Hub and Fn requires that the Docker image be
|
||||
named `<Docker Hub username>/<image name>`. This is used to uniquely identify
|
||||
images on Docker Hub. Please use the `<Docker Hub username>/<image
|
||||
name>` as the image name with `aws-import` to create a correctly named image.
|
||||
@@ -54,4 +54,4 @@ You can then deploy the imported lambda as follows:
|
||||
```
|
||||
./fn deploy --app myapp
|
||||
````
|
||||
Now the function can be reached via ```http://$HOSTNAME/r/user/my-function```
|
||||
Now the function can be reached via ```http://$HOSTNAME/r/user/my-function```
|
||||
|
||||
Reference in New Issue
Block a user