Key methods for Resource types

This commit is contained in:
Soam Vasani
2016-09-20 00:55:13 -07:00
parent f02f58cd12
commit 39ef1da415
+13
View File
@@ -0,0 +1,13 @@
package fission
func (f Function) Key() string {
return f.Metadata.Name
}
func (e Environment) Key() string {
return e.Metadata.Name
}
func (ht HTTPTrigger) Key() string {
return ht.Metadata.Name
}