Skip to content

andrew-su/scrap-python-function

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python Accelerator - Function Buildpacks for Knative

This accelerator generates template files, which enable developers to work with Function Buildpacks and deploy a FaaS experience easily.

These template files are generated from VMware's open-source Function Buildpacks for Knative project.

Getting Started

To begin editing your function, refer to the tree diagram below of the file to modify:

hello
    └── func.py // EDIT THIS FILE

Inside this file, you will find a function that is invoked by default. For example:

def main(data: Any, attributes: dict):
    # Your function implementation goes here
    return attributes, "Hello world!"

You may replace the code inside this default function with your logic.

To see samples of code deployable as a Function (FaaS) experience, visit the samples folder.

Deploying

Please see DEPLOYING.md on how to build, deploy, and test your newly built function.

Links

Contributing

License

Reporting Bugs or Vulnerabilities

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages