Documentation ¶
Index ¶
- Variables
- type AccessLog
- func (*AccessLog) Descriptor() ([]byte, []int)deprecated
- func (m *AccessLog) GetConfigType() isAccessLog_ConfigType
- func (x *AccessLog) GetFilter() *AccessLogFilter
- func (x *AccessLog) GetName() string
- func (x *AccessLog) GetTypedConfig() *any1.Any
- func (*AccessLog) ProtoMessage()
- func (x *AccessLog) ProtoReflect() protoreflect.Message
- func (x *AccessLog) Reset()
- func (x *AccessLog) String() string
- func (m *AccessLog) Validate() error
- func (m *AccessLog) ValidateAll() error
- type AccessLogFilter
- func (*AccessLogFilter) Descriptor() ([]byte, []int)deprecated
- func (x *AccessLogFilter) GetAndFilter() *AndFilter
- func (x *AccessLogFilter) GetDurationFilter() *DurationFilter
- func (x *AccessLogFilter) GetExtensionFilter() *ExtensionFilter
- func (m *AccessLogFilter) GetFilterSpecifier() isAccessLogFilter_FilterSpecifier
- func (x *AccessLogFilter) GetGrpcStatusFilter() *GrpcStatusFilter
- func (x *AccessLogFilter) GetHeaderFilter() *HeaderFilter
- func (x *AccessLogFilter) GetMetadataFilter() *MetadataFilter
- func (x *AccessLogFilter) GetNotHealthCheckFilter() *NotHealthCheckFilter
- func (x *AccessLogFilter) GetOrFilter() *OrFilter
- func (x *AccessLogFilter) GetResponseFlagFilter() *ResponseFlagFilter
- func (x *AccessLogFilter) GetRuntimeFilter() *RuntimeFilter
- func (x *AccessLogFilter) GetStatusCodeFilter() *StatusCodeFilter
- func (x *AccessLogFilter) GetTraceableFilter() *TraceableFilter
- func (*AccessLogFilter) ProtoMessage()
- func (x *AccessLogFilter) ProtoReflect() protoreflect.Message
- func (x *AccessLogFilter) Reset()
- func (x *AccessLogFilter) String() string
- func (m *AccessLogFilter) Validate() error
- func (m *AccessLogFilter) ValidateAll() error
- type AccessLogFilterMultiError
- type AccessLogFilterValidationError
- func (e AccessLogFilterValidationError) Cause() error
- func (e AccessLogFilterValidationError) Error() string
- func (e AccessLogFilterValidationError) ErrorName() string
- func (e AccessLogFilterValidationError) Field() string
- func (e AccessLogFilterValidationError) Key() bool
- func (e AccessLogFilterValidationError) Reason() string
- type AccessLogFilter_AndFilter
- type AccessLogFilter_DurationFilter
- type AccessLogFilter_ExtensionFilter
- type AccessLogFilter_GrpcStatusFilter
- type AccessLogFilter_HeaderFilter
- type AccessLogFilter_MetadataFilter
- type AccessLogFilter_NotHealthCheckFilter
- type AccessLogFilter_OrFilter
- type AccessLogFilter_ResponseFlagFilter
- type AccessLogFilter_RuntimeFilter
- type AccessLogFilter_StatusCodeFilter
- type AccessLogFilter_TraceableFilter
- type AccessLogMultiError
- type AccessLogValidationError
- type AccessLog_TypedConfig
- type AndFilter
- func (*AndFilter) Descriptor() ([]byte, []int)deprecated
- func (x *AndFilter) GetFilters() []*AccessLogFilter
- func (*AndFilter) ProtoMessage()
- func (x *AndFilter) ProtoReflect() protoreflect.Message
- func (x *AndFilter) Reset()
- func (x *AndFilter) String() string
- func (m *AndFilter) Validate() error
- func (m *AndFilter) ValidateAll() error
- type AndFilterMultiError
- type AndFilterValidationError
- type ComparisonFilter
- func (*ComparisonFilter) Descriptor() ([]byte, []int)deprecated
- func (x *ComparisonFilter) GetOp() ComparisonFilter_Op
- func (x *ComparisonFilter) GetValue() *v3.RuntimeUInt32
- func (*ComparisonFilter) ProtoMessage()
- func (x *ComparisonFilter) ProtoReflect() protoreflect.Message
- func (x *ComparisonFilter) Reset()
- func (x *ComparisonFilter) String() string
- func (m *ComparisonFilter) Validate() error
- func (m *ComparisonFilter) ValidateAll() error
- type ComparisonFilterMultiError
- type ComparisonFilterValidationError
- func (e ComparisonFilterValidationError) Cause() error
- func (e ComparisonFilterValidationError) Error() string
- func (e ComparisonFilterValidationError) ErrorName() string
- func (e ComparisonFilterValidationError) Field() string
- func (e ComparisonFilterValidationError) Key() bool
- func (e ComparisonFilterValidationError) Reason() string
- type ComparisonFilter_Op
- func (ComparisonFilter_Op) Descriptor() protoreflect.EnumDescriptor
- func (x ComparisonFilter_Op) Enum() *ComparisonFilter_Op
- func (ComparisonFilter_Op) EnumDescriptor() ([]byte, []int)deprecated
- func (x ComparisonFilter_Op) Number() protoreflect.EnumNumber
- func (x ComparisonFilter_Op) String() string
- func (ComparisonFilter_Op) Type() protoreflect.EnumType
- type DurationFilter
- func (*DurationFilter) Descriptor() ([]byte, []int)deprecated
- func (x *DurationFilter) GetComparison() *ComparisonFilter
- func (*DurationFilter) ProtoMessage()
- func (x *DurationFilter) ProtoReflect() protoreflect.Message
- func (x *DurationFilter) Reset()
- func (x *DurationFilter) String() string
- func (m *DurationFilter) Validate() error
- func (m *DurationFilter) ValidateAll() error
- type DurationFilterMultiError
- type DurationFilterValidationError
- func (e DurationFilterValidationError) Cause() error
- func (e DurationFilterValidationError) Error() string
- func (e DurationFilterValidationError) ErrorName() string
- func (e DurationFilterValidationError) Field() string
- func (e DurationFilterValidationError) Key() bool
- func (e DurationFilterValidationError) Reason() string
- type ExtensionFilter
- func (*ExtensionFilter) Descriptor() ([]byte, []int)deprecated
- func (m *ExtensionFilter) GetConfigType() isExtensionFilter_ConfigType
- func (x *ExtensionFilter) GetName() string
- func (x *ExtensionFilter) GetTypedConfig() *any1.Any
- func (*ExtensionFilter) ProtoMessage()
- func (x *ExtensionFilter) ProtoReflect() protoreflect.Message
- func (x *ExtensionFilter) Reset()
- func (x *ExtensionFilter) String() string
- func (m *ExtensionFilter) Validate() error
- func (m *ExtensionFilter) ValidateAll() error
- type ExtensionFilterMultiError
- type ExtensionFilterValidationError
- func (e ExtensionFilterValidationError) Cause() error
- func (e ExtensionFilterValidationError) Error() string
- func (e ExtensionFilterValidationError) ErrorName() string
- func (e ExtensionFilterValidationError) Field() string
- func (e ExtensionFilterValidationError) Key() bool
- func (e ExtensionFilterValidationError) Reason() string
- type ExtensionFilter_TypedConfig
- type GrpcStatusFilter
- func (*GrpcStatusFilter) Descriptor() ([]byte, []int)deprecated
- func (x *GrpcStatusFilter) GetExclude() bool
- func (x *GrpcStatusFilter) GetStatuses() []GrpcStatusFilter_Status
- func (*GrpcStatusFilter) ProtoMessage()
- func (x *GrpcStatusFilter) ProtoReflect() protoreflect.Message
- func (x *GrpcStatusFilter) Reset()
- func (x *GrpcStatusFilter) String() string
- func (m *GrpcStatusFilter) Validate() error
- func (m *GrpcStatusFilter) ValidateAll() error
- type GrpcStatusFilterMultiError
- type GrpcStatusFilterValidationError
- func (e GrpcStatusFilterValidationError) Cause() error
- func (e GrpcStatusFilterValidationError) Error() string
- func (e GrpcStatusFilterValidationError) ErrorName() string
- func (e GrpcStatusFilterValidationError) Field() string
- func (e GrpcStatusFilterValidationError) Key() bool
- func (e GrpcStatusFilterValidationError) Reason() string
- type GrpcStatusFilter_Status
- func (GrpcStatusFilter_Status) Descriptor() protoreflect.EnumDescriptor
- func (x GrpcStatusFilter_Status) Enum() *GrpcStatusFilter_Status
- func (GrpcStatusFilter_Status) EnumDescriptor() ([]byte, []int)deprecated
- func (x GrpcStatusFilter_Status) Number() protoreflect.EnumNumber
- func (x GrpcStatusFilter_Status) String() string
- func (GrpcStatusFilter_Status) Type() protoreflect.EnumType
- type HeaderFilter
- func (*HeaderFilter) Descriptor() ([]byte, []int)deprecated
- func (x *HeaderFilter) GetHeader() *v32.HeaderMatcher
- func (*HeaderFilter) ProtoMessage()
- func (x *HeaderFilter) ProtoReflect() protoreflect.Message
- func (x *HeaderFilter) Reset()
- func (x *HeaderFilter) String() string
- func (m *HeaderFilter) Validate() error
- func (m *HeaderFilter) ValidateAll() error
- type HeaderFilterMultiError
- type HeaderFilterValidationError
- func (e HeaderFilterValidationError) Cause() error
- func (e HeaderFilterValidationError) Error() string
- func (e HeaderFilterValidationError) ErrorName() string
- func (e HeaderFilterValidationError) Field() string
- func (e HeaderFilterValidationError) Key() bool
- func (e HeaderFilterValidationError) Reason() string
- type MetadataFilter
- func (*MetadataFilter) Descriptor() ([]byte, []int)deprecated
- func (x *MetadataFilter) GetMatchIfKeyNotFound() *wrappers.BoolValue
- func (x *MetadataFilter) GetMatcher() *v33.MetadataMatcher
- func (*MetadataFilter) ProtoMessage()
- func (x *MetadataFilter) ProtoReflect() protoreflect.Message
- func (x *MetadataFilter) Reset()
- func (x *MetadataFilter) String() string
- func (m *MetadataFilter) Validate() error
- func (m *MetadataFilter) ValidateAll() error
- type MetadataFilterMultiError
- type MetadataFilterValidationError
- func (e MetadataFilterValidationError) Cause() error
- func (e MetadataFilterValidationError) Error() string
- func (e MetadataFilterValidationError) ErrorName() string
- func (e MetadataFilterValidationError) Field() string
- func (e MetadataFilterValidationError) Key() bool
- func (e MetadataFilterValidationError) Reason() string
- type NotHealthCheckFilter
- func (*NotHealthCheckFilter) Descriptor() ([]byte, []int)deprecated
- func (*NotHealthCheckFilter) ProtoMessage()
- func (x *NotHealthCheckFilter) ProtoReflect() protoreflect.Message
- func (x *NotHealthCheckFilter) Reset()
- func (x *NotHealthCheckFilter) String() string
- func (m *NotHealthCheckFilter) Validate() error
- func (m *NotHealthCheckFilter) ValidateAll() error
- type NotHealthCheckFilterMultiError
- type NotHealthCheckFilterValidationError
- func (e NotHealthCheckFilterValidationError) Cause() error
- func (e NotHealthCheckFilterValidationError) Error() string
- func (e NotHealthCheckFilterValidationError) ErrorName() string
- func (e NotHealthCheckFilterValidationError) Field() string
- func (e NotHealthCheckFilterValidationError) Key() bool
- func (e NotHealthCheckFilterValidationError) Reason() string
- type OrFilter
- func (*OrFilter) Descriptor() ([]byte, []int)deprecated
- func (x *OrFilter) GetFilters() []*AccessLogFilter
- func (*OrFilter) ProtoMessage()
- func (x *OrFilter) ProtoReflect() protoreflect.Message
- func (x *OrFilter) Reset()
- func (x *OrFilter) String() string
- func (m *OrFilter) Validate() error
- func (m *OrFilter) ValidateAll() error
- type OrFilterMultiError
- type OrFilterValidationError
- type ResponseFlagFilter
- func (*ResponseFlagFilter) Descriptor() ([]byte, []int)deprecated
- func (x *ResponseFlagFilter) GetFlags() []string
- func (*ResponseFlagFilter) ProtoMessage()
- func (x *ResponseFlagFilter) ProtoReflect() protoreflect.Message
- func (x *ResponseFlagFilter) Reset()
- func (x *ResponseFlagFilter) String() string
- func (m *ResponseFlagFilter) Validate() error
- func (m *ResponseFlagFilter) ValidateAll() error
- type ResponseFlagFilterMultiError
- type ResponseFlagFilterValidationError
- func (e ResponseFlagFilterValidationError) Cause() error
- func (e ResponseFlagFilterValidationError) Error() string
- func (e ResponseFlagFilterValidationError) ErrorName() string
- func (e ResponseFlagFilterValidationError) Field() string
- func (e ResponseFlagFilterValidationError) Key() bool
- func (e ResponseFlagFilterValidationError) Reason() string
- type RuntimeFilter
- func (*RuntimeFilter) Descriptor() ([]byte, []int)deprecated
- func (x *RuntimeFilter) GetPercentSampled() *v31.FractionalPercent
- func (x *RuntimeFilter) GetRuntimeKey() string
- func (x *RuntimeFilter) GetUseIndependentRandomness() bool
- func (*RuntimeFilter) ProtoMessage()
- func (x *RuntimeFilter) ProtoReflect() protoreflect.Message
- func (x *RuntimeFilter) Reset()
- func (x *RuntimeFilter) String() string
- func (m *RuntimeFilter) Validate() error
- func (m *RuntimeFilter) ValidateAll() error
- type RuntimeFilterMultiError
- type RuntimeFilterValidationError
- func (e RuntimeFilterValidationError) Cause() error
- func (e RuntimeFilterValidationError) Error() string
- func (e RuntimeFilterValidationError) ErrorName() string
- func (e RuntimeFilterValidationError) Field() string
- func (e RuntimeFilterValidationError) Key() bool
- func (e RuntimeFilterValidationError) Reason() string
- type StatusCodeFilter
- func (*StatusCodeFilter) Descriptor() ([]byte, []int)deprecated
- func (x *StatusCodeFilter) GetComparison() *ComparisonFilter
- func (*StatusCodeFilter) ProtoMessage()
- func (x *StatusCodeFilter) ProtoReflect() protoreflect.Message
- func (x *StatusCodeFilter) Reset()
- func (x *StatusCodeFilter) String() string
- func (m *StatusCodeFilter) Validate() error
- func (m *StatusCodeFilter) ValidateAll() error
- type StatusCodeFilterMultiError
- type StatusCodeFilterValidationError
- func (e StatusCodeFilterValidationError) Cause() error
- func (e StatusCodeFilterValidationError) Error() string
- func (e StatusCodeFilterValidationError) ErrorName() string
- func (e StatusCodeFilterValidationError) Field() string
- func (e StatusCodeFilterValidationError) Key() bool
- func (e StatusCodeFilterValidationError) Reason() string
- type TraceableFilter
- func (*TraceableFilter) Descriptor() ([]byte, []int)deprecated
- func (*TraceableFilter) ProtoMessage()
- func (x *TraceableFilter) ProtoReflect() protoreflect.Message
- func (x *TraceableFilter) Reset()
- func (x *TraceableFilter) String() string
- func (m *TraceableFilter) Validate() error
- func (m *TraceableFilter) ValidateAll() error
- type TraceableFilterMultiError
- type TraceableFilterValidationError
- func (e TraceableFilterValidationError) Cause() error
- func (e TraceableFilterValidationError) Error() string
- func (e TraceableFilterValidationError) ErrorName() string
- func (e TraceableFilterValidationError) Field() string
- func (e TraceableFilterValidationError) Key() bool
- func (e TraceableFilterValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var ( ComparisonFilter_Op_name = map[int32]string{ 0: "EQ", 1: "GE", 2: "LE", } ComparisonFilter_Op_value = map[string]int32{ "EQ": 0, "GE": 1, "LE": 2, } )
Enum value maps for ComparisonFilter_Op.
var ( GrpcStatusFilter_Status_name = map[int32]string{ 0: "OK", 1: "CANCELED", 2: "UNKNOWN", 3: "INVALID_ARGUMENT", 4: "DEADLINE_EXCEEDED", 5: "NOT_FOUND", 6: "ALREADY_EXISTS", 7: "PERMISSION_DENIED", 8: "RESOURCE_EXHAUSTED", 9: "FAILED_PRECONDITION", 10: "ABORTED", 11: "OUT_OF_RANGE", 12: "UNIMPLEMENTED", 13: "INTERNAL", 14: "UNAVAILABLE", 15: "DATA_LOSS", 16: "UNAUTHENTICATED", } GrpcStatusFilter_Status_value = map[string]int32{ "OK": 0, "CANCELED": 1, "UNKNOWN": 2, "INVALID_ARGUMENT": 3, "DEADLINE_EXCEEDED": 4, "NOT_FOUND": 5, "ALREADY_EXISTS": 6, "PERMISSION_DENIED": 7, "RESOURCE_EXHAUSTED": 8, "FAILED_PRECONDITION": 9, "ABORTED": 10, "OUT_OF_RANGE": 11, "UNIMPLEMENTED": 12, "INTERNAL": 13, "UNAVAILABLE": 14, "DATA_LOSS": 15, "UNAUTHENTICATED": 16, } )
Enum value maps for GrpcStatusFilter_Status.
var File_envoy_config_accesslog_v3_accesslog_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AccessLog ¶
type AccessLog struct { // The name of the access log extension configuration. 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,proto3" json:"filter,omitempty"` // Custom configuration that must be set according to the access logger extension being instantiated. // [#extension-category: envoy.access_loggers] // // Types that are assignable to ConfigType: // *AccessLog_TypedConfig ConfigType isAccessLog_ConfigType `protobuf_oneof:"config_type"` // contains filtered or unexported fields }
func (*AccessLog) Descriptor
deprecated
func (*AccessLog) GetConfigType ¶
func (m *AccessLog) GetConfigType() isAccessLog_ConfigType
func (*AccessLog) GetFilter ¶
func (x *AccessLog) GetFilter() *AccessLogFilter
func (*AccessLog) GetTypedConfig ¶
func (*AccessLog) ProtoMessage ¶
func (*AccessLog) ProtoMessage()
func (*AccessLog) ProtoReflect ¶
func (x *AccessLog) ProtoReflect() protoreflect.Message
func (*AccessLog) Validate ¶
Validate checks the field values on AccessLog with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*AccessLog) ValidateAll ¶
ValidateAll checks the field values on AccessLog with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AccessLogMultiError, or nil if none found.
type AccessLogFilter ¶
type AccessLogFilter struct { // Types that are assignable to FilterSpecifier: // *AccessLogFilter_StatusCodeFilter // *AccessLogFilter_DurationFilter // *AccessLogFilter_NotHealthCheckFilter // *AccessLogFilter_TraceableFilter // *AccessLogFilter_RuntimeFilter // *AccessLogFilter_AndFilter // *AccessLogFilter_OrFilter // *AccessLogFilter_HeaderFilter // *AccessLogFilter_ResponseFlagFilter // *AccessLogFilter_GrpcStatusFilter // *AccessLogFilter_ExtensionFilter // *AccessLogFilter_MetadataFilter FilterSpecifier isAccessLogFilter_FilterSpecifier `protobuf_oneof:"filter_specifier"` // contains filtered or unexported fields }
[#next-free-field: 13]
func (*AccessLogFilter) Descriptor
deprecated
func (*AccessLogFilter) Descriptor() ([]byte, []int)
Deprecated: Use AccessLogFilter.ProtoReflect.Descriptor instead.
func (*AccessLogFilter) GetAndFilter ¶
func (x *AccessLogFilter) GetAndFilter() *AndFilter
func (*AccessLogFilter) GetDurationFilter ¶
func (x *AccessLogFilter) GetDurationFilter() *DurationFilter
func (*AccessLogFilter) GetExtensionFilter ¶
func (x *AccessLogFilter) GetExtensionFilter() *ExtensionFilter
func (*AccessLogFilter) GetFilterSpecifier ¶
func (m *AccessLogFilter) GetFilterSpecifier() isAccessLogFilter_FilterSpecifier
func (*AccessLogFilter) GetGrpcStatusFilter ¶
func (x *AccessLogFilter) GetGrpcStatusFilter() *GrpcStatusFilter
func (*AccessLogFilter) GetHeaderFilter ¶
func (x *AccessLogFilter) GetHeaderFilter() *HeaderFilter
func (*AccessLogFilter) GetMetadataFilter ¶
func (x *AccessLogFilter) GetMetadataFilter() *MetadataFilter
func (*AccessLogFilter) GetNotHealthCheckFilter ¶
func (x *AccessLogFilter) GetNotHealthCheckFilter() *NotHealthCheckFilter
func (*AccessLogFilter) GetOrFilter ¶
func (x *AccessLogFilter) GetOrFilter() *OrFilter
func (*AccessLogFilter) GetResponseFlagFilter ¶
func (x *AccessLogFilter) GetResponseFlagFilter() *ResponseFlagFilter
func (*AccessLogFilter) GetRuntimeFilter ¶
func (x *AccessLogFilter) GetRuntimeFilter() *RuntimeFilter
func (*AccessLogFilter) GetStatusCodeFilter ¶
func (x *AccessLogFilter) GetStatusCodeFilter() *StatusCodeFilter
func (*AccessLogFilter) GetTraceableFilter ¶
func (x *AccessLogFilter) GetTraceableFilter() *TraceableFilter
func (*AccessLogFilter) ProtoMessage ¶
func (*AccessLogFilter) ProtoMessage()
func (*AccessLogFilter) ProtoReflect ¶
func (x *AccessLogFilter) ProtoReflect() protoreflect.Message
func (*AccessLogFilter) Reset ¶
func (x *AccessLogFilter) Reset()
func (*AccessLogFilter) String ¶
func (x *AccessLogFilter) String() string
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, the first error encountered is returned, or nil if there are no violations.
func (*AccessLogFilter) ValidateAll ¶
func (m *AccessLogFilter) ValidateAll() error
ValidateAll checks the field values on AccessLogFilter with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AccessLogFilterMultiError, or nil if none found.
type AccessLogFilterMultiError ¶
type AccessLogFilterMultiError []error
AccessLogFilterMultiError is an error wrapping multiple validation errors returned by AccessLogFilter.ValidateAll() if the designated constraints aren't met.
func (AccessLogFilterMultiError) AllErrors ¶
func (m AccessLogFilterMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AccessLogFilterMultiError) Error ¶
func (m AccessLogFilterMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AccessLogFilterValidationError ¶
type AccessLogFilterValidationError struct {
// contains filtered or unexported fields
}
AccessLogFilterValidationError is the validation error returned by AccessLogFilter.Validate if the designated constraints aren't met.
func (AccessLogFilterValidationError) Cause ¶
func (e AccessLogFilterValidationError) Cause() error
Cause function returns cause value.
func (AccessLogFilterValidationError) Error ¶
func (e AccessLogFilterValidationError) Error() string
Error satisfies the builtin error interface
func (AccessLogFilterValidationError) ErrorName ¶
func (e AccessLogFilterValidationError) ErrorName() string
ErrorName returns error name.
func (AccessLogFilterValidationError) Field ¶
func (e AccessLogFilterValidationError) Field() string
Field function returns field value.
func (AccessLogFilterValidationError) Key ¶
func (e AccessLogFilterValidationError) Key() bool
Key function returns key value.
func (AccessLogFilterValidationError) Reason ¶
func (e AccessLogFilterValidationError) Reason() string
Reason function returns reason value.
type AccessLogFilter_AndFilter ¶
type AccessLogFilter_AndFilter struct { // And filter. AndFilter *AndFilter `protobuf:"bytes,6,opt,name=and_filter,json=andFilter,proto3,oneof"` }
type AccessLogFilter_DurationFilter ¶
type AccessLogFilter_DurationFilter struct { // Duration filter. DurationFilter *DurationFilter `protobuf:"bytes,2,opt,name=duration_filter,json=durationFilter,proto3,oneof"` }
type AccessLogFilter_ExtensionFilter ¶
type AccessLogFilter_ExtensionFilter struct { // Extension filter. // [#extension-category: envoy.access_loggers.extension_filters] ExtensionFilter *ExtensionFilter `protobuf:"bytes,11,opt,name=extension_filter,json=extensionFilter,proto3,oneof"` }
type AccessLogFilter_GrpcStatusFilter ¶
type AccessLogFilter_GrpcStatusFilter struct { // gRPC status filter. GrpcStatusFilter *GrpcStatusFilter `protobuf:"bytes,10,opt,name=grpc_status_filter,json=grpcStatusFilter,proto3,oneof"` }
type AccessLogFilter_HeaderFilter ¶
type AccessLogFilter_HeaderFilter struct { // Header filter. HeaderFilter *HeaderFilter `protobuf:"bytes,8,opt,name=header_filter,json=headerFilter,proto3,oneof"` }
type AccessLogFilter_MetadataFilter ¶
type AccessLogFilter_MetadataFilter struct { // Metadata Filter MetadataFilter *MetadataFilter `protobuf:"bytes,12,opt,name=metadata_filter,json=metadataFilter,proto3,oneof"` }
type AccessLogFilter_NotHealthCheckFilter ¶
type AccessLogFilter_NotHealthCheckFilter struct { // Not health check filter. NotHealthCheckFilter *NotHealthCheckFilter `protobuf:"bytes,3,opt,name=not_health_check_filter,json=notHealthCheckFilter,proto3,oneof"` }
type AccessLogFilter_OrFilter ¶
type AccessLogFilter_OrFilter struct { // Or filter. OrFilter *OrFilter `protobuf:"bytes,7,opt,name=or_filter,json=orFilter,proto3,oneof"` }
type AccessLogFilter_ResponseFlagFilter ¶
type AccessLogFilter_ResponseFlagFilter struct { // Response flag filter. ResponseFlagFilter *ResponseFlagFilter `protobuf:"bytes,9,opt,name=response_flag_filter,json=responseFlagFilter,proto3,oneof"` }
type AccessLogFilter_RuntimeFilter ¶
type AccessLogFilter_RuntimeFilter struct { // Runtime filter. RuntimeFilter *RuntimeFilter `protobuf:"bytes,5,opt,name=runtime_filter,json=runtimeFilter,proto3,oneof"` }
type AccessLogFilter_StatusCodeFilter ¶
type AccessLogFilter_StatusCodeFilter struct { // Status code filter. StatusCodeFilter *StatusCodeFilter `protobuf:"bytes,1,opt,name=status_code_filter,json=statusCodeFilter,proto3,oneof"` }
type AccessLogFilter_TraceableFilter ¶
type AccessLogFilter_TraceableFilter struct { // Traceable filter. TraceableFilter *TraceableFilter `protobuf:"bytes,4,opt,name=traceable_filter,json=traceableFilter,proto3,oneof"` }
type AccessLogMultiError ¶
type AccessLogMultiError []error
AccessLogMultiError is an error wrapping multiple validation errors returned by AccessLog.ValidateAll() if the designated constraints aren't met.
func (AccessLogMultiError) AllErrors ¶
func (m AccessLogMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AccessLogMultiError) Error ¶
func (m AccessLogMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AccessLogValidationError ¶
type AccessLogValidationError struct {
// contains filtered or unexported fields
}
AccessLogValidationError is the validation error returned by AccessLog.Validate if the designated constraints aren't met.
func (AccessLogValidationError) Cause ¶
func (e AccessLogValidationError) Cause() error
Cause function returns cause value.
func (AccessLogValidationError) Error ¶
func (e AccessLogValidationError) Error() string
Error satisfies the builtin error interface
func (AccessLogValidationError) ErrorName ¶
func (e AccessLogValidationError) ErrorName() string
ErrorName returns error name.
func (AccessLogValidationError) Field ¶
func (e AccessLogValidationError) Field() string
Field function returns field value.
func (AccessLogValidationError) Key ¶
func (e AccessLogValidationError) Key() bool
Key function returns key value.
func (AccessLogValidationError) Reason ¶
func (e AccessLogValidationError) Reason() string
Reason function returns reason value.
type AccessLog_TypedConfig ¶
type AndFilter ¶
type AndFilter struct { Filters []*AccessLogFilter `protobuf:"bytes,1,rep,name=filters,proto3" json:"filters,omitempty"` // contains filtered or unexported fields }
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
deprecated
func (*AndFilter) GetFilters ¶
func (x *AndFilter) GetFilters() []*AccessLogFilter
func (*AndFilter) ProtoMessage ¶
func (*AndFilter) ProtoMessage()
func (*AndFilter) ProtoReflect ¶
func (x *AndFilter) ProtoReflect() protoreflect.Message
func (*AndFilter) Validate ¶
Validate checks the field values on AndFilter with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*AndFilter) ValidateAll ¶
ValidateAll checks the field values on AndFilter with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AndFilterMultiError, or nil if none found.
type AndFilterMultiError ¶
type AndFilterMultiError []error
AndFilterMultiError is an error wrapping multiple validation errors returned by AndFilter.ValidateAll() if the designated constraints aren't met.
func (AndFilterMultiError) AllErrors ¶
func (m AndFilterMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AndFilterMultiError) Error ¶
func (m AndFilterMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AndFilterValidationError ¶
type AndFilterValidationError struct {
// contains filtered or unexported fields
}
AndFilterValidationError is the validation error returned by AndFilter.Validate if the designated constraints aren't met.
func (AndFilterValidationError) Cause ¶
func (e AndFilterValidationError) Cause() error
Cause function returns cause value.
func (AndFilterValidationError) Error ¶
func (e AndFilterValidationError) Error() string
Error satisfies the builtin error interface
func (AndFilterValidationError) ErrorName ¶
func (e AndFilterValidationError) ErrorName() string
ErrorName returns error name.
func (AndFilterValidationError) Field ¶
func (e AndFilterValidationError) Field() string
Field function returns field value.
func (AndFilterValidationError) Key ¶
func (e AndFilterValidationError) Key() bool
Key function returns key value.
func (AndFilterValidationError) Reason ¶
func (e AndFilterValidationError) Reason() string
Reason function returns reason value.
type ComparisonFilter ¶
type ComparisonFilter struct { // Comparison operator. Op ComparisonFilter_Op `protobuf:"varint,1,opt,name=op,proto3,enum=envoy.config.accesslog.v3.ComparisonFilter_Op" json:"op,omitempty"` // Value to compare against. Value *v3.RuntimeUInt32 `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
Filter on an integer comparison.
func (*ComparisonFilter) Descriptor
deprecated
func (*ComparisonFilter) Descriptor() ([]byte, []int)
Deprecated: Use ComparisonFilter.ProtoReflect.Descriptor instead.
func (*ComparisonFilter) GetOp ¶
func (x *ComparisonFilter) GetOp() ComparisonFilter_Op
func (*ComparisonFilter) GetValue ¶
func (x *ComparisonFilter) GetValue() *v3.RuntimeUInt32
func (*ComparisonFilter) ProtoMessage ¶
func (*ComparisonFilter) ProtoMessage()
func (*ComparisonFilter) ProtoReflect ¶
func (x *ComparisonFilter) ProtoReflect() protoreflect.Message
func (*ComparisonFilter) Reset ¶
func (x *ComparisonFilter) Reset()
func (*ComparisonFilter) String ¶
func (x *ComparisonFilter) String() string
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, the first error encountered is returned, or nil if there are no violations.
func (*ComparisonFilter) ValidateAll ¶
func (m *ComparisonFilter) ValidateAll() error
ValidateAll checks the field values on ComparisonFilter with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ComparisonFilterMultiError, or nil if none found.
type ComparisonFilterMultiError ¶
type ComparisonFilterMultiError []error
ComparisonFilterMultiError is an error wrapping multiple validation errors returned by ComparisonFilter.ValidateAll() if the designated constraints aren't met.
func (ComparisonFilterMultiError) AllErrors ¶
func (m ComparisonFilterMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ComparisonFilterMultiError) Error ¶
func (m ComparisonFilterMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ComparisonFilterValidationError ¶
type ComparisonFilterValidationError struct {
// contains filtered or unexported fields
}
ComparisonFilterValidationError is the validation error returned by ComparisonFilter.Validate if the designated constraints aren't met.
func (ComparisonFilterValidationError) Cause ¶
func (e ComparisonFilterValidationError) Cause() error
Cause function returns cause value.
func (ComparisonFilterValidationError) Error ¶
func (e ComparisonFilterValidationError) Error() string
Error satisfies the builtin error interface
func (ComparisonFilterValidationError) ErrorName ¶
func (e ComparisonFilterValidationError) ErrorName() string
ErrorName returns error name.
func (ComparisonFilterValidationError) Field ¶
func (e ComparisonFilterValidationError) Field() string
Field function returns field value.
func (ComparisonFilterValidationError) Key ¶
func (e ComparisonFilterValidationError) Key() bool
Key function returns key value.
func (ComparisonFilterValidationError) Reason ¶
func (e ComparisonFilterValidationError) Reason() string
Reason function returns reason value.
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) Descriptor ¶
func (ComparisonFilter_Op) Descriptor() protoreflect.EnumDescriptor
func (ComparisonFilter_Op) Enum ¶
func (x ComparisonFilter_Op) Enum() *ComparisonFilter_Op
func (ComparisonFilter_Op) EnumDescriptor
deprecated
func (ComparisonFilter_Op) EnumDescriptor() ([]byte, []int)
Deprecated: Use ComparisonFilter_Op.Descriptor instead.
func (ComparisonFilter_Op) Number ¶
func (x ComparisonFilter_Op) Number() protoreflect.EnumNumber
func (ComparisonFilter_Op) String ¶
func (x ComparisonFilter_Op) String() string
func (ComparisonFilter_Op) Type ¶
func (ComparisonFilter_Op) Type() protoreflect.EnumType
type DurationFilter ¶
type DurationFilter struct { // Comparison. Comparison *ComparisonFilter `protobuf:"bytes,1,opt,name=comparison,proto3" json:"comparison,omitempty"` // contains filtered or unexported fields }
Filters based on the duration of the request or stream, in milliseconds. For end of stream access logs, the total duration of the stream will be used. For :ref:`periodic access logs<arch_overview_access_log_periodic>`, the duration of the stream at the time of log recording will be used.
func (*DurationFilter) Descriptor
deprecated
func (*DurationFilter) Descriptor() ([]byte, []int)
Deprecated: Use DurationFilter.ProtoReflect.Descriptor instead.
func (*DurationFilter) GetComparison ¶
func (x *DurationFilter) GetComparison() *ComparisonFilter
func (*DurationFilter) ProtoMessage ¶
func (*DurationFilter) ProtoMessage()
func (*DurationFilter) ProtoReflect ¶
func (x *DurationFilter) ProtoReflect() protoreflect.Message
func (*DurationFilter) Reset ¶
func (x *DurationFilter) Reset()
func (*DurationFilter) String ¶
func (x *DurationFilter) String() string
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, the first error encountered is returned, or nil if there are no violations.
func (*DurationFilter) ValidateAll ¶
func (m *DurationFilter) ValidateAll() error
ValidateAll checks the field values on DurationFilter with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DurationFilterMultiError, or nil if none found.
type DurationFilterMultiError ¶
type DurationFilterMultiError []error
DurationFilterMultiError is an error wrapping multiple validation errors returned by DurationFilter.ValidateAll() if the designated constraints aren't met.
func (DurationFilterMultiError) AllErrors ¶
func (m DurationFilterMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DurationFilterMultiError) Error ¶
func (m DurationFilterMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DurationFilterValidationError ¶
type DurationFilterValidationError struct {
// contains filtered or unexported fields
}
DurationFilterValidationError is the validation error returned by DurationFilter.Validate if the designated constraints aren't met.
func (DurationFilterValidationError) Cause ¶
func (e DurationFilterValidationError) Cause() error
Cause function returns cause value.
func (DurationFilterValidationError) Error ¶
func (e DurationFilterValidationError) Error() string
Error satisfies the builtin error interface
func (DurationFilterValidationError) ErrorName ¶
func (e DurationFilterValidationError) ErrorName() string
ErrorName returns error name.
func (DurationFilterValidationError) Field ¶
func (e DurationFilterValidationError) Field() string
Field function returns field value.
func (DurationFilterValidationError) Key ¶
func (e DurationFilterValidationError) Key() bool
Key function returns key value.
func (DurationFilterValidationError) Reason ¶
func (e DurationFilterValidationError) Reason() string
Reason function returns reason value.
type ExtensionFilter ¶
type ExtensionFilter struct { // The name of the filter implementation to instantiate. The name must // match a statically registered filter. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Custom configuration that depends on the filter being instantiated. // // Types that are assignable to ConfigType: // *ExtensionFilter_TypedConfig ConfigType isExtensionFilter_ConfigType `protobuf_oneof:"config_type"` // contains filtered or unexported fields }
Extension filter is statically registered at runtime.
func (*ExtensionFilter) Descriptor
deprecated
func (*ExtensionFilter) Descriptor() ([]byte, []int)
Deprecated: Use ExtensionFilter.ProtoReflect.Descriptor instead.
func (*ExtensionFilter) GetConfigType ¶
func (m *ExtensionFilter) GetConfigType() isExtensionFilter_ConfigType
func (*ExtensionFilter) GetName ¶
func (x *ExtensionFilter) GetName() string
func (*ExtensionFilter) GetTypedConfig ¶
func (x *ExtensionFilter) GetTypedConfig() *any1.Any
func (*ExtensionFilter) ProtoMessage ¶
func (*ExtensionFilter) ProtoMessage()
func (*ExtensionFilter) ProtoReflect ¶
func (x *ExtensionFilter) ProtoReflect() protoreflect.Message
func (*ExtensionFilter) Reset ¶
func (x *ExtensionFilter) Reset()
func (*ExtensionFilter) String ¶
func (x *ExtensionFilter) String() string
func (*ExtensionFilter) Validate ¶
func (m *ExtensionFilter) Validate() error
Validate checks the field values on ExtensionFilter with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ExtensionFilter) ValidateAll ¶
func (m *ExtensionFilter) ValidateAll() error
ValidateAll checks the field values on ExtensionFilter with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ExtensionFilterMultiError, or nil if none found.
type ExtensionFilterMultiError ¶
type ExtensionFilterMultiError []error
ExtensionFilterMultiError is an error wrapping multiple validation errors returned by ExtensionFilter.ValidateAll() if the designated constraints aren't met.
func (ExtensionFilterMultiError) AllErrors ¶
func (m ExtensionFilterMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ExtensionFilterMultiError) Error ¶
func (m ExtensionFilterMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ExtensionFilterValidationError ¶
type ExtensionFilterValidationError struct {
// contains filtered or unexported fields
}
ExtensionFilterValidationError is the validation error returned by ExtensionFilter.Validate if the designated constraints aren't met.
func (ExtensionFilterValidationError) Cause ¶
func (e ExtensionFilterValidationError) Cause() error
Cause function returns cause value.
func (ExtensionFilterValidationError) Error ¶
func (e ExtensionFilterValidationError) Error() string
Error satisfies the builtin error interface
func (ExtensionFilterValidationError) ErrorName ¶
func (e ExtensionFilterValidationError) ErrorName() string
ErrorName returns error name.
func (ExtensionFilterValidationError) Field ¶
func (e ExtensionFilterValidationError) Field() string
Field function returns field value.
func (ExtensionFilterValidationError) Key ¶
func (e ExtensionFilterValidationError) Key() bool
Key function returns key value.
func (ExtensionFilterValidationError) Reason ¶
func (e ExtensionFilterValidationError) Reason() string
Reason function returns reason value.
type GrpcStatusFilter ¶
type GrpcStatusFilter struct { // Logs only responses that have any one of the gRPC statuses in this field. Statuses []GrpcStatusFilter_Status `` /* 132-byte string literal not displayed */ // If included and set to true, the filter will instead block all responses // with a gRPC status or inferred gRPC status enumerated in statuses, and // allow all other responses. Exclude bool `protobuf:"varint,2,opt,name=exclude,proto3" json:"exclude,omitempty"` // contains filtered or unexported fields }
Filters gRPC requests based on their response status. If a gRPC status is not provided, the filter will infer the status from the HTTP status code.
func (*GrpcStatusFilter) Descriptor
deprecated
func (*GrpcStatusFilter) Descriptor() ([]byte, []int)
Deprecated: Use GrpcStatusFilter.ProtoReflect.Descriptor instead.
func (*GrpcStatusFilter) GetExclude ¶
func (x *GrpcStatusFilter) GetExclude() bool
func (*GrpcStatusFilter) GetStatuses ¶
func (x *GrpcStatusFilter) GetStatuses() []GrpcStatusFilter_Status
func (*GrpcStatusFilter) ProtoMessage ¶
func (*GrpcStatusFilter) ProtoMessage()
func (*GrpcStatusFilter) ProtoReflect ¶
func (x *GrpcStatusFilter) ProtoReflect() protoreflect.Message
func (*GrpcStatusFilter) Reset ¶
func (x *GrpcStatusFilter) Reset()
func (*GrpcStatusFilter) String ¶
func (x *GrpcStatusFilter) String() string
func (*GrpcStatusFilter) Validate ¶
func (m *GrpcStatusFilter) Validate() error
Validate checks the field values on GrpcStatusFilter with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GrpcStatusFilter) ValidateAll ¶
func (m *GrpcStatusFilter) ValidateAll() error
ValidateAll checks the field values on GrpcStatusFilter with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GrpcStatusFilterMultiError, or nil if none found.
type GrpcStatusFilterMultiError ¶
type GrpcStatusFilterMultiError []error
GrpcStatusFilterMultiError is an error wrapping multiple validation errors returned by GrpcStatusFilter.ValidateAll() if the designated constraints aren't met.
func (GrpcStatusFilterMultiError) AllErrors ¶
func (m GrpcStatusFilterMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GrpcStatusFilterMultiError) Error ¶
func (m GrpcStatusFilterMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GrpcStatusFilterValidationError ¶
type GrpcStatusFilterValidationError struct {
// contains filtered or unexported fields
}
GrpcStatusFilterValidationError is the validation error returned by GrpcStatusFilter.Validate if the designated constraints aren't met.
func (GrpcStatusFilterValidationError) Cause ¶
func (e GrpcStatusFilterValidationError) Cause() error
Cause function returns cause value.
func (GrpcStatusFilterValidationError) Error ¶
func (e GrpcStatusFilterValidationError) Error() string
Error satisfies the builtin error interface
func (GrpcStatusFilterValidationError) ErrorName ¶
func (e GrpcStatusFilterValidationError) ErrorName() string
ErrorName returns error name.
func (GrpcStatusFilterValidationError) Field ¶
func (e GrpcStatusFilterValidationError) Field() string
Field function returns field value.
func (GrpcStatusFilterValidationError) Key ¶
func (e GrpcStatusFilterValidationError) Key() bool
Key function returns key value.
func (GrpcStatusFilterValidationError) Reason ¶
func (e GrpcStatusFilterValidationError) Reason() string
Reason function returns reason value.
type GrpcStatusFilter_Status ¶
type GrpcStatusFilter_Status int32
const ( GrpcStatusFilter_OK GrpcStatusFilter_Status = 0 GrpcStatusFilter_CANCELED GrpcStatusFilter_Status = 1 GrpcStatusFilter_UNKNOWN GrpcStatusFilter_Status = 2 GrpcStatusFilter_INVALID_ARGUMENT GrpcStatusFilter_Status = 3 GrpcStatusFilter_DEADLINE_EXCEEDED GrpcStatusFilter_Status = 4 GrpcStatusFilter_NOT_FOUND GrpcStatusFilter_Status = 5 GrpcStatusFilter_ALREADY_EXISTS GrpcStatusFilter_Status = 6 GrpcStatusFilter_PERMISSION_DENIED GrpcStatusFilter_Status = 7 GrpcStatusFilter_RESOURCE_EXHAUSTED GrpcStatusFilter_Status = 8 GrpcStatusFilter_FAILED_PRECONDITION GrpcStatusFilter_Status = 9 GrpcStatusFilter_ABORTED GrpcStatusFilter_Status = 10 GrpcStatusFilter_OUT_OF_RANGE GrpcStatusFilter_Status = 11 GrpcStatusFilter_UNIMPLEMENTED GrpcStatusFilter_Status = 12 GrpcStatusFilter_INTERNAL GrpcStatusFilter_Status = 13 GrpcStatusFilter_UNAVAILABLE GrpcStatusFilter_Status = 14 GrpcStatusFilter_DATA_LOSS GrpcStatusFilter_Status = 15 GrpcStatusFilter_UNAUTHENTICATED GrpcStatusFilter_Status = 16 )
func (GrpcStatusFilter_Status) Descriptor ¶
func (GrpcStatusFilter_Status) Descriptor() protoreflect.EnumDescriptor
func (GrpcStatusFilter_Status) Enum ¶
func (x GrpcStatusFilter_Status) Enum() *GrpcStatusFilter_Status
func (GrpcStatusFilter_Status) EnumDescriptor
deprecated
func (GrpcStatusFilter_Status) EnumDescriptor() ([]byte, []int)
Deprecated: Use GrpcStatusFilter_Status.Descriptor instead.
func (GrpcStatusFilter_Status) Number ¶
func (x GrpcStatusFilter_Status) Number() protoreflect.EnumNumber
func (GrpcStatusFilter_Status) String ¶
func (x GrpcStatusFilter_Status) String() string
func (GrpcStatusFilter_Status) Type ¶
func (GrpcStatusFilter_Status) Type() protoreflect.EnumType
type HeaderFilter ¶
type HeaderFilter struct { // Only requests with a header which matches the specified HeaderMatcher will // pass the filter check. Header *v32.HeaderMatcher `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` // contains filtered or unexported fields }
Filters requests based on the presence or value of a request header.
func (*HeaderFilter) Descriptor
deprecated
func (*HeaderFilter) Descriptor() ([]byte, []int)
Deprecated: Use HeaderFilter.ProtoReflect.Descriptor instead.
func (*HeaderFilter) GetHeader ¶
func (x *HeaderFilter) GetHeader() *v32.HeaderMatcher
func (*HeaderFilter) ProtoMessage ¶
func (*HeaderFilter) ProtoMessage()
func (*HeaderFilter) ProtoReflect ¶
func (x *HeaderFilter) ProtoReflect() protoreflect.Message
func (*HeaderFilter) Reset ¶
func (x *HeaderFilter) Reset()
func (*HeaderFilter) String ¶
func (x *HeaderFilter) String() string
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, the first error encountered is returned, or nil if there are no violations.
func (*HeaderFilter) ValidateAll ¶
func (m *HeaderFilter) ValidateAll() error
ValidateAll checks the field values on HeaderFilter with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in HeaderFilterMultiError, or nil if none found.
type HeaderFilterMultiError ¶
type HeaderFilterMultiError []error
HeaderFilterMultiError is an error wrapping multiple validation errors returned by HeaderFilter.ValidateAll() if the designated constraints aren't met.
func (HeaderFilterMultiError) AllErrors ¶
func (m HeaderFilterMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (HeaderFilterMultiError) Error ¶
func (m HeaderFilterMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type HeaderFilterValidationError ¶
type HeaderFilterValidationError struct {
// contains filtered or unexported fields
}
HeaderFilterValidationError is the validation error returned by HeaderFilter.Validate if the designated constraints aren't met.
func (HeaderFilterValidationError) Cause ¶
func (e HeaderFilterValidationError) Cause() error
Cause function returns cause value.
func (HeaderFilterValidationError) Error ¶
func (e HeaderFilterValidationError) Error() string
Error satisfies the builtin error interface
func (HeaderFilterValidationError) ErrorName ¶
func (e HeaderFilterValidationError) ErrorName() string
ErrorName returns error name.
func (HeaderFilterValidationError) Field ¶
func (e HeaderFilterValidationError) Field() string
Field function returns field value.
func (HeaderFilterValidationError) Key ¶
func (e HeaderFilterValidationError) Key() bool
Key function returns key value.
func (HeaderFilterValidationError) Reason ¶
func (e HeaderFilterValidationError) Reason() string
Reason function returns reason value.
type MetadataFilter ¶
type MetadataFilter struct { // Matcher to check metadata for specified value. For example, to match on the // access_log_hint metadata, set the filter to "envoy.common" and the path to // "access_log_hint", and the value to "true". Matcher *v33.MetadataMatcher `protobuf:"bytes,1,opt,name=matcher,proto3" json:"matcher,omitempty"` // Default result if the key does not exist in dynamic metadata: if unset or // true, then log; if false, then don't log. MatchIfKeyNotFound *wrappers.BoolValue `protobuf:"bytes,2,opt,name=match_if_key_not_found,json=matchIfKeyNotFound,proto3" json:"match_if_key_not_found,omitempty"` // contains filtered or unexported fields }
Filters based on matching dynamic metadata. If the matcher path and key correspond to an existing key in dynamic metadata, the request is logged only if the matcher value is equal to the metadata value. If the matcher path and key *do not* correspond to an existing key in dynamic metadata, the request is logged only if match_if_key_not_found is "true" or unset.
func (*MetadataFilter) Descriptor
deprecated
func (*MetadataFilter) Descriptor() ([]byte, []int)
Deprecated: Use MetadataFilter.ProtoReflect.Descriptor instead.
func (*MetadataFilter) GetMatchIfKeyNotFound ¶
func (x *MetadataFilter) GetMatchIfKeyNotFound() *wrappers.BoolValue
func (*MetadataFilter) GetMatcher ¶
func (x *MetadataFilter) GetMatcher() *v33.MetadataMatcher
func (*MetadataFilter) ProtoMessage ¶
func (*MetadataFilter) ProtoMessage()
func (*MetadataFilter) ProtoReflect ¶
func (x *MetadataFilter) ProtoReflect() protoreflect.Message
func (*MetadataFilter) Reset ¶
func (x *MetadataFilter) Reset()
func (*MetadataFilter) String ¶
func (x *MetadataFilter) String() string
func (*MetadataFilter) Validate ¶
func (m *MetadataFilter) Validate() error
Validate checks the field values on MetadataFilter with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*MetadataFilter) ValidateAll ¶
func (m *MetadataFilter) ValidateAll() error
ValidateAll checks the field values on MetadataFilter with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in MetadataFilterMultiError, or nil if none found.
type MetadataFilterMultiError ¶
type MetadataFilterMultiError []error
MetadataFilterMultiError is an error wrapping multiple validation errors returned by MetadataFilter.ValidateAll() if the designated constraints aren't met.
func (MetadataFilterMultiError) AllErrors ¶
func (m MetadataFilterMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (MetadataFilterMultiError) Error ¶
func (m MetadataFilterMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type MetadataFilterValidationError ¶
type MetadataFilterValidationError struct {
// contains filtered or unexported fields
}
MetadataFilterValidationError is the validation error returned by MetadataFilter.Validate if the designated constraints aren't met.
func (MetadataFilterValidationError) Cause ¶
func (e MetadataFilterValidationError) Cause() error
Cause function returns cause value.
func (MetadataFilterValidationError) Error ¶
func (e MetadataFilterValidationError) Error() string
Error satisfies the builtin error interface
func (MetadataFilterValidationError) ErrorName ¶
func (e MetadataFilterValidationError) ErrorName() string
ErrorName returns error name.
func (MetadataFilterValidationError) Field ¶
func (e MetadataFilterValidationError) Field() string
Field function returns field value.
func (MetadataFilterValidationError) Key ¶
func (e MetadataFilterValidationError) Key() bool
Key function returns key value.
func (MetadataFilterValidationError) Reason ¶
func (e MetadataFilterValidationError) Reason() string
Reason function returns reason value.
type NotHealthCheckFilter ¶
type NotHealthCheckFilter struct {
// contains filtered or unexported fields
}
Filters for requests that are not health check requests. A health check request is marked by the health check filter.
func (*NotHealthCheckFilter) Descriptor
deprecated
func (*NotHealthCheckFilter) Descriptor() ([]byte, []int)
Deprecated: Use NotHealthCheckFilter.ProtoReflect.Descriptor instead.
func (*NotHealthCheckFilter) ProtoMessage ¶
func (*NotHealthCheckFilter) ProtoMessage()
func (*NotHealthCheckFilter) ProtoReflect ¶
func (x *NotHealthCheckFilter) ProtoReflect() protoreflect.Message
func (*NotHealthCheckFilter) Reset ¶
func (x *NotHealthCheckFilter) Reset()
func (*NotHealthCheckFilter) String ¶
func (x *NotHealthCheckFilter) String() string
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, the first error encountered is returned, or nil if there are no violations.
func (*NotHealthCheckFilter) ValidateAll ¶
func (m *NotHealthCheckFilter) ValidateAll() error
ValidateAll checks the field values on NotHealthCheckFilter with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in NotHealthCheckFilterMultiError, or nil if none found.
type NotHealthCheckFilterMultiError ¶
type NotHealthCheckFilterMultiError []error
NotHealthCheckFilterMultiError is an error wrapping multiple validation errors returned by NotHealthCheckFilter.ValidateAll() if the designated constraints aren't met.
func (NotHealthCheckFilterMultiError) AllErrors ¶
func (m NotHealthCheckFilterMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (NotHealthCheckFilterMultiError) Error ¶
func (m NotHealthCheckFilterMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type NotHealthCheckFilterValidationError ¶
type NotHealthCheckFilterValidationError struct {
// contains filtered or unexported fields
}
NotHealthCheckFilterValidationError is the validation error returned by NotHealthCheckFilter.Validate if the designated constraints aren't met.
func (NotHealthCheckFilterValidationError) Cause ¶
func (e NotHealthCheckFilterValidationError) Cause() error
Cause function returns cause value.
func (NotHealthCheckFilterValidationError) Error ¶
func (e NotHealthCheckFilterValidationError) Error() string
Error satisfies the builtin error interface
func (NotHealthCheckFilterValidationError) ErrorName ¶
func (e NotHealthCheckFilterValidationError) ErrorName() string
ErrorName returns error name.
func (NotHealthCheckFilterValidationError) Field ¶
func (e NotHealthCheckFilterValidationError) Field() string
Field function returns field value.
func (NotHealthCheckFilterValidationError) Key ¶
func (e NotHealthCheckFilterValidationError) Key() bool
Key function returns key value.
func (NotHealthCheckFilterValidationError) Reason ¶
func (e NotHealthCheckFilterValidationError) Reason() string
Reason function returns reason value.
type OrFilter ¶
type OrFilter struct { Filters []*AccessLogFilter `protobuf:"bytes,2,rep,name=filters,proto3" json:"filters,omitempty"` // contains filtered or unexported fields }
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
deprecated
func (*OrFilter) GetFilters ¶
func (x *OrFilter) GetFilters() []*AccessLogFilter
func (*OrFilter) ProtoMessage ¶
func (*OrFilter) ProtoMessage()
func (*OrFilter) ProtoReflect ¶
func (x *OrFilter) ProtoReflect() protoreflect.Message
func (*OrFilter) Validate ¶
Validate checks the field values on OrFilter with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*OrFilter) ValidateAll ¶
ValidateAll checks the field values on OrFilter with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in OrFilterMultiError, or nil if none found.
type OrFilterMultiError ¶
type OrFilterMultiError []error
OrFilterMultiError is an error wrapping multiple validation errors returned by OrFilter.ValidateAll() if the designated constraints aren't met.
func (OrFilterMultiError) AllErrors ¶
func (m OrFilterMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (OrFilterMultiError) Error ¶
func (m OrFilterMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type OrFilterValidationError ¶
type OrFilterValidationError struct {
// contains filtered or unexported fields
}
OrFilterValidationError is the validation error returned by OrFilter.Validate if the designated constraints aren't met.
func (OrFilterValidationError) Cause ¶
func (e OrFilterValidationError) Cause() error
Cause function returns cause value.
func (OrFilterValidationError) Error ¶
func (e OrFilterValidationError) Error() string
Error satisfies the builtin error interface
func (OrFilterValidationError) ErrorName ¶
func (e OrFilterValidationError) ErrorName() string
ErrorName returns error name.
func (OrFilterValidationError) Field ¶
func (e OrFilterValidationError) Field() string
Field function returns field value.
func (OrFilterValidationError) Key ¶
func (e OrFilterValidationError) Key() bool
Key function returns key value.
func (OrFilterValidationError) Reason ¶
func (e OrFilterValidationError) Reason() string
Reason function returns reason value.
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,proto3" json:"flags,omitempty"` // contains filtered or unexported fields }
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
deprecated
func (*ResponseFlagFilter) Descriptor() ([]byte, []int)
Deprecated: Use ResponseFlagFilter.ProtoReflect.Descriptor instead.
func (*ResponseFlagFilter) GetFlags ¶
func (x *ResponseFlagFilter) GetFlags() []string
func (*ResponseFlagFilter) ProtoMessage ¶
func (*ResponseFlagFilter) ProtoMessage()
func (*ResponseFlagFilter) ProtoReflect ¶
func (x *ResponseFlagFilter) ProtoReflect() protoreflect.Message
func (*ResponseFlagFilter) Reset ¶
func (x *ResponseFlagFilter) Reset()
func (*ResponseFlagFilter) String ¶
func (x *ResponseFlagFilter) String() string
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, the first error encountered is returned, or nil if there are no violations.
func (*ResponseFlagFilter) ValidateAll ¶
func (m *ResponseFlagFilter) ValidateAll() error
ValidateAll checks the field values on ResponseFlagFilter with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ResponseFlagFilterMultiError, or nil if none found.
type ResponseFlagFilterMultiError ¶
type ResponseFlagFilterMultiError []error
ResponseFlagFilterMultiError is an error wrapping multiple validation errors returned by ResponseFlagFilter.ValidateAll() if the designated constraints aren't met.
func (ResponseFlagFilterMultiError) AllErrors ¶
func (m ResponseFlagFilterMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ResponseFlagFilterMultiError) Error ¶
func (m ResponseFlagFilterMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ResponseFlagFilterValidationError ¶
type ResponseFlagFilterValidationError struct {
// contains filtered or unexported fields
}
ResponseFlagFilterValidationError is the validation error returned by ResponseFlagFilter.Validate if the designated constraints aren't met.
func (ResponseFlagFilterValidationError) Cause ¶
func (e ResponseFlagFilterValidationError) Cause() error
Cause function returns cause value.
func (ResponseFlagFilterValidationError) Error ¶
func (e ResponseFlagFilterValidationError) Error() string
Error satisfies the builtin error interface
func (ResponseFlagFilterValidationError) ErrorName ¶
func (e ResponseFlagFilterValidationError) ErrorName() string
ErrorName returns error name.
func (ResponseFlagFilterValidationError) Field ¶
func (e ResponseFlagFilterValidationError) Field() string
Field function returns field value.
func (ResponseFlagFilterValidationError) Key ¶
func (e ResponseFlagFilterValidationError) Key() bool
Key function returns key value.
func (ResponseFlagFilterValidationError) Reason ¶
func (e ResponseFlagFilterValidationError) Reason() string
Reason function returns reason value.
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 *v31.FractionalPercent `protobuf:"bytes,2,opt,name=percent_sampled,json=percentSampled,proto3" 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_v3_api_msg_config.accesslog.v3.AndFilter>` and :ref:`OrFilter // <envoy_v3_api_msg_config.accesslog.v3.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 */ // contains filtered or unexported fields }
Filters for random sampling of requests.
func (*RuntimeFilter) Descriptor
deprecated
func (*RuntimeFilter) Descriptor() ([]byte, []int)
Deprecated: Use RuntimeFilter.ProtoReflect.Descriptor instead.
func (*RuntimeFilter) GetPercentSampled ¶
func (x *RuntimeFilter) GetPercentSampled() *v31.FractionalPercent
func (*RuntimeFilter) GetRuntimeKey ¶
func (x *RuntimeFilter) GetRuntimeKey() string
func (*RuntimeFilter) GetUseIndependentRandomness ¶
func (x *RuntimeFilter) GetUseIndependentRandomness() bool
func (*RuntimeFilter) ProtoMessage ¶
func (*RuntimeFilter) ProtoMessage()
func (*RuntimeFilter) ProtoReflect ¶
func (x *RuntimeFilter) ProtoReflect() protoreflect.Message
func (*RuntimeFilter) Reset ¶
func (x *RuntimeFilter) Reset()
func (*RuntimeFilter) String ¶
func (x *RuntimeFilter) String() string
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, the first error encountered is returned, or nil if there are no violations.
func (*RuntimeFilter) ValidateAll ¶
func (m *RuntimeFilter) ValidateAll() error
ValidateAll checks the field values on RuntimeFilter with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RuntimeFilterMultiError, or nil if none found.
type RuntimeFilterMultiError ¶
type RuntimeFilterMultiError []error
RuntimeFilterMultiError is an error wrapping multiple validation errors returned by RuntimeFilter.ValidateAll() if the designated constraints aren't met.
func (RuntimeFilterMultiError) AllErrors ¶
func (m RuntimeFilterMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RuntimeFilterMultiError) Error ¶
func (m RuntimeFilterMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RuntimeFilterValidationError ¶
type RuntimeFilterValidationError struct {
// contains filtered or unexported fields
}
RuntimeFilterValidationError is the validation error returned by RuntimeFilter.Validate if the designated constraints aren't met.
func (RuntimeFilterValidationError) Cause ¶
func (e RuntimeFilterValidationError) Cause() error
Cause function returns cause value.
func (RuntimeFilterValidationError) Error ¶
func (e RuntimeFilterValidationError) Error() string
Error satisfies the builtin error interface
func (RuntimeFilterValidationError) ErrorName ¶
func (e RuntimeFilterValidationError) ErrorName() string
ErrorName returns error name.
func (RuntimeFilterValidationError) Field ¶
func (e RuntimeFilterValidationError) Field() string
Field function returns field value.
func (RuntimeFilterValidationError) Key ¶
func (e RuntimeFilterValidationError) Key() bool
Key function returns key value.
func (RuntimeFilterValidationError) Reason ¶
func (e RuntimeFilterValidationError) Reason() string
Reason function returns reason value.
type StatusCodeFilter ¶
type StatusCodeFilter struct { // Comparison. Comparison *ComparisonFilter `protobuf:"bytes,1,opt,name=comparison,proto3" json:"comparison,omitempty"` // contains filtered or unexported fields }
Filters on HTTP response/status code.
func (*StatusCodeFilter) Descriptor
deprecated
func (*StatusCodeFilter) Descriptor() ([]byte, []int)
Deprecated: Use StatusCodeFilter.ProtoReflect.Descriptor instead.
func (*StatusCodeFilter) GetComparison ¶
func (x *StatusCodeFilter) GetComparison() *ComparisonFilter
func (*StatusCodeFilter) ProtoMessage ¶
func (*StatusCodeFilter) ProtoMessage()
func (*StatusCodeFilter) ProtoReflect ¶
func (x *StatusCodeFilter) ProtoReflect() protoreflect.Message
func (*StatusCodeFilter) Reset ¶
func (x *StatusCodeFilter) Reset()
func (*StatusCodeFilter) String ¶
func (x *StatusCodeFilter) String() string
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, the first error encountered is returned, or nil if there are no violations.
func (*StatusCodeFilter) ValidateAll ¶
func (m *StatusCodeFilter) ValidateAll() error
ValidateAll checks the field values on StatusCodeFilter with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in StatusCodeFilterMultiError, or nil if none found.
type StatusCodeFilterMultiError ¶
type StatusCodeFilterMultiError []error
StatusCodeFilterMultiError is an error wrapping multiple validation errors returned by StatusCodeFilter.ValidateAll() if the designated constraints aren't met.
func (StatusCodeFilterMultiError) AllErrors ¶
func (m StatusCodeFilterMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (StatusCodeFilterMultiError) Error ¶
func (m StatusCodeFilterMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type StatusCodeFilterValidationError ¶
type StatusCodeFilterValidationError struct {
// contains filtered or unexported fields
}
StatusCodeFilterValidationError is the validation error returned by StatusCodeFilter.Validate if the designated constraints aren't met.
func (StatusCodeFilterValidationError) Cause ¶
func (e StatusCodeFilterValidationError) Cause() error
Cause function returns cause value.
func (StatusCodeFilterValidationError) Error ¶
func (e StatusCodeFilterValidationError) Error() string
Error satisfies the builtin error interface
func (StatusCodeFilterValidationError) ErrorName ¶
func (e StatusCodeFilterValidationError) ErrorName() string
ErrorName returns error name.
func (StatusCodeFilterValidationError) Field ¶
func (e StatusCodeFilterValidationError) Field() string
Field function returns field value.
func (StatusCodeFilterValidationError) Key ¶
func (e StatusCodeFilterValidationError) Key() bool
Key function returns key value.
func (StatusCodeFilterValidationError) Reason ¶
func (e StatusCodeFilterValidationError) Reason() string
Reason function returns reason value.
type TraceableFilter ¶
type TraceableFilter struct {
// contains filtered or unexported fields
}
Filters for requests that are traceable. See the tracing overview for more information on how a request becomes traceable.
func (*TraceableFilter) Descriptor
deprecated
func (*TraceableFilter) Descriptor() ([]byte, []int)
Deprecated: Use TraceableFilter.ProtoReflect.Descriptor instead.
func (*TraceableFilter) ProtoMessage ¶
func (*TraceableFilter) ProtoMessage()
func (*TraceableFilter) ProtoReflect ¶
func (x *TraceableFilter) ProtoReflect() protoreflect.Message
func (*TraceableFilter) Reset ¶
func (x *TraceableFilter) Reset()
func (*TraceableFilter) String ¶
func (x *TraceableFilter) String() string
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, the first error encountered is returned, or nil if there are no violations.
func (*TraceableFilter) ValidateAll ¶
func (m *TraceableFilter) ValidateAll() error
ValidateAll checks the field values on TraceableFilter with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in TraceableFilterMultiError, or nil if none found.
type TraceableFilterMultiError ¶
type TraceableFilterMultiError []error
TraceableFilterMultiError is an error wrapping multiple validation errors returned by TraceableFilter.ValidateAll() if the designated constraints aren't met.
func (TraceableFilterMultiError) AllErrors ¶
func (m TraceableFilterMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TraceableFilterMultiError) Error ¶
func (m TraceableFilterMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TraceableFilterValidationError ¶
type TraceableFilterValidationError struct {
// contains filtered or unexported fields
}
TraceableFilterValidationError is the validation error returned by TraceableFilter.Validate if the designated constraints aren't met.
func (TraceableFilterValidationError) Cause ¶
func (e TraceableFilterValidationError) Cause() error
Cause function returns cause value.
func (TraceableFilterValidationError) Error ¶
func (e TraceableFilterValidationError) Error() string
Error satisfies the builtin error interface
func (TraceableFilterValidationError) ErrorName ¶
func (e TraceableFilterValidationError) ErrorName() string
ErrorName returns error name.
func (TraceableFilterValidationError) Field ¶
func (e TraceableFilterValidationError) Field() string
Field function returns field value.
func (TraceableFilterValidationError) Key ¶
func (e TraceableFilterValidationError) Key() bool
Key function returns key value.
func (TraceableFilterValidationError) Reason ¶
func (e TraceableFilterValidationError) Reason() string
Reason function returns reason value.