function_create

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: May 20, 2018 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const BuildContextHandlerDir string = "function_handler"

BuildContextHandlerDir script dir inside docker

View Source
const BuildContextJS string = "handler.js"

BuildContextJS system create target js file name

View Source
const BuildContextJar string = "function.jar"

BuildContextJar jar file

View Source
const DockerFunctionDIR string = "app"

DockerFunctionDIR dir which function is locted

Variables

This section is empty.

Functions

func CreateFunction

func CreateFunction(
	functionID string,
	functionSource quebicFaasTypes.FunctionSourceFile,
	runtime common.Runtime) (string, error)

CreateFunction create function

func GetDockerFunctionJAR

func GetDockerFunctionJAR() string

GetDockerFunctionJAR jar file location inside docker

func GetDockerFunctionJS

func GetDockerFunctionJS() string

GetDockerFunctionJS node js file location inside docker

func GetDockerFunctionJSPackage

func GetDockerFunctionJSPackage(handlerFile string) string

GetDockerFunctionJSPackage node js file location inside docker

func GetFunctionDir

func GetFunctionDir(functionID string) string

GetFunctionDir get function artifact creating location

Types

This section is empty.

Jump to

Keyboard shortcuts

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