mirror of https://github.com/cncf/udpa.git
Fixes https://github.com/cncf/xds/issues/7 This follows a path taken by the protobuf team for the protobuf v2 migration. In go, protobuf generated files are singletons. Its impossible to import cncf/xds and cncf/udpa at the same time as a result. grpc/grpc-go is on cncf/udpa at the moment, which means that likely almost all others are as well. A quick github query shows 350 users of cncf/udpa and 50 of cncf/xds. One option is to have grpc-go update and hope others follow (https://github.com/grpc/grpc-go/pull/4812). However, this would introduce churn for users. Instead, we can do this approach which should allow seemles interoperability between the two repos. I have tested this on istio.io/istio, https://github.com/howardjohn/cncf-udpa-to-xds-repro, and grpc/grpc-go; all tests pass in these repos. |
||
|---|---|---|
| .. | ||
| udpa | ||
| xds/core/v3 | ||
| README.md | ||
| go.mod | ||
README.md
Description
This library has been deprecated in favor of github.com/cncf/xds/go. All users are recommended to switch their imports.
In the meantime, this library is frozen and has all previously public types aliased to point to github.com/cncf/xds/go.