diff options
Diffstat (limited to 'plugin/kubernetes/ns_test.go')
-rw-r--r-- | plugin/kubernetes/ns_test.go | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/plugin/kubernetes/ns_test.go b/plugin/kubernetes/ns_test.go index 20dfef1ec..f179231a9 100644 --- a/plugin/kubernetes/ns_test.go +++ b/plugin/kubernetes/ns_test.go @@ -9,9 +9,13 @@ import ( type APIConnTest struct{} -func (APIConnTest) Run() { return } -func (APIConnTest) Stop() error { return nil } -func (APIConnTest) PodIndex(string) []*api.Pod { return nil } +func (APIConnTest) Run() { return } +func (APIConnTest) Stop() error { return nil } +func (APIConnTest) PodIndex(string) []*api.Pod { return nil } +func (APIConnTest) SvcIndex(string) []*api.Service { return nil } +func (APIConnTest) SvcIndexReverse(string) []*api.Service { return nil } +func (APIConnTest) EpIndex(string) []*api.Endpoints { return nil } +func (APIConnTest) EndpointsList() []*api.Endpoints { return nil } func (APIConnTest) ServiceList() []*api.Service { svcs := []*api.Service{ @@ -28,7 +32,7 @@ func (APIConnTest) ServiceList() []*api.Service { return svcs } -func (APIConnTest) EndpointsList() []*api.Endpoints { +func (APIConnTest) EpIndexReverse(string) []*api.Endpoints { eps := []*api.Endpoints{ { Subsets: []api.EndpointSubset{ |