mirror of https://github.com/hashicorp/consul
8233303876
Adjust type + field names for ComputedExportedServices The existing type and field names in `ComputedExportedServices` are confusing to work with. For example, the mechanics of looping through services and their consumers wind up being: ```go // The field name here doesn't reflect what is actually at each index of the list for _, service := range exportedServices.Consumers { for _, consumer := range service.Consumers { // The prefix matching the type here causes stutter when reading and // isn't consistent with naming conventions for tenancy in pbresource tenancy := consumer.ConsumerTenancy } } ``` |
||
---|---|---|
.. | ||
annotations/ratelimit | ||
pbacl | ||
pbauth/v2beta1 | ||
pbcatalog/v2beta1 | ||
pbconnectca | ||
pbdataplane | ||
pbdns | ||
pbmesh/v2beta1 | ||
pbmulticluster/v2beta1 | ||
pbresource | ||
pbserverdiscovery | ||
pbtenancy/v2beta1 | ||
LICENSE | ||
buf.gen.yaml | ||
buf.lock | ||
buf.yaml | ||
go.mod | ||
go.sum |