OpenFunction Component for Serverless Devs

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 
package:     ofn
description: Serverless Devs for OpenFunction
version:     0.1.0
zipball_url: https://registry.devsapp.cn/simple/ofn/zipball/0.1.0
在 GitHub 上编辑本页面 更新时间: Wed, Aug 10, 2022