diff options
author | 2019-02-11 14:46:53 +0000 | |
---|---|---|
committer | 2019-02-11 14:46:53 +0000 | |
commit | 29cb00aada276ad99e4f3aef380de9e68f2ebae8 (patch) | |
tree | 5f8425b59111f1154bd87bfa8917f6add807cace /plugin/federation/kubernetes_api_test.go | |
parent | f69819387dcb69234adcda08b0af1af97b84f76e (diff) | |
download | coredns-29cb00aada276ad99e4f3aef380de9e68f2ebae8.tar.gz coredns-29cb00aada276ad99e4f3aef380de9e68f2ebae8.tar.zst coredns-29cb00aada276ad99e4f3aef380de9e68f2ebae8.zip |
Remove grpc watch functionality (#2549)
This was added, but didn't see any use. For a large, complex chunk of
code we should have some users of it.
Remove all watch functionally from plugins, servers and packages.
Fixes: #2548
Signed-off-by: Miek Gieben <miek@miek.nl>
Diffstat (limited to 'plugin/federation/kubernetes_api_test.go')
-rw-r--r-- | plugin/federation/kubernetes_api_test.go | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/plugin/federation/kubernetes_api_test.go b/plugin/federation/kubernetes_api_test.go index 4b62605d1..35b058b07 100644 --- a/plugin/federation/kubernetes_api_test.go +++ b/plugin/federation/kubernetes_api_test.go @@ -3,7 +3,6 @@ package federation import ( "github.com/coredns/coredns/plugin/kubernetes" "github.com/coredns/coredns/plugin/kubernetes/object" - "github.com/coredns/coredns/plugin/pkg/watch" api "k8s.io/api/core/v1" meta "k8s.io/apimachinery/pkg/apis/meta/v1" @@ -19,9 +18,6 @@ func (APIConnFederationTest) Stop() error { return func (APIConnFederationTest) SvcIndexReverse(string) []*object.Service { return nil } func (APIConnFederationTest) EpIndexReverse(string) []*object.Endpoints { return nil } func (APIConnFederationTest) Modified() int64 { return 0 } -func (APIConnFederationTest) SetWatchChan(watch.Chan) {} -func (APIConnFederationTest) Watch(string) error { return nil } -func (APIConnFederationTest) StopWatching(string) {} func (APIConnFederationTest) PodIndex(string) []*object.Pod { return []*object.Pod{ |