1.1.18 • Published 9 months ago
gfaas v1.1.18
gFaaS CLI
Workflow
Create functions
gfaas newFunction --lang $LANGUAGE
LANGUAGE in {go1.19, python3.9, node14, java19, cpp20}
Build function
gfaas build function.yaml
Push function
gfaas push function.yaml
Deploy function
gfaas deploy function.yaml $PLATFORM_ID
Delete function
gfaas delete function $FUNCTION_ID
Show function details
gfaas function $FUNCTION_ID
Show deployed functions
gfaas functions
Show available platforms
gfaas platforms
gfaas platforms --health
Integrate gFaaS into existing projects with adapt functionality
gfaas adapt --lang $LANGUAGE
LANGUAGE in {go1.19, python3.9, node14, java19, cpp20}
CLI Development
Build
npm run build
Publish to npm
npm publish
Development
npm run start
Install CLI
npm i gfaas -g
Create executables
- Execute build-executables.sh to create executables for the different platforms. Make sure to install the necessary tools first.
npm i -g @vercel/ncc
ncc build index.ts -o dist
npm install -g pkg
cd dist && pkg index.js
Create dockered CLI
docker build -t registry.hub.docker.com/paulwie/gfaas-cli .
docker push registry.hub.docker.com/paulwie/gfaas-cli
Run CLI command in docker
docker run --rm registry.hub.docker.com/paulwie/gfaas-cli --version
1.1.18
9 months ago
1.1.17
10 months ago
1.1.9
11 months ago
1.1.8
11 months ago
1.1.7
11 months ago
1.1.6
11 months ago
1.1.5
11 months ago
1.1.4
12 months ago
1.1.3
12 months ago
1.1.12
11 months ago
1.1.11
11 months ago
1.1.10
11 months ago
1.1.16
10 months ago
1.1.15
10 months ago
1.1.14
11 months ago
1.1.13
11 months ago
1.1.2
12 months ago
1.1.1
12 months ago
1.1.0
12 months ago