leds.proto 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. syntax = "proto3";
  2. package envoy.service.endpoint.v3;
  3. import "envoy/service/discovery/v3/discovery.proto";
  4. import "envoy/annotations/resource.proto";
  5. import "udpa/annotations/status.proto";
  6. option java_package = "io.envoyproxy.envoy.service.endpoint.v3";
  7. option java_outer_classname = "LedsProto";
  8. option java_multiple_files = true;
  9. option go_package = "github.com/envoyproxy/go-control-plane/envoy/service/endpoint/v3;endpointv3";
  10. option java_generic_services = true;
  11. option (udpa.annotations.file_status).package_version_status = ACTIVE;
  12. // [#not-implemented-hide:]
  13. // [#protodoc-title: LEDS]
  14. // Locality-Endpoint discovery
  15. // [#comment:TODO(adisuissa): Link to unified matching docs:
  16. // :ref:`architecture overview<arch_overview_service_discovery_types_leds>`]
  17. service LocalityEndpointDiscoveryService {
  18. option (envoy.annotations.resource).type = "envoy.config.endpoint.v3.LbEndpoint";
  19. // State-of-the-World (DiscoveryRequest) and REST are not supported.
  20. // The resource_names_subscribe resource_names_unsubscribe fields in DeltaDiscoveryRequest
  21. // specify a list of glob collections to subscribe to updates for.
  22. rpc DeltaLocalityEndpoints(stream discovery.v3.DeltaDiscoveryRequest)
  23. returns (stream discovery.v3.DeltaDiscoveryResponse) {
  24. }
  25. }
  26. // [#not-implemented-hide:] Not configuration. Workaround c++ protobuf issue with importing
  27. // services: https://github.com/google/protobuf/issues/4221 and protoxform to upgrade the file.
  28. message LedsDummy {
  29. }