diff options
author | 2019-02-11 14:46:53 +0000 | |
---|---|---|
committer | 2019-02-11 14:46:53 +0000 | |
commit | 29cb00aada276ad99e4f3aef380de9e68f2ebae8 (patch) | |
tree | 5f8425b59111f1154bd87bfa8917f6add807cace /plugin/kubernetes/external_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/kubernetes/external_test.go')
-rw-r--r-- | plugin/kubernetes/external_test.go | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/plugin/kubernetes/external_test.go b/plugin/kubernetes/external_test.go index 3636a176e..d3762961a 100644 --- a/plugin/kubernetes/external_test.go +++ b/plugin/kubernetes/external_test.go @@ -5,7 +5,6 @@ import ( "github.com/coredns/coredns/plugin/etcd/msg" "github.com/coredns/coredns/plugin/kubernetes/object" - "github.com/coredns/coredns/plugin/pkg/watch" "github.com/coredns/coredns/plugin/test" "github.com/coredns/coredns/request" @@ -85,9 +84,6 @@ func (external) Stop() error { return nil } func (external) EpIndexReverse(string) []*object.Endpoints { return nil } func (external) SvcIndexReverse(string) []*object.Service { return nil } func (external) Modified() int64 { return 0 } -func (external) SetWatchChan(watch.Chan) {} -func (external) Watch(string) error { return nil } -func (external) StopWatching(string) {} func (external) EpIndex(s string) []*object.Endpoints { return nil } func (external) EndpointsList() []*object.Endpoints { return nil } func (external) GetNodeByName(name string) (*api.Node, error) { return nil, nil } |