consul/agent/grpc/public/services/dataplane
Dan Upton e00e3a0bc3
Move ACLResolveResult into acl/resolver package (#13467)
Having this type live in the agent/consul package makes it difficult to
put anything that relies on token resolution (e.g. the new gRPC services)
in separate packages without introducing import cycles.

For example, if package foo imports agent/consul for the ACLResolveResult
type it means that agent/consul cannot import foo to register its service.

We've previously worked around this by wrapping the ACLResolver to
"downgrade" its return type to an acl.Authorizer - aside from the
added complexity, this also loses the resolved identity information.

In the future, we may want to move the whole ACLResolver into the
acl/resolver package. For now, putting the result type there at least,
fixes the immediate import cycle issues.
2022-06-17 10:24:43 +01:00
..
get_envoy_boostrap_params_test.go Move ACLResolveResult into acl/resolver package (#13467) 2022-06-17 10:24:43 +01:00
get_envoy_bootstrap_params.go Migrate from `protoc` to `buf` (#12841) 2022-05-23 10:37:52 -04:00
get_supported_features.go Migrate from `protoc` to `buf` (#12841) 2022-05-23 10:37:52 -04:00
get_supported_features_test.go Move ACLResolveResult into acl/resolver package (#13467) 2022-06-17 10:24:43 +01:00
mock_ACLResolver.go Move ACLResolveResult into acl/resolver package (#13467) 2022-06-17 10:24:43 +01:00
server.go Move ACLResolveResult into acl/resolver package (#13467) 2022-06-17 10:24:43 +01:00
server_test.go Implement the ServerDiscovery.WatchServers gRPC endpoint (#12819) 2022-04-21 12:56:18 -04:00