functioncreate

package
v0.1.0-alpha Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2018 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Copyright 2018 Tharanga Nilupul Thennakoon

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

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,
	functionArtifactPath string,
	runtime common.Runtime) (string, error)

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