added functions to bench

This commit is contained in:
2019-04-02 22:03:54 +02:00
parent bd5b6d3713
commit 4d500ef688
2 changed files with 77 additions and 0 deletions

10
functions/helloget.go Normal file
View File

@@ -0,0 +1,10 @@
package kubeless
import (
"github.com/kubeless/kubeless/pkg/functions"
)
// Foo sample function
func Foo(event functions.Event, context functions.Context) (string, error) {
return "Hello world!", nil
}