consul/internal
Matt Keeler 5698353652
Resource Hook Pre-Decode Utilities (#18548)
Add some generic type hook wrappers to first decode the data

There seems to be a pattern for Validation, Mutation and Write Authorization hooks where they first need to decode the Any data before doing the domain specific work.

This PR introduces 3 new functions to generate wrappers around the other hooks to pre-decode the data into a DecodedResource and pass that in instead of the original pbresource.Resource.

This PR also updates the various catalog data types to use the new hook generators.
2023-10-26 16:39:06 -04:00
..
auth Resource Hook Pre-Decode Utilities (#18548) 2023-10-26 16:39:06 -04:00
catalog Resource Hook Pre-Decode Utilities (#18548) 2023-10-26 16:39:06 -04:00
controller Prevent circular dependencies between v2 resources and generate a mermaid diagram with their dependencies (#19230) 2023-10-18 10:55:32 -04:00
go-sso [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
mesh Resource Hook Pre-Decode Utilities (#18548) 2023-10-26 16:39:06 -04:00
multicluster Net 5875 - Create the Exported Services Resources (#19117) 2023-10-26 19:34:15 +05:30
protohcl protohcl: allow attribute syntax for all map fields (#19108) 2023-10-06 19:07:08 -04:00
protoutil mesh: compute more of the xRoute features into ComputedRoutes (#18980) 2023-09-22 16:13:24 -05:00
radix [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
resource Resource Hook Pre-Decode Utilities (#18548) 2023-10-26 16:39:06 -04:00
resourcehcl mesh: rename Upstreams and UpstreamsConfiguration to Destinations* (#18995) 2023-09-25 12:03:45 -06:00
storage resource: Require scope for resource registration (#18635) 2023-09-01 09:44:53 -05:00
tenancy Resource Hook Pre-Decode Utilities (#18548) 2023-10-26 16:39:06 -04:00
testing/golden NET-5397 - wire up destination golden tests from sidecar-proxy controller for xds controller and xdsv2 (#19167) 2023-10-24 09:33:23 -06:00
tools Remove old build tags (#19128) 2023-10-10 10:58:06 -04:00