buildpacks

package
v0.16.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 23, 2021 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RuntimeToBuildpack = map[string]string{
	"quarkus":    "quay.io/boson/faas-quarkus-builder",
	"node":       "quay.io/boson/faas-nodejs-builder",
	"go":         "quay.io/boson/faas-go-builder",
	"springboot": "quay.io/boson/faas-springboot-builder",
	"python":     "quay.io/boson/faas-python-builder",
	"typescript": "quay.io/boson/faas-nodejs-builder",
	"rust":       "quay.io/boson/faas-rust-builder",
}

RuntimeToBuildpack holds the mapping between the Runtime and its corresponding Buildpack builder to use

Functions

func Runtimes added in v0.16.0

func Runtimes() string

Runtimes returns the list of supported runtimes as comma seperated strings, sorted alphabetically

func RuntimesList added in v0.16.0

func RuntimesList() []string

RuntimesList returns the list of supported runtimes as an array of strings, sorted alphabetically

Types

type Builder

type Builder struct {
	Verbose bool
}

Builder holds the configuration that will be passed to Buildpack builder

func NewBuilder

func NewBuilder() *Builder

NewBuilder builds the new Builder configuration

func (*Builder) Build

func (builder *Builder) Build(ctx context.Context, f fn.Function) (err error)

Build the Function at path.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL