This commit is contained in:
Miek Gieben 2017-11-13 16:15:10 +00:00
parent d0c7a87b69
commit 7c7a233b83

View file

@ -182,3 +182,11 @@ func (APIConnFederationTest) GetNodeByName(name string) (*api.Node, error) {
},
}, nil
}
func (APIConnFederationTest) GetNamespaceByName(name string) (*api.Namespace, error) {
return &api.Namespace{
ObjectMeta: meta.ObjectMeta{
Name: name,
},
}, nil
}