Beispiel #1
0
func init() {
	function.RegisterPlugin("inference", &Plugin{
		Files: map[string]string{
			"main.py":  "python",
			"index.js": "nodejs",
			"main.go":  "golang",
		},
	})
}
Beispiel #2
0
func init() {
	function.RegisterPlugin("inference", &Plugin{
		Files: map[string]string{
			"main.py":  python.Runtime,
			"index.js": nodejs.Runtime,
			"main.go":  golang.Runtime,
		},
	})
}
Beispiel #3
0
func init() {
	function.RegisterPlugin("inference", &Plugin{
		Files: map[string]string{
			"main.py":             python.Runtime,
			"index.js":            nodejs.Runtime43,
			"main.go":             golang.Runtime,
			"target/apex.jar":     java.Runtime,
			"build/libs/apex.jar": java.Runtime,
		},
	})
}
Beispiel #4
0
func init() {
	function.RegisterPlugin("nodejs", &Plugin{})
}
Beispiel #5
0
func init() {
	function.RegisterPlugin("python", &Plugin{})
}
Beispiel #6
0
func init() {
	function.RegisterPlugin("golang", &Plugin{})
}
Beispiel #7
0
func init() {
	function.RegisterPlugin("hooks", &Plugin{})
}
Beispiel #8
0
func init() {
	function.RegisterPlugin("java", &Plugin{})
}
Beispiel #9
0
func init() {
	function.RegisterPlugin("env", &Plugin{})
}
Beispiel #10
0
func init() {
	function.RegisterPlugin("shim", &Plugin{})
}
Beispiel #11
0
func init() {
	function.RegisterPlugin(Runtime, &Plugin{})
	function.RegisterPlugin(Runtime43, &Plugin{})
}