consul/internal/mesh
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
..
internal Resource Hook Pre-Decode Utilities (#18548) 2023-10-26 16:39:06 -04:00
proxy-snapshot Run copyright after running deep-copy as part of the Makefile/CI (#18741) 2023-09-11 13:50:52 -04:00
proxy-tracker Fix Traffic Permissions Default Deny (#19028) 2023-10-04 09:58:28 -04:00
exports.go mesh: sidecar proxy controller improvements (#19083) 2023-10-12 13:20:13 -06:00