public abstract class VirtualHostDiscoveryService extends Object implements com.google.protobuf.Service
Virtual Host Discovery Service (VHDS) is used to dynamically update the list of virtual hosts for a given RouteConfiguration. If VHDS is configured a virtual host list update will be triggered during the processing of an HTTP request if a route for the request cannot be resolved. The :ref:`resource_names_subscribe <envoy_api_field_DeltaDiscoveryRequest.resource_names_subscribe>` field contains a list of virtual host names or aliases to track. The contents of an alias would be the contents of a *host* or *authority* header used to make an http request. An xDS server will match an alias to a virtual host based on the content of :ref:`domains' <envoy_api_field_route.VirtualHost.domains>` field. The *resource_names_unsubscribe* field contains a list of virtual host names that have been :ref:`unsubscribed <xds_protocol_unsubscribe>` from the routing table associated with the RouteConfiguration.Protobuf service
envoy.api.v2.VirtualHostDiscoveryService| Modifier and Type | Class and Description |
|---|---|
static interface |
VirtualHostDiscoveryService.BlockingInterface |
static interface |
VirtualHostDiscoveryService.Interface |
static class |
VirtualHostDiscoveryService.Stub |
| Modifier | Constructor and Description |
|---|---|
protected |
VirtualHostDiscoveryService() |
| Modifier and Type | Method and Description |
|---|---|
void |
callMethod(com.google.protobuf.Descriptors.MethodDescriptor method,
com.google.protobuf.RpcController controller,
com.google.protobuf.Message request,
com.google.protobuf.RpcCallback<com.google.protobuf.Message> done) |
abstract void |
deltaVirtualHosts(com.google.protobuf.RpcController controller,
DeltaDiscoveryRequest request,
com.google.protobuf.RpcCallback<DeltaDiscoveryResponse> done)
rpc DeltaVirtualHosts(stream .envoy.api.v2.DeltaDiscoveryRequest) returns (stream .envoy.api.v2.DeltaDiscoveryResponse); |
static com.google.protobuf.Descriptors.ServiceDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.ServiceDescriptor |
getDescriptorForType() |
com.google.protobuf.Message |
getRequestPrototype(com.google.protobuf.Descriptors.MethodDescriptor method) |
com.google.protobuf.Message |
getResponsePrototype(com.google.protobuf.Descriptors.MethodDescriptor method) |
static VirtualHostDiscoveryService.BlockingInterface |
newBlockingStub(com.google.protobuf.BlockingRpcChannel channel) |
static com.google.protobuf.BlockingService |
newReflectiveBlockingService(VirtualHostDiscoveryService.BlockingInterface impl) |
static com.google.protobuf.Service |
newReflectiveService(VirtualHostDiscoveryService.Interface impl) |
static VirtualHostDiscoveryService.Stub |
newStub(com.google.protobuf.RpcChannel channel) |
public static com.google.protobuf.Service newReflectiveService(VirtualHostDiscoveryService.Interface impl)
public static com.google.protobuf.BlockingService newReflectiveBlockingService(VirtualHostDiscoveryService.BlockingInterface impl)
public abstract void deltaVirtualHosts(com.google.protobuf.RpcController controller,
DeltaDiscoveryRequest request,
com.google.protobuf.RpcCallback<DeltaDiscoveryResponse> done)
rpc DeltaVirtualHosts(stream .envoy.api.v2.DeltaDiscoveryRequest) returns (stream .envoy.api.v2.DeltaDiscoveryResponse);public static final com.google.protobuf.Descriptors.ServiceDescriptor getDescriptor()
public final com.google.protobuf.Descriptors.ServiceDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Servicepublic final void callMethod(com.google.protobuf.Descriptors.MethodDescriptor method,
com.google.protobuf.RpcController controller,
com.google.protobuf.Message request,
com.google.protobuf.RpcCallback<com.google.protobuf.Message> done)
callMethod in interface com.google.protobuf.Servicepublic final com.google.protobuf.Message getRequestPrototype(com.google.protobuf.Descriptors.MethodDescriptor method)
getRequestPrototype in interface com.google.protobuf.Servicepublic final com.google.protobuf.Message getResponsePrototype(com.google.protobuf.Descriptors.MethodDescriptor method)
getResponsePrototype in interface com.google.protobuf.Servicepublic static VirtualHostDiscoveryService.Stub newStub(com.google.protobuf.RpcChannel channel)
public static VirtualHostDiscoveryService.BlockingInterface newBlockingStub(com.google.protobuf.BlockingRpcChannel channel)
Copyright © 2018–2021 The Envoy Project. All rights reserved.