Skip to content

Get rid of xdsresource.Endpoint struct. #8757

@Pranjali-2501

Description

@Pranjali-2501

We should completely get rid of the xdsresource.Endpoint struct, and encode all the information associated with the endpoint in the resolver.Endpoint struct.

After #8750, xdsresource.Endpoint struct will contain a slice of resolver.Endpoint instead of storing []Address.
And hostname field will be added in resolver.Endpoint.Attributes. Similarly, existing fields like Weight, Hashkey and HealthStatus can also be stored in attributes of resolver.Endpoint.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area: xDSIncludes everything xDS related, including LB policies used with xDS.P2Type: Internal CleanupRefactors, etc

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions