Documentation ¶
Index ¶
- Variables
- type FilterConfig
- func (*FilterConfig) Descriptor() ([]byte, []int)
- func (m *FilterConfig) GetContentType() string
- func (m *FilterConfig) GetWithholdGrpcFrames() bool
- func (m *FilterConfig) Marshal() (dAtA []byte, err error)
- func (m *FilterConfig) MarshalTo(dAtA []byte) (int, error)
- func (*FilterConfig) ProtoMessage()
- func (m *FilterConfig) Reset()
- func (m *FilterConfig) Size() (n int)
- func (m *FilterConfig) String() string
- func (m *FilterConfig) Unmarshal(dAtA []byte) error
- func (m *FilterConfig) Validate() error
- func (m *FilterConfig) XXX_DiscardUnknown()
- func (m *FilterConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FilterConfig) XXX_Merge(src proto.Message)
- func (m *FilterConfig) XXX_Size() int
- func (m *FilterConfig) XXX_Unmarshal(b []byte) error
- type FilterConfigValidationError
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthConfig = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowConfig = fmt.Errorf("proto: integer overflow") )
Functions ¶
This section is empty.
Types ¶
type FilterConfig ¶
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
gRPC reverse bridge filter configuration
func (*FilterConfig) Descriptor ¶
func (*FilterConfig) Descriptor() ([]byte, []int)
func (*FilterConfig) GetContentType ¶
func (m *FilterConfig) GetContentType() string
func (*FilterConfig) GetWithholdGrpcFrames ¶
func (m *FilterConfig) GetWithholdGrpcFrames() bool
func (*FilterConfig) Marshal ¶
func (m *FilterConfig) Marshal() (dAtA []byte, err error)
func (*FilterConfig) ProtoMessage ¶
func (*FilterConfig) ProtoMessage()
func (*FilterConfig) Reset ¶
func (m *FilterConfig) Reset()
func (*FilterConfig) Size ¶
func (m *FilterConfig) Size() (n int)
func (*FilterConfig) String ¶
func (m *FilterConfig) String() string
func (*FilterConfig) Unmarshal ¶
func (m *FilterConfig) Unmarshal(dAtA []byte) error
func (*FilterConfig) Validate ¶
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.
func (*FilterConfig) XXX_DiscardUnknown ¶
func (m *FilterConfig) XXX_DiscardUnknown()
func (*FilterConfig) XXX_Marshal ¶
func (m *FilterConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FilterConfig) XXX_Merge ¶
func (m *FilterConfig) XXX_Merge(src proto.Message)
func (*FilterConfig) XXX_Size ¶
func (m *FilterConfig) XXX_Size() int
func (*FilterConfig) XXX_Unmarshal ¶
func (m *FilterConfig) XXX_Unmarshal(b []byte) error
type FilterConfigValidationError ¶
FilterConfigValidationError is the validation error returned by FilterConfig.Validate if the designated constraints aren't met.
func (FilterConfigValidationError) Error ¶
func (e FilterConfigValidationError) Error() string
Error satisfies the builtin error interface
Click to show internal directories.
Click to hide internal directories.