Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var File_envoy_extensions_access_loggers_filters_cel_v3_cel_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ExpressionFilter ¶
type ExpressionFilter struct { // Expression that, when evaluated, will be used to filter access logs. // Expressions are based on the set of Envoy :ref:`attributes <arch_overview_attributes>`. // The provided expression must evaluate to true for logging (expression errors are considered false). // Examples: // - “response.code >= 400“ // - “(connection.mtls && request.headers['x-log-mtls'] == 'true') || request.url_path.contains('v1beta3')“ Expression string `protobuf:"bytes,1,opt,name=expression,proto3" json:"expression,omitempty"` // contains filtered or unexported fields }
ExpressionFilter is an access logging filter that evaluates configured symbolic Common Expression Language expressions to inform the decision to generate an access log.
func (*ExpressionFilter) Descriptor
deprecated
func (*ExpressionFilter) Descriptor() ([]byte, []int)
Deprecated: Use ExpressionFilter.ProtoReflect.Descriptor instead.
func (*ExpressionFilter) GetExpression ¶
func (x *ExpressionFilter) GetExpression() string
func (*ExpressionFilter) ProtoMessage ¶
func (*ExpressionFilter) ProtoMessage()
func (*ExpressionFilter) ProtoReflect ¶
func (x *ExpressionFilter) ProtoReflect() protoreflect.Message
func (*ExpressionFilter) Reset ¶
func (x *ExpressionFilter) Reset()
func (*ExpressionFilter) String ¶
func (x *ExpressionFilter) String() string
Click to show internal directories.
Click to hide internal directories.