Key methods for Resource types
This commit is contained in:
+13
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user