Closed minwoox closed 3 months ago
Motivation: We need APIs for creating, updating and deleting xDS resources.
Modifications:
xds_{resource}.proto
XdsClusterService
XdsEndpointService
XdsListenerService
XdsRouteService
Xds{Resource}ServiceImplBase
parent
groups/{group}
{resource}_id
groups/{group}/{resources}/{resource}_id
groups/foo/clusters/echo-cluster
ClusterLoadAssignment
groups/foo/endpoints/echo-cluster
{resource}.name
Result:
Motivation: We need APIs for creating, updating and deleting xDS resources.
Modifications:
xds_{resource}.proto
files that defines APIs for xDS resources.XdsClusterService
,XdsEndpointService
,XdsListenerService
andXdsRouteService
.Xds{Resource}ServiceImplBase
generated from the proto files.parent
(groups/{group}
) and{resource}_id
.groups/{group}/{resources}/{resource}_id
. e.ggroups/foo/clusters/echo-cluster
ClusterLoadAssignment
does not have name field.groups/foo/endpoints/echo-cluster
->groups/foo/clusters/echo-cluster
{resource}.name
for identifying the resource.Result: