Define main resource types

Functions, HTTPTriggers, Metadata, Environment.  Update the router to
use fission.Metadata, not fission.Function, to identify functions.
This commit is contained in:
Soam Vasani
2016-09-10 00:59:39 -07:00
parent 405dd6fa0f
commit 732634b53c
6 changed files with 40 additions and 12 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ import (
type functionHandler struct {
fmap *functionServiceMap
poolManagerUrl string
fission.Function
Function fission.Metadata
}
func (*functionHandler) getServiceForFunction() (*url.URL, error) {