Documentation ¶
Index ¶
- Variables
- type ResponseMap
- func (*ResponseMap) Descriptor() ([]byte, []int)deprecated
- func (x *ResponseMap) GetBodyFormat() *v31.SubstitutionFormatString
- func (x *ResponseMap) GetMappers() []*ResponseMapper
- func (*ResponseMap) ProtoMessage()
- func (x *ResponseMap) ProtoReflect() protoreflect.Message
- func (x *ResponseMap) Reset()
- func (x *ResponseMap) String() string
- func (m *ResponseMap) Validate() error
- type ResponseMapPerRoute
- func (*ResponseMapPerRoute) Descriptor() ([]byte, []int)deprecated
- func (x *ResponseMapPerRoute) GetDisabled() bool
- func (m *ResponseMapPerRoute) GetOverride() isResponseMapPerRoute_Override
- func (x *ResponseMapPerRoute) GetResponseMap() *ResponseMap
- func (*ResponseMapPerRoute) ProtoMessage()
- func (x *ResponseMapPerRoute) ProtoReflect() protoreflect.Message
- func (x *ResponseMapPerRoute) Reset()
- func (x *ResponseMapPerRoute) String() string
- func (m *ResponseMapPerRoute) Validate() error
- type ResponseMapPerRouteValidationError
- func (e ResponseMapPerRouteValidationError) Cause() error
- func (e ResponseMapPerRouteValidationError) Error() string
- func (e ResponseMapPerRouteValidationError) ErrorName() string
- func (e ResponseMapPerRouteValidationError) Field() string
- func (e ResponseMapPerRouteValidationError) Key() bool
- func (e ResponseMapPerRouteValidationError) Reason() string
- type ResponseMapPerRoute_Disabled
- type ResponseMapPerRoute_ResponseMap
- type ResponseMapValidationError
- func (e ResponseMapValidationError) Cause() error
- func (e ResponseMapValidationError) Error() string
- func (e ResponseMapValidationError) ErrorName() string
- func (e ResponseMapValidationError) Field() string
- func (e ResponseMapValidationError) Key() bool
- func (e ResponseMapValidationError) Reason() string
- type ResponseMapper
- func (*ResponseMapper) Descriptor() ([]byte, []int)deprecated
- func (x *ResponseMapper) GetBody() *v31.DataSource
- func (x *ResponseMapper) GetBodyFormatOverride() *v31.SubstitutionFormatString
- func (x *ResponseMapper) GetFilter() *v3.AccessLogFilter
- func (x *ResponseMapper) GetStatusCode() *wrappers.UInt32Value
- func (*ResponseMapper) ProtoMessage()
- func (x *ResponseMapper) ProtoReflect() protoreflect.Message
- func (x *ResponseMapper) Reset()
- func (x *ResponseMapper) String() string
- func (m *ResponseMapper) Validate() error
- type ResponseMapperValidationError
- func (e ResponseMapperValidationError) Cause() error
- func (e ResponseMapperValidationError) Error() string
- func (e ResponseMapperValidationError) ErrorName() string
- func (e ResponseMapperValidationError) Field() string
- func (e ResponseMapperValidationError) Key() bool
- func (e ResponseMapperValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var File_envoy_extensions_filters_http_response_map_v3_response_map_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ResponseMap ¶
type ResponseMap struct { Mappers []*ResponseMapper `protobuf:"bytes,1,rep,name=mappers,proto3" json:"mappers,omitempty"` BodyFormat *v31.SubstitutionFormatString `protobuf:"bytes,2,opt,name=body_format,json=bodyFormat,proto3" json:"body_format,omitempty"` // contains filtered or unexported fields }
func (*ResponseMap) Descriptor
deprecated
func (*ResponseMap) Descriptor() ([]byte, []int)
Deprecated: Use ResponseMap.ProtoReflect.Descriptor instead.
func (*ResponseMap) GetBodyFormat ¶
func (x *ResponseMap) GetBodyFormat() *v31.SubstitutionFormatString
func (*ResponseMap) GetMappers ¶
func (x *ResponseMap) GetMappers() []*ResponseMapper
func (*ResponseMap) ProtoMessage ¶
func (*ResponseMap) ProtoMessage()
func (*ResponseMap) ProtoReflect ¶
func (x *ResponseMap) ProtoReflect() protoreflect.Message
func (*ResponseMap) Reset ¶
func (x *ResponseMap) Reset()
func (*ResponseMap) String ¶
func (x *ResponseMap) String() string
func (*ResponseMap) Validate ¶
func (m *ResponseMap) Validate() error
Validate checks the field values on ResponseMap with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ResponseMapPerRoute ¶
type ResponseMapPerRoute struct { // Types that are assignable to Override: // *ResponseMapPerRoute_Disabled // *ResponseMapPerRoute_ResponseMap Override isResponseMapPerRoute_Override `protobuf_oneof:"override"` // contains filtered or unexported fields }
func (*ResponseMapPerRoute) Descriptor
deprecated
func (*ResponseMapPerRoute) Descriptor() ([]byte, []int)
Deprecated: Use ResponseMapPerRoute.ProtoReflect.Descriptor instead.
func (*ResponseMapPerRoute) GetDisabled ¶
func (x *ResponseMapPerRoute) GetDisabled() bool
func (*ResponseMapPerRoute) GetOverride ¶
func (m *ResponseMapPerRoute) GetOverride() isResponseMapPerRoute_Override
func (*ResponseMapPerRoute) GetResponseMap ¶
func (x *ResponseMapPerRoute) GetResponseMap() *ResponseMap
func (*ResponseMapPerRoute) ProtoMessage ¶
func (*ResponseMapPerRoute) ProtoMessage()
func (*ResponseMapPerRoute) ProtoReflect ¶
func (x *ResponseMapPerRoute) ProtoReflect() protoreflect.Message
func (*ResponseMapPerRoute) Reset ¶
func (x *ResponseMapPerRoute) Reset()
func (*ResponseMapPerRoute) String ¶
func (x *ResponseMapPerRoute) String() string
func (*ResponseMapPerRoute) Validate ¶
func (m *ResponseMapPerRoute) Validate() error
Validate checks the field values on ResponseMapPerRoute with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ResponseMapPerRouteValidationError ¶
type ResponseMapPerRouteValidationError struct {
// contains filtered or unexported fields
}
ResponseMapPerRouteValidationError is the validation error returned by ResponseMapPerRoute.Validate if the designated constraints aren't met.
func (ResponseMapPerRouteValidationError) Cause ¶
func (e ResponseMapPerRouteValidationError) Cause() error
Cause function returns cause value.
func (ResponseMapPerRouteValidationError) Error ¶
func (e ResponseMapPerRouteValidationError) Error() string
Error satisfies the builtin error interface
func (ResponseMapPerRouteValidationError) ErrorName ¶
func (e ResponseMapPerRouteValidationError) ErrorName() string
ErrorName returns error name.
func (ResponseMapPerRouteValidationError) Field ¶
func (e ResponseMapPerRouteValidationError) Field() string
Field function returns field value.
func (ResponseMapPerRouteValidationError) Key ¶
func (e ResponseMapPerRouteValidationError) Key() bool
Key function returns key value.
func (ResponseMapPerRouteValidationError) Reason ¶
func (e ResponseMapPerRouteValidationError) Reason() string
Reason function returns reason value.
type ResponseMapPerRoute_Disabled ¶
type ResponseMapPerRoute_Disabled struct {
Disabled bool `protobuf:"varint,1,opt,name=disabled,proto3,oneof"`
}
type ResponseMapPerRoute_ResponseMap ¶
type ResponseMapPerRoute_ResponseMap struct {
ResponseMap *ResponseMap `protobuf:"bytes,2,opt,name=response_map,json=responseMap,proto3,oneof"`
}
type ResponseMapValidationError ¶
type ResponseMapValidationError struct {
// contains filtered or unexported fields
}
ResponseMapValidationError is the validation error returned by ResponseMap.Validate if the designated constraints aren't met.
func (ResponseMapValidationError) Cause ¶
func (e ResponseMapValidationError) Cause() error
Cause function returns cause value.
func (ResponseMapValidationError) Error ¶
func (e ResponseMapValidationError) Error() string
Error satisfies the builtin error interface
func (ResponseMapValidationError) ErrorName ¶
func (e ResponseMapValidationError) ErrorName() string
ErrorName returns error name.
func (ResponseMapValidationError) Field ¶
func (e ResponseMapValidationError) Field() string
Field function returns field value.
func (ResponseMapValidationError) Key ¶
func (e ResponseMapValidationError) Key() bool
Key function returns key value.
func (ResponseMapValidationError) Reason ¶
func (e ResponseMapValidationError) Reason() string
Reason function returns reason value.
type ResponseMapper ¶
type ResponseMapper struct { Filter *v3.AccessLogFilter `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"` StatusCode *wrappers.UInt32Value `protobuf:"bytes,2,opt,name=status_code,json=statusCode,proto3" json:"status_code,omitempty"` Body *v31.DataSource `protobuf:"bytes,3,opt,name=body,proto3" json:"body,omitempty"` BodyFormatOverride *v31.SubstitutionFormatString `protobuf:"bytes,4,opt,name=body_format_override,json=bodyFormatOverride,proto3" json:"body_format_override,omitempty"` // contains filtered or unexported fields }
func (*ResponseMapper) Descriptor
deprecated
func (*ResponseMapper) Descriptor() ([]byte, []int)
Deprecated: Use ResponseMapper.ProtoReflect.Descriptor instead.
func (*ResponseMapper) GetBody ¶
func (x *ResponseMapper) GetBody() *v31.DataSource
func (*ResponseMapper) GetBodyFormatOverride ¶
func (x *ResponseMapper) GetBodyFormatOverride() *v31.SubstitutionFormatString
func (*ResponseMapper) GetFilter ¶
func (x *ResponseMapper) GetFilter() *v3.AccessLogFilter
func (*ResponseMapper) GetStatusCode ¶
func (x *ResponseMapper) GetStatusCode() *wrappers.UInt32Value
func (*ResponseMapper) ProtoMessage ¶
func (*ResponseMapper) ProtoMessage()
func (*ResponseMapper) ProtoReflect ¶
func (x *ResponseMapper) ProtoReflect() protoreflect.Message
func (*ResponseMapper) Reset ¶
func (x *ResponseMapper) Reset()
func (*ResponseMapper) String ¶
func (x *ResponseMapper) String() string
func (*ResponseMapper) Validate ¶
func (m *ResponseMapper) Validate() error
Validate checks the field values on ResponseMapper with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ResponseMapperValidationError ¶
type ResponseMapperValidationError struct {
// contains filtered or unexported fields
}
ResponseMapperValidationError is the validation error returned by ResponseMapper.Validate if the designated constraints aren't met.
func (ResponseMapperValidationError) Cause ¶
func (e ResponseMapperValidationError) Cause() error
Cause function returns cause value.
func (ResponseMapperValidationError) Error ¶
func (e ResponseMapperValidationError) Error() string
Error satisfies the builtin error interface
func (ResponseMapperValidationError) ErrorName ¶
func (e ResponseMapperValidationError) ErrorName() string
ErrorName returns error name.
func (ResponseMapperValidationError) Field ¶
func (e ResponseMapperValidationError) Field() string
Field function returns field value.
func (ResponseMapperValidationError) Key ¶
func (e ResponseMapperValidationError) Key() bool
Key function returns key value.
func (ResponseMapperValidationError) Reason ¶
func (e ResponseMapperValidationError) Reason() string
Reason function returns reason value.