liufangchen / serverless-devs-1

Serverless Devs for OpenFunction

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OpenFunction Component for Serverless Devs

All Contributors

ofn is a Serverless Devs component developed for OpenFunction.

See also Component Model Specification to learn more details about the directory structure and content meanings.

Features

  • Build function image locally with pack command-line tool
    • pack tool should be installed before running build command
  • Deploy or remove the function over target Kubernetes context
  • upcoming more features ...

Quickstart

Clone the project and try running the sample:

$ 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> <options> 

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 delete 

  Project home: https://github.com/openfunction/serverless-devs 

Related

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):


xiliu

🐛

xsahxl

🖋

This project follows the all-contributors specification. Contributions of any kind welcome!

About

Serverless Devs for OpenFunction

License:MIT License


Languages

Language:TypeScript 97.7%Language:JavaScript 2.3%