functions branch and region support (#330)

* branch and region support

* .

* .

* .

* .

* fix functions

* .

* break loop

* update example

* update examples
This commit is contained in:
Asim Aslam
2021-12-16 19:23:03 +00:00
committed by GitHub
parent c305ae5739
commit 609c4c9813
8 changed files with 1503 additions and 540 deletions

View File

@@ -0,0 +1,16 @@
package handler
import (
"regexp"
)
var (
IDFormat = regexp.MustCompilePOSIX("[a-z0-9-]+")
NameFormat = regexp.MustCompilePOSIX("[a-z0-9]+")
FunctionKey = "function/func/"
OwnerKey = "function/owner/"
ReservationKey = "function/reservation/"
)
type Function struct{}