mirror of
https://github.com/coredns/coredns.git
synced 2025-10-27 08:14:18 -04:00
this too
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user