consul/agent/xds
Matt Keeler 973341a592
ACL Authorizer overhaul (#6620)
* ACL Authorizer overhaul

To account for upcoming features every Authorization function can now take an extra *acl.EnterpriseAuthorizerContext. These are unused in OSS and will always be nil.

Additionally the acl package has received some thorough refactoring to enable all of the extra Consul Enterprise specific authorizations including moving sentinel enforcement into the stubbed structs. The Authorizer funcs now return an acl.EnforcementDecision instead of a boolean. This improves the overall interface as it makes multiple Authorizers easily chainable as they now indicate whether they had an authoritative decision or should use some other defaults. A ChainedAuthorizer was added to handle this Authorizer enforcement chain and will never itself return a non-authoritative decision.

* Include stub for extra enterprise rules in the global management policy

* Allow for an upgrade of the global-management policy
2019-10-15 16:58:50 -04:00
..
testdata Expose HTTP-based paths through Connect proxy (#6446) 2019-09-25 20:55:52 -06:00
clusters.go Expose HTTP-based paths through Connect proxy (#6446) 2019-09-25 20:55:52 -06:00
clusters_test.go Expose HTTP-based paths through Connect proxy (#6446) 2019-09-25 20:55:52 -06:00
config.go Expose HTTP-based paths through Connect proxy (#6446) 2019-09-25 20:55:52 -06:00
config_test.go connect: allow overriding envoy listener bind_address (#6033) 2019-07-05 16:06:47 +01:00
endpoints.go connect: generate the full SNI names for discovery targets in the compiler rather than in the xds package (#6340) 2019-08-19 13:03:03 -05:00
endpoints_test.go connect: introduce ExternalSNI field on service-defaults (#6324) 2019-08-19 12:19:44 -05:00
failover_math.go connect: fix failover through a mesh gateway to a remote datacenter (#6259) 2019-08-05 13:30:35 -05:00
failover_math_test.go connect: fix failover through a mesh gateway to a remote datacenter (#6259) 2019-08-05 13:30:35 -05:00
golden_test.go Connect: allow configuring Envoy for L7 Observability (#5558) 2019-04-29 17:27:57 +01:00
listeners.go Expose HTTP-based paths through Connect proxy (#6446) 2019-09-25 20:55:52 -06:00
listeners_test.go Expose HTTP-based paths through Connect proxy (#6446) 2019-09-25 20:55:52 -06:00
naming.go connect: generate the full SNI names for discovery targets in the compiler rather than in the xds package (#6340) 2019-08-19 13:03:03 -05:00
response.go activate most discovery chain features in xDS for envoy (#6024) 2019-07-01 22:10:51 -05:00
routes.go connect: generate the full SNI names for discovery targets in the compiler rather than in the xds package (#6340) 2019-08-19 13:03:03 -05:00
routes_test.go connect: introduce ExternalSNI field on service-defaults (#6324) 2019-08-19 12:19:44 -05:00
server.go ACL Authorizer overhaul (#6620) 2019-10-15 16:58:50 -04:00
server_test.go ACL Authorizer overhaul (#6620) 2019-10-15 16:58:50 -04:00
testing.go Upgrade xDS (go-control-plane) API to support Envoy 1.10. (#5872) 2019-06-07 07:10:43 -05:00
xds.go Update links to envoy docs on xDS protocol (#5871) 2019-06-03 11:03:05 -05:00