https://github.com/openfunction/serverless-devs
Serverless Devs for OpenFunction
https://github.com/openfunction/serverless-devs
Last synced: 24 days ago
JSON representation
Serverless Devs for OpenFunction
- Host: GitHub
- URL: https://github.com/openfunction/serverless-devs
- Owner: OpenFunction
- License: mit
- Created: 2022-07-14T14:29:38.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-04-25T13:08:19.000Z (about 2 years ago)
- Last Synced: 2025-04-24T03:08:55.722Z (24 days ago)
- Language: TypeScript
- Size: 162 KB
- Stars: 9
- Watchers: 4
- Forks: 3
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# OpenFunction Component for Serverless Devs
[](#contributors-)
`ofn` is a [Serverless Devs](https://docs.serverless-devs.com/en) component developed for [OpenFunction](https://openfunction.dev).
> See also [Component Model Specification](https://docs.serverless-devs.com/en/sdm/serverless_package_model/package_model#component-model-specification) to learn more details about the directory structure and content meanings.
## Features
- [x] Build function image locally with [pack](https://buildpacks.io/docs/tools/pack/) command-line tool
- `pack` tool should be installed before running `build` command
- [x] Deploy or remove the function over target Kubernetes context
- [ ] upcoming more features ...## Quickstart
Clone the project and try running the sample:
```plain
$ git clone https://github.com/openfunction/serverless-devs
$ cd serverless-devs/example$ s ofn help
ofn component
You can use the component to manage your OpenFunction source and function
custom resources.Usage
$ s
Command List
help Display help information.
build Build function image locally with pack tool.
deploy Deploy or remove the function over target Kubernetes context.Examples
1. A build example. $ s ofn build
2. A deploy example. $ s ofn deploy
3. A remove example. $ s ofn deploy deleteProject home: https://github.com/openfunction/serverless-devs
```## Related
- [Serverless Registry](http://www.devsapp.cn/details.html?name=ofn)
```plain
package: ofn
description: Serverless Devs for OpenFunction
version: 0.1.0
zipball_url: https://registry.devsapp.cn/simple/ofn/zipball/0.1.0
```## Contributors ✨
Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!