aboutsummaryrefslogtreecommitdiff
path: root/plugin/kubernetes
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/kubernetes')
-rw-r--r--plugin/kubernetes/handler.go4
-rw-r--r--plugin/kubernetes/handler_pod_disabled_test.go3
-rw-r--r--plugin/kubernetes/handler_pod_insecure_test.go3
-rw-r--r--plugin/kubernetes/handler_pod_verified_test.go3
-rw-r--r--plugin/kubernetes/handler_test.go3
-rw-r--r--plugin/kubernetes/kubernetes_apex_test.go3
-rw-r--r--plugin/kubernetes/reverse_test.go3
-rw-r--r--plugin/kubernetes/xfr.go3
-rw-r--r--plugin/kubernetes/xfr_test.go3
9 files changed, 10 insertions, 18 deletions
diff --git a/plugin/kubernetes/handler.go b/plugin/kubernetes/handler.go
index 680b400d3..2aaf96c46 100644
--- a/plugin/kubernetes/handler.go
+++ b/plugin/kubernetes/handler.go
@@ -1,12 +1,12 @@
package kubernetes
import (
+ "context"
+
"github.com/coredns/coredns/plugin"
"github.com/coredns/coredns/plugin/pkg/dnsutil"
"github.com/coredns/coredns/request"
- "context"
-
"github.com/miekg/dns"
)
diff --git a/plugin/kubernetes/handler_pod_disabled_test.go b/plugin/kubernetes/handler_pod_disabled_test.go
index f61f23305..dc1f1083f 100644
--- a/plugin/kubernetes/handler_pod_disabled_test.go
+++ b/plugin/kubernetes/handler_pod_disabled_test.go
@@ -1,13 +1,12 @@
package kubernetes
import (
+ "context"
"testing"
"github.com/coredns/coredns/plugin/pkg/dnstest"
"github.com/coredns/coredns/plugin/test"
- "context"
-
"github.com/miekg/dns"
)
diff --git a/plugin/kubernetes/handler_pod_insecure_test.go b/plugin/kubernetes/handler_pod_insecure_test.go
index e14f0e73e..160ba451d 100644
--- a/plugin/kubernetes/handler_pod_insecure_test.go
+++ b/plugin/kubernetes/handler_pod_insecure_test.go
@@ -1,13 +1,12 @@
package kubernetes
import (
+ "context"
"testing"
"github.com/coredns/coredns/plugin/pkg/dnstest"
"github.com/coredns/coredns/plugin/test"
- "context"
-
"github.com/miekg/dns"
)
diff --git a/plugin/kubernetes/handler_pod_verified_test.go b/plugin/kubernetes/handler_pod_verified_test.go
index e8b3b65a3..c2b733280 100644
--- a/plugin/kubernetes/handler_pod_verified_test.go
+++ b/plugin/kubernetes/handler_pod_verified_test.go
@@ -1,13 +1,12 @@
package kubernetes
import (
+ "context"
"testing"
"github.com/coredns/coredns/plugin/pkg/dnstest"
"github.com/coredns/coredns/plugin/test"
- "context"
-
"github.com/miekg/dns"
)
diff --git a/plugin/kubernetes/handler_test.go b/plugin/kubernetes/handler_test.go
index 0f210396e..c61f67544 100644
--- a/plugin/kubernetes/handler_test.go
+++ b/plugin/kubernetes/handler_test.go
@@ -1,14 +1,13 @@
package kubernetes
import (
+ "context"
"testing"
"time"
"github.com/coredns/coredns/plugin/pkg/dnstest"
"github.com/coredns/coredns/plugin/test"
- "context"
-
"github.com/miekg/dns"
api "k8s.io/api/core/v1"
meta "k8s.io/apimachinery/pkg/apis/meta/v1"
diff --git a/plugin/kubernetes/kubernetes_apex_test.go b/plugin/kubernetes/kubernetes_apex_test.go
index f923da51d..da408472f 100644
--- a/plugin/kubernetes/kubernetes_apex_test.go
+++ b/plugin/kubernetes/kubernetes_apex_test.go
@@ -1,13 +1,12 @@
package kubernetes
import (
+ "context"
"testing"
"github.com/coredns/coredns/plugin/pkg/dnstest"
"github.com/coredns/coredns/plugin/test"
- "context"
-
"github.com/miekg/dns"
)
diff --git a/plugin/kubernetes/reverse_test.go b/plugin/kubernetes/reverse_test.go
index b43b81422..2cf41de1a 100644
--- a/plugin/kubernetes/reverse_test.go
+++ b/plugin/kubernetes/reverse_test.go
@@ -1,13 +1,12 @@
package kubernetes
import (
+ "context"
"testing"
"github.com/coredns/coredns/plugin/pkg/dnstest"
"github.com/coredns/coredns/plugin/test"
- "context"
-
"github.com/miekg/dns"
api "k8s.io/api/core/v1"
meta "k8s.io/apimachinery/pkg/apis/meta/v1"
diff --git a/plugin/kubernetes/xfr.go b/plugin/kubernetes/xfr.go
index b010494db..df1058dda 100644
--- a/plugin/kubernetes/xfr.go
+++ b/plugin/kubernetes/xfr.go
@@ -1,6 +1,7 @@
package kubernetes
import (
+ "context"
"math"
"net"
"strings"
@@ -10,8 +11,6 @@ import (
"github.com/coredns/coredns/plugin/pkg/log"
"github.com/coredns/coredns/request"
- "context"
-
"github.com/miekg/dns"
api "k8s.io/api/core/v1"
)
diff --git a/plugin/kubernetes/xfr_test.go b/plugin/kubernetes/xfr_test.go
index 83602c112..6ce7e789f 100644
--- a/plugin/kubernetes/xfr_test.go
+++ b/plugin/kubernetes/xfr_test.go
@@ -1,11 +1,10 @@
package kubernetes
import (
+ "context"
"strings"
"testing"
- "context"
-
"github.com/coredns/coredns/plugin/pkg/dnstest"
"github.com/coredns/coredns/plugin/test"
api "k8s.io/api/core/v1"