linkerd2/controller/service-mirror
Alex Leong 9d3cf6ee4d
Move most service-mirror code out of cmd package (#4901)
All of the code for the service mirror controller lives in the `linkerd/linkerd2/controller/cmd` package.  It is typical for control plane components to only have a `main.go` entrypoint in the cmd package.  This can sometimes make it hard to find the service mirror code since I wouldn't expect it to be in the cmd package.

We move the majority of the code to a dedicated controller package, leaving only main.go in the cmd package.  This is purely organizational; no behavior change is expected.

Signed-off-by: Alex Leong <alex@buoyant.io>
2020-08-27 14:17:18 -07:00
..
cluster_watcher.go Move most service-mirror code out of cmd package (#4901) 2020-08-27 14:17:18 -07:00
cluster_watcher_mirroring_test.go Move most service-mirror code out of cmd package (#4901) 2020-08-27 14:17:18 -07:00
cluster_watcher_test_util.go Move most service-mirror code out of cmd package (#4901) 2020-08-27 14:17:18 -07:00
events_formatting.go Move most service-mirror code out of cmd package (#4901) 2020-08-27 14:17:18 -07:00
jittered_ticker.go Move most service-mirror code out of cmd package (#4901) 2020-08-27 14:17:18 -07:00
metrics.go Move most service-mirror code out of cmd package (#4901) 2020-08-27 14:17:18 -07:00
probe_worker.go Move most service-mirror code out of cmd package (#4901) 2020-08-27 14:17:18 -07:00