linkerd2/controller/k8s
Andrew Seigner 25e462352d
lint: Enable goimports (#2366)
goimports checks import lines, adding missing ones and removing
unreferenced ones:
https://godoc.org/golang.org/x/tools/cmd/goimports

It also requires named imports for packages whose
import paths don't match their package names:
- https://github.com/golang/go/issues/28428
- https://go-review.googlesource.com/c/tools/+/145699/

Also standardized named imports of common Kubernetes packaages.

Part of #217

Signed-off-by: Andrew Seigner <siggy@buoyant.io>
2019-02-25 15:51:10 -08:00
..
api.go lint: Enable goimports (#2366) 2019-02-25 15:51:10 -08:00
api_test.go lint: Enable goimports (#2366) 2019-02-25 15:51:10 -08:00
clientset.go Instrument k8s clients (#2243) 2019-02-18 09:10:02 -08:00
test_helper.go Add statefulsets to the dashboard and CLI (#2234) 2019-02-08 15:37:44 -08:00