import "github.com/envoyproxy/go-control-plane/envoy/config/filter/http/grpc_http1_reverse_bridge/v2alpha1"
config.pb.go config.pb.validate.go
var File_envoy_config_filter_http_grpc_http1_reverse_bridge_v2alpha1_config_proto protoreflect.FileDescriptor
type FilterConfig struct { // The content-type to pass to the upstream when the gRPC bridge filter is applied. // The filter will also validate that the upstream responds with the same content type. ContentType string `protobuf:"bytes,1,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"` // If true, Envoy will assume that the upstream doesn't understand gRPC frames and // strip the gRPC frame from the request, and add it back in to the response. This will // hide the gRPC semantics from the upstream, allowing it to receive and respond with a // simple binary encoded protobuf. WithholdGrpcFrames bool `protobuf:"varint,2,opt,name=withhold_grpc_frames,json=withholdGrpcFrames,proto3" json:"withhold_grpc_frames,omitempty"` // contains filtered or unexported fields }
gRPC reverse bridge filter configuration
func (*FilterConfig) Descriptor() ([]byte, []int)
Deprecated: Use FilterConfig.ProtoReflect.Descriptor instead.
func (x *FilterConfig) GetContentType() string
func (x *FilterConfig) GetWithholdGrpcFrames() bool
func (*FilterConfig) ProtoMessage()
func (x *FilterConfig) ProtoReflect() protoreflect.Message
func (x *FilterConfig) Reset()
func (x *FilterConfig) String() string
func (m *FilterConfig) Validate() error
Validate checks the field values on FilterConfig with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type FilterConfigPerRoute struct { // If true, disables gRPC reverse bridge filter for this particular vhost or route. // If disabled is specified in multiple per-filter-configs, the most specific one will be used. Disabled bool `protobuf:"varint,1,opt,name=disabled,proto3" json:"disabled,omitempty"` // contains filtered or unexported fields }
gRPC reverse bridge filter configuration per virtualhost/route/weighted-cluster level.
func (*FilterConfigPerRoute) Descriptor() ([]byte, []int)
Deprecated: Use FilterConfigPerRoute.ProtoReflect.Descriptor instead.
func (x *FilterConfigPerRoute) GetDisabled() bool
func (*FilterConfigPerRoute) ProtoMessage()
func (x *FilterConfigPerRoute) ProtoReflect() protoreflect.Message
func (x *FilterConfigPerRoute) Reset()
func (x *FilterConfigPerRoute) String() string
func (m *FilterConfigPerRoute) Validate() error
Validate checks the field values on FilterConfigPerRoute with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type FilterConfigPerRouteValidationError struct {
// contains filtered or unexported fields
}
FilterConfigPerRouteValidationError is the validation error returned by FilterConfigPerRoute.Validate if the designated constraints aren't met.
func (e FilterConfigPerRouteValidationError) Cause() error
Cause function returns cause value.
func (e FilterConfigPerRouteValidationError) Error() string
Error satisfies the builtin error interface
func (e FilterConfigPerRouteValidationError) ErrorName() string
ErrorName returns error name.
func (e FilterConfigPerRouteValidationError) Field() string
Field function returns field value.
func (e FilterConfigPerRouteValidationError) Key() bool
Key function returns key value.
func (e FilterConfigPerRouteValidationError) Reason() string
Reason function returns reason value.
type FilterConfigValidationError struct {
// contains filtered or unexported fields
}
FilterConfigValidationError is the validation error returned by FilterConfig.Validate if the designated constraints aren't met.
func (e FilterConfigValidationError) Cause() error
Cause function returns cause value.
func (e FilterConfigValidationError) Error() string
Error satisfies the builtin error interface
func (e FilterConfigValidationError) ErrorName() string
ErrorName returns error name.
func (e FilterConfigValidationError) Field() string
Field function returns field value.
func (e FilterConfigValidationError) Key() bool
Key function returns key value.
func (e FilterConfigValidationError) Reason() string
Reason function returns reason value.
Package envoy_config_filter_http_grpc_http1_reverse_bridge_v2alpha1 imports 18 packages (graph) and is imported by 6 packages. Updated 2021-01-08. Refresh now. Tools for package owners.