Documentation ¶
Overview ¶
Package v2 is a generated protocol buffer package.
It is generated from these files:
envoy/config/filter/accesslog/v2/accesslog.proto
It has these top-level messages:
AccessLog AccessLogFilter ComparisonFilter StatusCodeFilter DurationFilter NotHealthCheckFilter TraceableFilter RuntimeFilter AndFilter OrFilter HeaderFilter ResponseFlagFilter
Index ¶
- Variables
- type AccessLog
- func (*AccessLog) Descriptor() ([]byte, []int)
- func (m *AccessLog) GetConfig() *google_protobuf.Struct
- func (m *AccessLog) GetFilter() *AccessLogFilter
- func (m *AccessLog) GetName() string
- func (m *AccessLog) Marshal() (dAtA []byte, err error)
- func (m *AccessLog) MarshalTo(dAtA []byte) (int, error)
- func (*AccessLog) ProtoMessage()
- func (m *AccessLog) Reset()
- func (m *AccessLog) Size() (n int)
- func (m *AccessLog) String() string
- func (m *AccessLog) Unmarshal(dAtA []byte) error
- func (m *AccessLog) Validate() error
- type AccessLogFilter
- func (*AccessLogFilter) Descriptor() ([]byte, []int)
- func (m *AccessLogFilter) GetAndFilter() *AndFilter
- func (m *AccessLogFilter) GetDurationFilter() *DurationFilter
- func (m *AccessLogFilter) GetFilterSpecifier() isAccessLogFilter_FilterSpecifier
- func (m *AccessLogFilter) GetHeaderFilter() *HeaderFilter
- func (m *AccessLogFilter) GetNotHealthCheckFilter() *NotHealthCheckFilter
- func (m *AccessLogFilter) GetOrFilter() *OrFilter
- func (m *AccessLogFilter) GetResponseFlagFilter() *ResponseFlagFilter
- func (m *AccessLogFilter) GetRuntimeFilter() *RuntimeFilter
- func (m *AccessLogFilter) GetStatusCodeFilter() *StatusCodeFilter
- func (m *AccessLogFilter) GetTraceableFilter() *TraceableFilter
- func (m *AccessLogFilter) Marshal() (dAtA []byte, err error)
- func (m *AccessLogFilter) MarshalTo(dAtA []byte) (int, error)
- func (*AccessLogFilter) ProtoMessage()
- func (m *AccessLogFilter) Reset()
- func (m *AccessLogFilter) Size() (n int)
- func (m *AccessLogFilter) String() string
- func (m *AccessLogFilter) Unmarshal(dAtA []byte) error
- func (m *AccessLogFilter) Validate() error
- func (*AccessLogFilter) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- type AccessLogFilterValidationError
- type AccessLogFilter_AndFilter
- type AccessLogFilter_DurationFilter
- type AccessLogFilter_HeaderFilter
- type AccessLogFilter_NotHealthCheckFilter
- type AccessLogFilter_OrFilter
- type AccessLogFilter_ResponseFlagFilter
- type AccessLogFilter_RuntimeFilter
- type AccessLogFilter_StatusCodeFilter
- type AccessLogFilter_TraceableFilter
- type AccessLogValidationError
- type AndFilter
- func (*AndFilter) Descriptor() ([]byte, []int)
- func (m *AndFilter) GetFilters() []*AccessLogFilter
- func (m *AndFilter) Marshal() (dAtA []byte, err error)
- func (m *AndFilter) MarshalTo(dAtA []byte) (int, error)
- func (*AndFilter) ProtoMessage()
- func (m *AndFilter) Reset()
- func (m *AndFilter) Size() (n int)
- func (m *AndFilter) String() string
- func (m *AndFilter) Unmarshal(dAtA []byte) error
- func (m *AndFilter) Validate() error
- type AndFilterValidationError
- type ComparisonFilter
- func (*ComparisonFilter) Descriptor() ([]byte, []int)
- func (m *ComparisonFilter) GetOp() ComparisonFilter_Op
- func (m *ComparisonFilter) GetValue() *envoy_api_v2_core.RuntimeUInt32
- func (m *ComparisonFilter) Marshal() (dAtA []byte, err error)
- func (m *ComparisonFilter) MarshalTo(dAtA []byte) (int, error)
- func (*ComparisonFilter) ProtoMessage()
- func (m *ComparisonFilter) Reset()
- func (m *ComparisonFilter) Size() (n int)
- func (m *ComparisonFilter) String() string
- func (m *ComparisonFilter) Unmarshal(dAtA []byte) error
- func (m *ComparisonFilter) Validate() error
- type ComparisonFilterValidationError
- type ComparisonFilter_Op
- type DurationFilter
- func (*DurationFilter) Descriptor() ([]byte, []int)
- func (m *DurationFilter) GetComparison() *ComparisonFilter
- func (m *DurationFilter) Marshal() (dAtA []byte, err error)
- func (m *DurationFilter) MarshalTo(dAtA []byte) (int, error)
- func (*DurationFilter) ProtoMessage()
- func (m *DurationFilter) Reset()
- func (m *DurationFilter) Size() (n int)
- func (m *DurationFilter) String() string
- func (m *DurationFilter) Unmarshal(dAtA []byte) error
- func (m *DurationFilter) Validate() error
- type DurationFilterValidationError
- type HeaderFilter
- func (*HeaderFilter) Descriptor() ([]byte, []int)
- func (m *HeaderFilter) GetHeader() *envoy_api_v2_route.HeaderMatcher
- func (m *HeaderFilter) Marshal() (dAtA []byte, err error)
- func (m *HeaderFilter) MarshalTo(dAtA []byte) (int, error)
- func (*HeaderFilter) ProtoMessage()
- func (m *HeaderFilter) Reset()
- func (m *HeaderFilter) Size() (n int)
- func (m *HeaderFilter) String() string
- func (m *HeaderFilter) Unmarshal(dAtA []byte) error
- func (m *HeaderFilter) Validate() error
- type HeaderFilterValidationError
- type NotHealthCheckFilter
- func (*NotHealthCheckFilter) Descriptor() ([]byte, []int)
- func (m *NotHealthCheckFilter) Marshal() (dAtA []byte, err error)
- func (m *NotHealthCheckFilter) MarshalTo(dAtA []byte) (int, error)
- func (*NotHealthCheckFilter) ProtoMessage()
- func (m *NotHealthCheckFilter) Reset()
- func (m *NotHealthCheckFilter) Size() (n int)
- func (m *NotHealthCheckFilter) String() string
- func (m *NotHealthCheckFilter) Unmarshal(dAtA []byte) error
- func (m *NotHealthCheckFilter) Validate() error
- type NotHealthCheckFilterValidationError
- type OrFilter
- func (*OrFilter) Descriptor() ([]byte, []int)
- func (m *OrFilter) GetFilters() []*AccessLogFilter
- func (m *OrFilter) Marshal() (dAtA []byte, err error)
- func (m *OrFilter) MarshalTo(dAtA []byte) (int, error)
- func (*OrFilter) ProtoMessage()
- func (m *OrFilter) Reset()
- func (m *OrFilter) Size() (n int)
- func (m *OrFilter) String() string
- func (m *OrFilter) Unmarshal(dAtA []byte) error
- func (m *OrFilter) Validate() error
- type OrFilterValidationError
- type ResponseFlagFilter
- func (*ResponseFlagFilter) Descriptor() ([]byte, []int)
- func (m *ResponseFlagFilter) GetFlags() []string
- func (m *ResponseFlagFilter) Marshal() (dAtA []byte, err error)
- func (m *ResponseFlagFilter) MarshalTo(dAtA []byte) (int, error)
- func (*ResponseFlagFilter) ProtoMessage()
- func (m *ResponseFlagFilter) Reset()
- func (m *ResponseFlagFilter) Size() (n int)
- func (m *ResponseFlagFilter) String() string
- func (m *ResponseFlagFilter) Unmarshal(dAtA []byte) error
- func (m *ResponseFlagFilter) Validate() error
- type ResponseFlagFilterValidationError
- type RuntimeFilter
- func (*RuntimeFilter) Descriptor() ([]byte, []int)
- func (m *RuntimeFilter) GetPercentSampled() *envoy_type1.FractionalPercent
- func (m *RuntimeFilter) GetRuntimeKey() string
- func (m *RuntimeFilter) GetUseIndependentRandomness() bool
- func (m *RuntimeFilter) Marshal() (dAtA []byte, err error)
- func (m *RuntimeFilter) MarshalTo(dAtA []byte) (int, error)
- func (*RuntimeFilter) ProtoMessage()
- func (m *RuntimeFilter) Reset()
- func (m *RuntimeFilter) Size() (n int)
- func (m *RuntimeFilter) String() string
- func (m *RuntimeFilter) Unmarshal(dAtA []byte) error
- func (m *RuntimeFilter) Validate() error
- type RuntimeFilterValidationError
- type StatusCodeFilter
- func (*StatusCodeFilter) Descriptor() ([]byte, []int)
- func (m *StatusCodeFilter) GetComparison() *ComparisonFilter
- func (m *StatusCodeFilter) Marshal() (dAtA []byte, err error)
- func (m *StatusCodeFilter) MarshalTo(dAtA []byte) (int, error)
- func (*StatusCodeFilter) ProtoMessage()
- func (m *StatusCodeFilter) Reset()
- func (m *StatusCodeFilter) Size() (n int)
- func (m *StatusCodeFilter) String() string
- func (m *StatusCodeFilter) Unmarshal(dAtA []byte) error
- func (m *StatusCodeFilter) Validate() error
- type StatusCodeFilterValidationError
- type TraceableFilter
- func (*TraceableFilter) Descriptor() ([]byte, []int)
- func (m *TraceableFilter) Marshal() (dAtA []byte, err error)
- func (m *TraceableFilter) MarshalTo(dAtA []byte) (int, error)
- func (*TraceableFilter) ProtoMessage()
- func (m *TraceableFilter) Reset()
- func (m *TraceableFilter) Size() (n int)
- func (m *TraceableFilter) String() string
- func (m *TraceableFilter) Unmarshal(dAtA []byte) error
- func (m *TraceableFilter) Validate() error
- type TraceableFilterValidationError
Constants ¶
This section is empty.
Variables ¶
var ( ErrInvalidLengthAccesslog = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowAccesslog = fmt.Errorf("proto: integer overflow") )
var ComparisonFilter_Op_name = map[int32]string{
0: "EQ",
1: "GE",
2: "LE",
}
var ComparisonFilter_Op_value = map[string]int32{
"EQ": 0,
"GE": 1,
"LE": 2,
}
Functions ¶
This section is empty.
Types ¶
type AccessLog ¶
type AccessLog struct { // The name of the access log implementation to instantiate. The name must // match a statically registered access log. Current built-in loggers include: // // #. "envoy.file_access_log" // #. "envoy.http_grpc_access_log" Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Filter which is used to determine if the access log needs to be written. Filter *AccessLogFilter `protobuf:"bytes,2,opt,name=filter" json:"filter,omitempty"` // Custom configuration that depends on the access log being instantiated. Built-in configurations // include: // // #. "envoy.file_access_log": :ref:`FileAccessLog // <envoy_api_msg_config.accesslog.v2.FileAccessLog>` // #. "envoy.http_grpc_access_log": :ref:`HttpGrpcAccessLogConfig // <envoy_api_msg_config.accesslog.v2.HttpGrpcAccessLogConfig>` Config *google_protobuf.Struct `protobuf:"bytes,3,opt,name=config" json:"config,omitempty"` }
func (*AccessLog) Descriptor ¶
func (*AccessLog) GetConfig ¶
func (m *AccessLog) GetConfig() *google_protobuf.Struct
func (*AccessLog) GetFilter ¶
func (m *AccessLog) GetFilter() *AccessLogFilter
func (*AccessLog) ProtoMessage ¶
func (*AccessLog) ProtoMessage()
type AccessLogFilter ¶
type AccessLogFilter struct { // Types that are valid to be assigned to FilterSpecifier: // *AccessLogFilter_StatusCodeFilter // *AccessLogFilter_DurationFilter // *AccessLogFilter_NotHealthCheckFilter // *AccessLogFilter_TraceableFilter // *AccessLogFilter_RuntimeFilter // *AccessLogFilter_AndFilter // *AccessLogFilter_OrFilter // *AccessLogFilter_HeaderFilter // *AccessLogFilter_ResponseFlagFilter FilterSpecifier isAccessLogFilter_FilterSpecifier `protobuf_oneof:"filter_specifier"` }
func (*AccessLogFilter) Descriptor ¶
func (*AccessLogFilter) Descriptor() ([]byte, []int)
func (*AccessLogFilter) GetAndFilter ¶
func (m *AccessLogFilter) GetAndFilter() *AndFilter
func (*AccessLogFilter) GetDurationFilter ¶
func (m *AccessLogFilter) GetDurationFilter() *DurationFilter
func (*AccessLogFilter) GetFilterSpecifier ¶
func (m *AccessLogFilter) GetFilterSpecifier() isAccessLogFilter_FilterSpecifier
func (*AccessLogFilter) GetHeaderFilter ¶
func (m *AccessLogFilter) GetHeaderFilter() *HeaderFilter
func (*AccessLogFilter) GetNotHealthCheckFilter ¶
func (m *AccessLogFilter) GetNotHealthCheckFilter() *NotHealthCheckFilter
func (*AccessLogFilter) GetOrFilter ¶
func (m *AccessLogFilter) GetOrFilter() *OrFilter
func (*AccessLogFilter) GetResponseFlagFilter ¶
func (m *AccessLogFilter) GetResponseFlagFilter() *ResponseFlagFilter
func (*AccessLogFilter) GetRuntimeFilter ¶
func (m *AccessLogFilter) GetRuntimeFilter() *RuntimeFilter
func (*AccessLogFilter) GetStatusCodeFilter ¶
func (m *AccessLogFilter) GetStatusCodeFilter() *StatusCodeFilter
func (*AccessLogFilter) GetTraceableFilter ¶
func (m *AccessLogFilter) GetTraceableFilter() *TraceableFilter
func (*AccessLogFilter) Marshal ¶
func (m *AccessLogFilter) Marshal() (dAtA []byte, err error)
func (*AccessLogFilter) ProtoMessage ¶
func (*AccessLogFilter) ProtoMessage()
func (*AccessLogFilter) Reset ¶
func (m *AccessLogFilter) Reset()
func (*AccessLogFilter) Size ¶
func (m *AccessLogFilter) Size() (n int)
func (*AccessLogFilter) String ¶
func (m *AccessLogFilter) String() string
func (*AccessLogFilter) Unmarshal ¶
func (m *AccessLogFilter) Unmarshal(dAtA []byte) error
func (*AccessLogFilter) Validate ¶
func (m *AccessLogFilter) Validate() error
Validate checks the field values on AccessLogFilter with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*AccessLogFilter) XXX_OneofFuncs ¶
func (*AccessLogFilter) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
type AccessLogFilterValidationError ¶
AccessLogFilterValidationError is the validation error returned by AccessLogFilter.Validate if the designated constraints aren't met.
func (AccessLogFilterValidationError) Error ¶
func (e AccessLogFilterValidationError) Error() string
Error satisfies the builtin error interface
type AccessLogFilter_AndFilter ¶
type AccessLogFilter_AndFilter struct {
AndFilter *AndFilter `protobuf:"bytes,6,opt,name=and_filter,json=andFilter,oneof"`
}
func (*AccessLogFilter_AndFilter) MarshalTo ¶
func (m *AccessLogFilter_AndFilter) MarshalTo(dAtA []byte) (int, error)
func (*AccessLogFilter_AndFilter) Size ¶
func (m *AccessLogFilter_AndFilter) Size() (n int)
type AccessLogFilter_DurationFilter ¶
type AccessLogFilter_DurationFilter struct {
DurationFilter *DurationFilter `protobuf:"bytes,2,opt,name=duration_filter,json=durationFilter,oneof"`
}
func (*AccessLogFilter_DurationFilter) MarshalTo ¶
func (m *AccessLogFilter_DurationFilter) MarshalTo(dAtA []byte) (int, error)
func (*AccessLogFilter_DurationFilter) Size ¶
func (m *AccessLogFilter_DurationFilter) Size() (n int)
type AccessLogFilter_HeaderFilter ¶
type AccessLogFilter_HeaderFilter struct {
HeaderFilter *HeaderFilter `protobuf:"bytes,8,opt,name=header_filter,json=headerFilter,oneof"`
}
func (*AccessLogFilter_HeaderFilter) MarshalTo ¶
func (m *AccessLogFilter_HeaderFilter) MarshalTo(dAtA []byte) (int, error)
func (*AccessLogFilter_HeaderFilter) Size ¶
func (m *AccessLogFilter_HeaderFilter) Size() (n int)
type AccessLogFilter_NotHealthCheckFilter ¶
type AccessLogFilter_NotHealthCheckFilter struct {
NotHealthCheckFilter *NotHealthCheckFilter `protobuf:"bytes,3,opt,name=not_health_check_filter,json=notHealthCheckFilter,oneof"`
}
func (*AccessLogFilter_NotHealthCheckFilter) MarshalTo ¶
func (m *AccessLogFilter_NotHealthCheckFilter) MarshalTo(dAtA []byte) (int, error)
func (*AccessLogFilter_NotHealthCheckFilter) Size ¶
func (m *AccessLogFilter_NotHealthCheckFilter) Size() (n int)
type AccessLogFilter_OrFilter ¶
type AccessLogFilter_OrFilter struct {
OrFilter *OrFilter `protobuf:"bytes,7,opt,name=or_filter,json=orFilter,oneof"`
}
func (*AccessLogFilter_OrFilter) MarshalTo ¶
func (m *AccessLogFilter_OrFilter) MarshalTo(dAtA []byte) (int, error)
func (*AccessLogFilter_OrFilter) Size ¶
func (m *AccessLogFilter_OrFilter) Size() (n int)
type AccessLogFilter_ResponseFlagFilter ¶
type AccessLogFilter_ResponseFlagFilter struct {
ResponseFlagFilter *ResponseFlagFilter `protobuf:"bytes,9,opt,name=response_flag_filter,json=responseFlagFilter,oneof"`
}
func (*AccessLogFilter_ResponseFlagFilter) MarshalTo ¶
func (m *AccessLogFilter_ResponseFlagFilter) MarshalTo(dAtA []byte) (int, error)
func (*AccessLogFilter_ResponseFlagFilter) Size ¶
func (m *AccessLogFilter_ResponseFlagFilter) Size() (n int)
type AccessLogFilter_RuntimeFilter ¶
type AccessLogFilter_RuntimeFilter struct {
RuntimeFilter *RuntimeFilter `protobuf:"bytes,5,opt,name=runtime_filter,json=runtimeFilter,oneof"`
}
func (*AccessLogFilter_RuntimeFilter) MarshalTo ¶
func (m *AccessLogFilter_RuntimeFilter) MarshalTo(dAtA []byte) (int, error)
func (*AccessLogFilter_RuntimeFilter) Size ¶
func (m *AccessLogFilter_RuntimeFilter) Size() (n int)
type AccessLogFilter_StatusCodeFilter ¶
type AccessLogFilter_StatusCodeFilter struct {
StatusCodeFilter *StatusCodeFilter `protobuf:"bytes,1,opt,name=status_code_filter,json=statusCodeFilter,oneof"`
}
func (*AccessLogFilter_StatusCodeFilter) MarshalTo ¶
func (m *AccessLogFilter_StatusCodeFilter) MarshalTo(dAtA []byte) (int, error)
func (*AccessLogFilter_StatusCodeFilter) Size ¶
func (m *AccessLogFilter_StatusCodeFilter) Size() (n int)
type AccessLogFilter_TraceableFilter ¶
type AccessLogFilter_TraceableFilter struct {
TraceableFilter *TraceableFilter `protobuf:"bytes,4,opt,name=traceable_filter,json=traceableFilter,oneof"`
}
func (*AccessLogFilter_TraceableFilter) MarshalTo ¶
func (m *AccessLogFilter_TraceableFilter) MarshalTo(dAtA []byte) (int, error)
func (*AccessLogFilter_TraceableFilter) Size ¶
func (m *AccessLogFilter_TraceableFilter) Size() (n int)
type AccessLogValidationError ¶
AccessLogValidationError is the validation error returned by AccessLog.Validate if the designated constraints aren't met.
func (AccessLogValidationError) Error ¶
func (e AccessLogValidationError) Error() string
Error satisfies the builtin error interface
type AndFilter ¶
type AndFilter struct {
Filters []*AccessLogFilter `protobuf:"bytes,1,rep,name=filters" json:"filters,omitempty"`
}
Performs a logical “and” operation on the result of each filter in filters. Filters are evaluated sequentially and if one of them returns false, the filter returns false immediately.
func (*AndFilter) Descriptor ¶
func (*AndFilter) GetFilters ¶
func (m *AndFilter) GetFilters() []*AccessLogFilter
func (*AndFilter) ProtoMessage ¶
func (*AndFilter) ProtoMessage()
type AndFilterValidationError ¶
AndFilterValidationError is the validation error returned by AndFilter.Validate if the designated constraints aren't met.
func (AndFilterValidationError) Error ¶
func (e AndFilterValidationError) Error() string
Error satisfies the builtin error interface
type ComparisonFilter ¶
type ComparisonFilter struct { // Comparison operator. Op ComparisonFilter_Op `protobuf:"varint,1,opt,name=op,proto3,enum=envoy.config.filter.accesslog.v2.ComparisonFilter_Op" json:"op,omitempty"` // Value to compare against. Value *envoy_api_v2_core.RuntimeUInt32 `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"` }
Filter on an integer comparison.
func (*ComparisonFilter) Descriptor ¶
func (*ComparisonFilter) Descriptor() ([]byte, []int)
func (*ComparisonFilter) GetOp ¶
func (m *ComparisonFilter) GetOp() ComparisonFilter_Op
func (*ComparisonFilter) GetValue ¶
func (m *ComparisonFilter) GetValue() *envoy_api_v2_core.RuntimeUInt32
func (*ComparisonFilter) Marshal ¶
func (m *ComparisonFilter) Marshal() (dAtA []byte, err error)
func (*ComparisonFilter) ProtoMessage ¶
func (*ComparisonFilter) ProtoMessage()
func (*ComparisonFilter) Reset ¶
func (m *ComparisonFilter) Reset()
func (*ComparisonFilter) Size ¶
func (m *ComparisonFilter) Size() (n int)
func (*ComparisonFilter) String ¶
func (m *ComparisonFilter) String() string
func (*ComparisonFilter) Unmarshal ¶
func (m *ComparisonFilter) Unmarshal(dAtA []byte) error
func (*ComparisonFilter) Validate ¶
func (m *ComparisonFilter) Validate() error
Validate checks the field values on ComparisonFilter with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ComparisonFilterValidationError ¶
ComparisonFilterValidationError is the validation error returned by ComparisonFilter.Validate if the designated constraints aren't met.
func (ComparisonFilterValidationError) Error ¶
func (e ComparisonFilterValidationError) Error() string
Error satisfies the builtin error interface
type ComparisonFilter_Op ¶
type ComparisonFilter_Op int32
const ( // = ComparisonFilter_EQ ComparisonFilter_Op = 0 // >= ComparisonFilter_GE ComparisonFilter_Op = 1 // <= ComparisonFilter_LE ComparisonFilter_Op = 2 )
func (ComparisonFilter_Op) EnumDescriptor ¶
func (ComparisonFilter_Op) EnumDescriptor() ([]byte, []int)
func (ComparisonFilter_Op) String ¶
func (x ComparisonFilter_Op) String() string
type DurationFilter ¶
type DurationFilter struct { // Comparison. Comparison *ComparisonFilter `protobuf:"bytes,1,opt,name=comparison" json:"comparison,omitempty"` }
Filters on total request duration in milliseconds.
func (*DurationFilter) Descriptor ¶
func (*DurationFilter) Descriptor() ([]byte, []int)
func (*DurationFilter) GetComparison ¶
func (m *DurationFilter) GetComparison() *ComparisonFilter
func (*DurationFilter) Marshal ¶
func (m *DurationFilter) Marshal() (dAtA []byte, err error)
func (*DurationFilter) ProtoMessage ¶
func (*DurationFilter) ProtoMessage()
func (*DurationFilter) Reset ¶
func (m *DurationFilter) Reset()
func (*DurationFilter) Size ¶
func (m *DurationFilter) Size() (n int)
func (*DurationFilter) String ¶
func (m *DurationFilter) String() string
func (*DurationFilter) Unmarshal ¶
func (m *DurationFilter) Unmarshal(dAtA []byte) error
func (*DurationFilter) Validate ¶
func (m *DurationFilter) Validate() error
Validate checks the field values on DurationFilter with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type DurationFilterValidationError ¶
DurationFilterValidationError is the validation error returned by DurationFilter.Validate if the designated constraints aren't met.
func (DurationFilterValidationError) Error ¶
func (e DurationFilterValidationError) Error() string
Error satisfies the builtin error interface
type HeaderFilter ¶
type HeaderFilter struct { // Only requests with a header which matches the specified HeaderMatcher will pass the filter // check. Header *envoy_api_v2_route.HeaderMatcher `protobuf:"bytes,1,opt,name=header" json:"header,omitempty"` }
Filters requests based on the presence or value of a request header.
func (*HeaderFilter) Descriptor ¶
func (*HeaderFilter) Descriptor() ([]byte, []int)
func (*HeaderFilter) GetHeader ¶
func (m *HeaderFilter) GetHeader() *envoy_api_v2_route.HeaderMatcher
func (*HeaderFilter) Marshal ¶
func (m *HeaderFilter) Marshal() (dAtA []byte, err error)
func (*HeaderFilter) ProtoMessage ¶
func (*HeaderFilter) ProtoMessage()
func (*HeaderFilter) Reset ¶
func (m *HeaderFilter) Reset()
func (*HeaderFilter) Size ¶
func (m *HeaderFilter) Size() (n int)
func (*HeaderFilter) String ¶
func (m *HeaderFilter) String() string
func (*HeaderFilter) Unmarshal ¶
func (m *HeaderFilter) Unmarshal(dAtA []byte) error
func (*HeaderFilter) Validate ¶
func (m *HeaderFilter) Validate() error
Validate checks the field values on HeaderFilter with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type HeaderFilterValidationError ¶
HeaderFilterValidationError is the validation error returned by HeaderFilter.Validate if the designated constraints aren't met.
func (HeaderFilterValidationError) Error ¶
func (e HeaderFilterValidationError) Error() string
Error satisfies the builtin error interface
type NotHealthCheckFilter ¶
type NotHealthCheckFilter struct { }
Filters for requests that are not health check requests. A health check request is marked by the health check filter.
func (*NotHealthCheckFilter) Descriptor ¶
func (*NotHealthCheckFilter) Descriptor() ([]byte, []int)
func (*NotHealthCheckFilter) Marshal ¶
func (m *NotHealthCheckFilter) Marshal() (dAtA []byte, err error)
func (*NotHealthCheckFilter) MarshalTo ¶
func (m *NotHealthCheckFilter) MarshalTo(dAtA []byte) (int, error)
func (*NotHealthCheckFilter) ProtoMessage ¶
func (*NotHealthCheckFilter) ProtoMessage()
func (*NotHealthCheckFilter) Reset ¶
func (m *NotHealthCheckFilter) Reset()
func (*NotHealthCheckFilter) Size ¶
func (m *NotHealthCheckFilter) Size() (n int)
func (*NotHealthCheckFilter) String ¶
func (m *NotHealthCheckFilter) String() string
func (*NotHealthCheckFilter) Unmarshal ¶
func (m *NotHealthCheckFilter) Unmarshal(dAtA []byte) error
func (*NotHealthCheckFilter) Validate ¶
func (m *NotHealthCheckFilter) Validate() error
Validate checks the field values on NotHealthCheckFilter with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type NotHealthCheckFilterValidationError ¶
NotHealthCheckFilterValidationError is the validation error returned by NotHealthCheckFilter.Validate if the designated constraints aren't met.
func (NotHealthCheckFilterValidationError) Error ¶
func (e NotHealthCheckFilterValidationError) Error() string
Error satisfies the builtin error interface
type OrFilter ¶
type OrFilter struct {
Filters []*AccessLogFilter `protobuf:"bytes,2,rep,name=filters" json:"filters,omitempty"`
}
Performs a logical “or” operation on the result of each individual filter. Filters are evaluated sequentially and if one of them returns true, the filter returns true immediately.
func (*OrFilter) Descriptor ¶
func (*OrFilter) GetFilters ¶
func (m *OrFilter) GetFilters() []*AccessLogFilter
func (*OrFilter) ProtoMessage ¶
func (*OrFilter) ProtoMessage()
type OrFilterValidationError ¶
OrFilterValidationError is the validation error returned by OrFilter.Validate if the designated constraints aren't met.
func (OrFilterValidationError) Error ¶
func (e OrFilterValidationError) Error() string
Error satisfies the builtin error interface
type ResponseFlagFilter ¶
type ResponseFlagFilter struct { // Only responses with the any of the flags listed in this field will be logged. // This field is optional. If it is not specified, then any response flag will pass // the filter check. Flags []string `protobuf:"bytes,1,rep,name=flags" json:"flags,omitempty"` }
Filters requests that received responses with an Envoy response flag set. A list of the response flags can be found in the access log formatter :ref:`documentation<config_access_log_format_response_flags>`.
func (*ResponseFlagFilter) Descriptor ¶
func (*ResponseFlagFilter) Descriptor() ([]byte, []int)
func (*ResponseFlagFilter) GetFlags ¶
func (m *ResponseFlagFilter) GetFlags() []string
func (*ResponseFlagFilter) Marshal ¶
func (m *ResponseFlagFilter) Marshal() (dAtA []byte, err error)
func (*ResponseFlagFilter) MarshalTo ¶
func (m *ResponseFlagFilter) MarshalTo(dAtA []byte) (int, error)
func (*ResponseFlagFilter) ProtoMessage ¶
func (*ResponseFlagFilter) ProtoMessage()
func (*ResponseFlagFilter) Reset ¶
func (m *ResponseFlagFilter) Reset()
func (*ResponseFlagFilter) Size ¶
func (m *ResponseFlagFilter) Size() (n int)
func (*ResponseFlagFilter) String ¶
func (m *ResponseFlagFilter) String() string
func (*ResponseFlagFilter) Unmarshal ¶
func (m *ResponseFlagFilter) Unmarshal(dAtA []byte) error
func (*ResponseFlagFilter) Validate ¶
func (m *ResponseFlagFilter) Validate() error
Validate checks the field values on ResponseFlagFilter with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ResponseFlagFilterValidationError ¶
ResponseFlagFilterValidationError is the validation error returned by ResponseFlagFilter.Validate if the designated constraints aren't met.
func (ResponseFlagFilterValidationError) Error ¶
func (e ResponseFlagFilterValidationError) Error() string
Error satisfies the builtin error interface
type RuntimeFilter ¶
type RuntimeFilter struct { // Runtime key to get an optional overridden numerator for use in the *percent_sampled* field. // If found in runtime, this value will replace the default numerator. RuntimeKey string `protobuf:"bytes,1,opt,name=runtime_key,json=runtimeKey,proto3" json:"runtime_key,omitempty"` // The default sampling percentage. If not specified, defaults to 0% with denominator of 100. PercentSampled *envoy_type1.FractionalPercent `protobuf:"bytes,2,opt,name=percent_sampled,json=percentSampled" json:"percent_sampled,omitempty"` // By default, sampling pivots on the header // :ref:`x-request-id<config_http_conn_man_headers_x-request-id>` being present. If // :ref:`x-request-id<config_http_conn_man_headers_x-request-id>` is present, the filter will // consistently sample across multiple hosts based on the runtime key value and the value // extracted from :ref:`x-request-id<config_http_conn_man_headers_x-request-id>`. If it is // missing, or *use_independent_randomness* is set to true, the filter will randomly sample based // on the runtime key value alone. *use_independent_randomness* can be used for logging kill // switches within complex nested :ref:`AndFilter // <envoy_api_msg_config.filter.accesslog.v2.AndFilter>` and :ref:`OrFilter // <envoy_api_msg_config.filter.accesslog.v2.OrFilter>` blocks that are easier to reason about // from a probability perspective (i.e., setting to true will cause the filter to behave like // an independent random variable when composed within logical operator filters). UseIndependentRandomness bool `` /* 136-byte string literal not displayed */ }
Filters for random sampling of requests.
func (*RuntimeFilter) Descriptor ¶
func (*RuntimeFilter) Descriptor() ([]byte, []int)
func (*RuntimeFilter) GetPercentSampled ¶
func (m *RuntimeFilter) GetPercentSampled() *envoy_type1.FractionalPercent
func (*RuntimeFilter) GetRuntimeKey ¶
func (m *RuntimeFilter) GetRuntimeKey() string
func (*RuntimeFilter) GetUseIndependentRandomness ¶
func (m *RuntimeFilter) GetUseIndependentRandomness() bool
func (*RuntimeFilter) Marshal ¶
func (m *RuntimeFilter) Marshal() (dAtA []byte, err error)
func (*RuntimeFilter) ProtoMessage ¶
func (*RuntimeFilter) ProtoMessage()
func (*RuntimeFilter) Reset ¶
func (m *RuntimeFilter) Reset()
func (*RuntimeFilter) Size ¶
func (m *RuntimeFilter) Size() (n int)
func (*RuntimeFilter) String ¶
func (m *RuntimeFilter) String() string
func (*RuntimeFilter) Unmarshal ¶
func (m *RuntimeFilter) Unmarshal(dAtA []byte) error
func (*RuntimeFilter) Validate ¶
func (m *RuntimeFilter) Validate() error
Validate checks the field values on RuntimeFilter with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type RuntimeFilterValidationError ¶
RuntimeFilterValidationError is the validation error returned by RuntimeFilter.Validate if the designated constraints aren't met.
func (RuntimeFilterValidationError) Error ¶
func (e RuntimeFilterValidationError) Error() string
Error satisfies the builtin error interface
type StatusCodeFilter ¶
type StatusCodeFilter struct { // Comparison. Comparison *ComparisonFilter `protobuf:"bytes,1,opt,name=comparison" json:"comparison,omitempty"` }
Filters on HTTP response/status code.
func (*StatusCodeFilter) Descriptor ¶
func (*StatusCodeFilter) Descriptor() ([]byte, []int)
func (*StatusCodeFilter) GetComparison ¶
func (m *StatusCodeFilter) GetComparison() *ComparisonFilter
func (*StatusCodeFilter) Marshal ¶
func (m *StatusCodeFilter) Marshal() (dAtA []byte, err error)
func (*StatusCodeFilter) ProtoMessage ¶
func (*StatusCodeFilter) ProtoMessage()
func (*StatusCodeFilter) Reset ¶
func (m *StatusCodeFilter) Reset()
func (*StatusCodeFilter) Size ¶
func (m *StatusCodeFilter) Size() (n int)
func (*StatusCodeFilter) String ¶
func (m *StatusCodeFilter) String() string
func (*StatusCodeFilter) Unmarshal ¶
func (m *StatusCodeFilter) Unmarshal(dAtA []byte) error
func (*StatusCodeFilter) Validate ¶
func (m *StatusCodeFilter) Validate() error
Validate checks the field values on StatusCodeFilter with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type StatusCodeFilterValidationError ¶
StatusCodeFilterValidationError is the validation error returned by StatusCodeFilter.Validate if the designated constraints aren't met.
func (StatusCodeFilterValidationError) Error ¶
func (e StatusCodeFilterValidationError) Error() string
Error satisfies the builtin error interface
type TraceableFilter ¶
type TraceableFilter struct { }
Filters for requests that are traceable. See the tracing overview for more information on how a request becomes traceable.
func (*TraceableFilter) Descriptor ¶
func (*TraceableFilter) Descriptor() ([]byte, []int)
func (*TraceableFilter) Marshal ¶
func (m *TraceableFilter) Marshal() (dAtA []byte, err error)
func (*TraceableFilter) ProtoMessage ¶
func (*TraceableFilter) ProtoMessage()
func (*TraceableFilter) Reset ¶
func (m *TraceableFilter) Reset()
func (*TraceableFilter) Size ¶
func (m *TraceableFilter) Size() (n int)
func (*TraceableFilter) String ¶
func (m *TraceableFilter) String() string
func (*TraceableFilter) Unmarshal ¶
func (m *TraceableFilter) Unmarshal(dAtA []byte) error
func (*TraceableFilter) Validate ¶
func (m *TraceableFilter) Validate() error
Validate checks the field values on TraceableFilter with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type TraceableFilterValidationError ¶
TraceableFilterValidationError is the validation error returned by TraceableFilter.Validate if the designated constraints aren't met.
func (TraceableFilterValidationError) Error ¶
func (e TraceableFilterValidationError) Error() string
Error satisfies the builtin error interface