Grpc

Package: grpc.options.gloo.solo.io

Types:

Source File: github.com/solo-io/gloo/projects/gloo/api/v1/options/grpc/grpc.proto


ServiceSpec

Service spec describing GRPC upstreams. This will usually be filled automatically via function discovery (if the upstream supports reflection). If your upstream service is a GRPC service, use this service spec (an empty spec is fine), to make sure that traffic to it is routed with http2. Deprecated: prefer using GrpcJsonTranscoder

"descriptors": bytes
"grpcServices": []grpc.options.gloo.solo.io.ServiceSpec.GrpcService

Field Type Description
descriptors bytes Descriptors that contain information of the services listed below. this is a serialized google.protobuf.FileDescriptorSet. These will be discovered if FDS is enabled and may be modified by Gloo.
grpcServices []grpc.options.gloo.solo.io.ServiceSpec.GrpcService List of services used by this upstream. These services must be present in the descriptors.

GrpcService

Describes a grpc service

"packageName": string
"serviceName": string
"functionNames": []string

Field Type Description
packageName string The package of this service.
serviceName string The service name of this service.
functionNames []string The functions available in this service.

DestinationSpec

This is only for upstream with Grpc service spec. Deprecated: prefer providing descriptors on Upstream in GrpcJsonTranscoder

"package": string
"service": string
"function": string
"parameters": .transformation.options.gloo.solo.io.Parameters

Field Type Description
package string The proto package of the function.
service string The name of the service of the function.
function string The name of the function.
parameters .transformation.options.gloo.solo.io.Parameters Parameters describe how to extract the function parameters from the request.