envoy_config_accesslog_v3

package
v1.5.2-rc.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 10, 2020 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthAccesslog        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowAccesslog          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupAccesslog = fmt.Errorf("proto: unexpected end of group")
)
View Source
var ComparisonFilter_Op_name = map[int32]string{
	0: "EQ",
	1: "GE",
	2: "LE",
}
View Source
var ComparisonFilter_Op_value = map[string]int32{
	"EQ": 0,
	"GE": 1,
	"LE": 2,
}
View Source
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",
}
View Source
var 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,
}

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.access_loggers.file"
	// #. "envoy.access_loggers.http_grpc"
	// #. "envoy.access_loggers.tcp_grpc"
	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 depends on the access log being instantiated. Built-in
	// configurations include:
	//
	// #. "envoy.access_loggers.file": :ref:`FileAccessLog
	//    <envoy_api_msg_extensions.access_loggers.file.v3.FileAccessLog>`
	// #. "envoy.access_loggers.http_grpc": :ref:`HttpGrpcAccessLogConfig
	//    <envoy_api_msg_extensions.access_loggers.grpc.v3.HttpGrpcAccessLogConfig>`
	// #. "envoy.access_loggers.tcp_grpc": :ref:`TcpGrpcAccessLogConfig
	//    <envoy_api_msg_extensions.access_loggers.grpc.v3.TcpGrpcAccessLogConfig>`
	//
	// Types that are valid to be assigned to ConfigType:
	//	*AccessLog_TypedConfig
	ConfigType           isAccessLog_ConfigType `protobuf_oneof:"config_type"`
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

func (*AccessLog) Descriptor

func (*AccessLog) Descriptor() ([]byte, []int)

func (*AccessLog) GetConfigType

func (m *AccessLog) GetConfigType() isAccessLog_ConfigType

func (*AccessLog) GetFilter

func (m *AccessLog) GetFilter() *AccessLogFilter

func (*AccessLog) GetName

func (m *AccessLog) GetName() string

func (*AccessLog) GetTypedConfig

func (m *AccessLog) GetTypedConfig() *types.Any

func (*AccessLog) Marshal

func (m *AccessLog) Marshal() (dAtA []byte, err error)

func (*AccessLog) MarshalTo

func (m *AccessLog) MarshalTo(dAtA []byte) (int, error)

func (*AccessLog) MarshalToSizedBuffer

func (m *AccessLog) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AccessLog) ProtoMessage

func (*AccessLog) ProtoMessage()

func (*AccessLog) Reset

func (m *AccessLog) Reset()

func (*AccessLog) Size

func (m *AccessLog) Size() (n int)

func (*AccessLog) String

func (m *AccessLog) String() string

func (*AccessLog) Unmarshal

func (m *AccessLog) Unmarshal(dAtA []byte) error

func (*AccessLog) Validate

func (m *AccessLog) Validate() error

Validate checks the field values on AccessLog with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*AccessLog) XXX_DiscardUnknown

func (m *AccessLog) XXX_DiscardUnknown()

func (*AccessLog) XXX_Marshal

func (m *AccessLog) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AccessLog) XXX_Merge

func (m *AccessLog) XXX_Merge(src proto.Message)

func (*AccessLog) XXX_OneofWrappers

func (*AccessLog) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*AccessLog) XXX_Size

func (m *AccessLog) XXX_Size() int

func (*AccessLog) XXX_Unmarshal

func (m *AccessLog) XXX_Unmarshal(b []byte) error

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
	//	*AccessLogFilter_GrpcStatusFilter
	//	*AccessLogFilter_ExtensionFilter
	FilterSpecifier      isAccessLogFilter_FilterSpecifier `protobuf_oneof:"filter_specifier"`
	XXX_NoUnkeyedLiteral struct{}                          `json:"-"`
	XXX_unrecognized     []byte                            `json:"-"`
	XXX_sizecache        int32                             `json:"-"`
}

[#next-free-field: 12]

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) GetExtensionFilter

func (m *AccessLogFilter) GetExtensionFilter() *ExtensionFilter

func (*AccessLogFilter) GetFilterSpecifier

func (m *AccessLogFilter) GetFilterSpecifier() isAccessLogFilter_FilterSpecifier

func (*AccessLogFilter) GetGrpcStatusFilter

func (m *AccessLogFilter) GetGrpcStatusFilter() *GrpcStatusFilter

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) MarshalTo

func (m *AccessLogFilter) MarshalTo(dAtA []byte) (int, error)

func (*AccessLogFilter) MarshalToSizedBuffer

func (m *AccessLogFilter) MarshalToSizedBuffer(dAtA []byte) (int, 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_DiscardUnknown

func (m *AccessLogFilter) XXX_DiscardUnknown()

func (*AccessLogFilter) XXX_Marshal

func (m *AccessLogFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AccessLogFilter) XXX_Merge

func (m *AccessLogFilter) XXX_Merge(src proto.Message)

func (*AccessLogFilter) XXX_OneofWrappers

func (*AccessLogFilter) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*AccessLogFilter) XXX_Size

func (m *AccessLogFilter) XXX_Size() int

func (*AccessLogFilter) XXX_Unmarshal

func (m *AccessLogFilter) XXX_Unmarshal(b []byte) error

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

Cause function returns cause value.

func (AccessLogFilterValidationError) Error

Error satisfies the builtin error interface

func (AccessLogFilterValidationError) ErrorName

func (e AccessLogFilterValidationError) ErrorName() string

ErrorName returns error name.

func (AccessLogFilterValidationError) Field

Field function returns field value.

func (AccessLogFilterValidationError) Key

Key function returns key value.

func (AccessLogFilterValidationError) Reason

Reason function returns reason value.

type AccessLogFilter_AndFilter

type AccessLogFilter_AndFilter struct {
	AndFilter *AndFilter `protobuf:"bytes,6,opt,name=and_filter,json=andFilter,proto3,oneof" json:"and_filter,omitempty"`
}

func (*AccessLogFilter_AndFilter) MarshalTo

func (m *AccessLogFilter_AndFilter) MarshalTo(dAtA []byte) (int, error)

func (*AccessLogFilter_AndFilter) MarshalToSizedBuffer

func (m *AccessLogFilter_AndFilter) MarshalToSizedBuffer(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,proto3,oneof" json:"duration_filter,omitempty"`
}

func (*AccessLogFilter_DurationFilter) MarshalTo

func (m *AccessLogFilter_DurationFilter) MarshalTo(dAtA []byte) (int, error)

func (*AccessLogFilter_DurationFilter) MarshalToSizedBuffer

func (m *AccessLogFilter_DurationFilter) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AccessLogFilter_DurationFilter) Size

func (m *AccessLogFilter_DurationFilter) Size() (n int)

type AccessLogFilter_ExtensionFilter

type AccessLogFilter_ExtensionFilter struct {
	ExtensionFilter *ExtensionFilter `protobuf:"bytes,11,opt,name=extension_filter,json=extensionFilter,proto3,oneof" json:"extension_filter,omitempty"`
}

func (*AccessLogFilter_ExtensionFilter) MarshalTo

func (m *AccessLogFilter_ExtensionFilter) MarshalTo(dAtA []byte) (int, error)

func (*AccessLogFilter_ExtensionFilter) MarshalToSizedBuffer

func (m *AccessLogFilter_ExtensionFilter) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AccessLogFilter_ExtensionFilter) Size

func (m *AccessLogFilter_ExtensionFilter) Size() (n int)

type AccessLogFilter_GrpcStatusFilter

type AccessLogFilter_GrpcStatusFilter struct {
	GrpcStatusFilter *GrpcStatusFilter `protobuf:"bytes,10,opt,name=grpc_status_filter,json=grpcStatusFilter,proto3,oneof" json:"grpc_status_filter,omitempty"`
}

func (*AccessLogFilter_GrpcStatusFilter) MarshalTo

func (m *AccessLogFilter_GrpcStatusFilter) MarshalTo(dAtA []byte) (int, error)

func (*AccessLogFilter_GrpcStatusFilter) MarshalToSizedBuffer

func (m *AccessLogFilter_GrpcStatusFilter) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AccessLogFilter_GrpcStatusFilter) Size

func (m *AccessLogFilter_GrpcStatusFilter) Size() (n int)

type AccessLogFilter_HeaderFilter

type AccessLogFilter_HeaderFilter struct {
	HeaderFilter *HeaderFilter `protobuf:"bytes,8,opt,name=header_filter,json=headerFilter,proto3,oneof" json:"header_filter,omitempty"`
}

func (*AccessLogFilter_HeaderFilter) MarshalTo

func (m *AccessLogFilter_HeaderFilter) MarshalTo(dAtA []byte) (int, error)

func (*AccessLogFilter_HeaderFilter) MarshalToSizedBuffer

func (m *AccessLogFilter_HeaderFilter) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AccessLogFilter_HeaderFilter) Size

func (m *AccessLogFilter_HeaderFilter) Size() (n int)

type AccessLogFilter_NotHealthCheckFilter

type AccessLogFilter_NotHealthCheckFilter struct {
	NotHealthCheckFilter *NotHealthCheckFilter `` /* 131-byte string literal not displayed */
}

func (*AccessLogFilter_NotHealthCheckFilter) MarshalTo

func (m *AccessLogFilter_NotHealthCheckFilter) MarshalTo(dAtA []byte) (int, error)

func (*AccessLogFilter_NotHealthCheckFilter) MarshalToSizedBuffer

func (m *AccessLogFilter_NotHealthCheckFilter) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AccessLogFilter_NotHealthCheckFilter) Size

type AccessLogFilter_OrFilter

type AccessLogFilter_OrFilter struct {
	OrFilter *OrFilter `protobuf:"bytes,7,opt,name=or_filter,json=orFilter,proto3,oneof" json:"or_filter,omitempty"`
}

func (*AccessLogFilter_OrFilter) MarshalTo

func (m *AccessLogFilter_OrFilter) MarshalTo(dAtA []byte) (int, error)

func (*AccessLogFilter_OrFilter) MarshalToSizedBuffer

func (m *AccessLogFilter_OrFilter) MarshalToSizedBuffer(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,proto3,oneof" json:"response_flag_filter,omitempty"`
}

func (*AccessLogFilter_ResponseFlagFilter) MarshalTo

func (m *AccessLogFilter_ResponseFlagFilter) MarshalTo(dAtA []byte) (int, error)

func (*AccessLogFilter_ResponseFlagFilter) MarshalToSizedBuffer

func (m *AccessLogFilter_ResponseFlagFilter) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AccessLogFilter_ResponseFlagFilter) Size

type AccessLogFilter_RuntimeFilter

type AccessLogFilter_RuntimeFilter struct {
	RuntimeFilter *RuntimeFilter `protobuf:"bytes,5,opt,name=runtime_filter,json=runtimeFilter,proto3,oneof" json:"runtime_filter,omitempty"`
}

func (*AccessLogFilter_RuntimeFilter) MarshalTo

func (m *AccessLogFilter_RuntimeFilter) MarshalTo(dAtA []byte) (int, error)

func (*AccessLogFilter_RuntimeFilter) MarshalToSizedBuffer

func (m *AccessLogFilter_RuntimeFilter) MarshalToSizedBuffer(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,proto3,oneof" json:"status_code_filter,omitempty"`
}

func (*AccessLogFilter_StatusCodeFilter) MarshalTo

func (m *AccessLogFilter_StatusCodeFilter) MarshalTo(dAtA []byte) (int, error)

func (*AccessLogFilter_StatusCodeFilter) MarshalToSizedBuffer

func (m *AccessLogFilter_StatusCodeFilter) MarshalToSizedBuffer(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,proto3,oneof" json:"traceable_filter,omitempty"`
}

func (*AccessLogFilter_TraceableFilter) MarshalTo

func (m *AccessLogFilter_TraceableFilter) MarshalTo(dAtA []byte) (int, error)

func (*AccessLogFilter_TraceableFilter) MarshalToSizedBuffer

func (m *AccessLogFilter_TraceableFilter) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AccessLogFilter_TraceableFilter) Size

func (m *AccessLogFilter_TraceableFilter) Size() (n int)

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

Key function returns key value.

func (AccessLogValidationError) Reason

func (e AccessLogValidationError) Reason() string

Reason function returns reason value.

type AccessLog_TypedConfig

type AccessLog_TypedConfig struct {
	TypedConfig *types.Any `protobuf:"bytes,4,opt,name=typed_config,json=typedConfig,proto3,oneof" json:"typed_config,omitempty"`
}

func (*AccessLog_TypedConfig) MarshalTo

func (m *AccessLog_TypedConfig) MarshalTo(dAtA []byte) (int, error)

func (*AccessLog_TypedConfig) MarshalToSizedBuffer

func (m *AccessLog_TypedConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AccessLog_TypedConfig) Size

func (m *AccessLog_TypedConfig) Size() (n int)

type AndFilter

type AndFilter struct {
	Filters              []*AccessLogFilter `protobuf:"bytes,1,rep,name=filters,proto3" json:"filters,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

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) Descriptor() ([]byte, []int)

func (*AndFilter) GetFilters

func (m *AndFilter) GetFilters() []*AccessLogFilter

func (*AndFilter) Marshal

func (m *AndFilter) Marshal() (dAtA []byte, err error)

func (*AndFilter) MarshalTo

func (m *AndFilter) MarshalTo(dAtA []byte) (int, error)

func (*AndFilter) MarshalToSizedBuffer

func (m *AndFilter) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AndFilter) ProtoMessage

func (*AndFilter) ProtoMessage()

func (*AndFilter) Reset

func (m *AndFilter) Reset()

func (*AndFilter) Size

func (m *AndFilter) Size() (n int)

func (*AndFilter) String

func (m *AndFilter) String() string

func (*AndFilter) Unmarshal

func (m *AndFilter) Unmarshal(dAtA []byte) error

func (*AndFilter) Validate

func (m *AndFilter) Validate() error

Validate checks the field values on AndFilter with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*AndFilter) XXX_DiscardUnknown

func (m *AndFilter) XXX_DiscardUnknown()

func (*AndFilter) XXX_Marshal

func (m *AndFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AndFilter) XXX_Merge

func (m *AndFilter) XXX_Merge(src proto.Message)

func (*AndFilter) XXX_Size

func (m *AndFilter) XXX_Size() int

func (*AndFilter) XXX_Unmarshal

func (m *AndFilter) XXX_Unmarshal(b []byte) error

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

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"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

Filter on an integer comparison.

func (*ComparisonFilter) Descriptor

func (*ComparisonFilter) Descriptor() ([]byte, []int)

func (*ComparisonFilter) GetOp

func (*ComparisonFilter) GetValue

func (m *ComparisonFilter) GetValue() *v3.RuntimeUInt32

func (*ComparisonFilter) Marshal

func (m *ComparisonFilter) Marshal() (dAtA []byte, err error)

func (*ComparisonFilter) MarshalTo

func (m *ComparisonFilter) MarshalTo(dAtA []byte) (int, error)

func (*ComparisonFilter) MarshalToSizedBuffer

func (m *ComparisonFilter) MarshalToSizedBuffer(dAtA []byte) (int, 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.

func (*ComparisonFilter) XXX_DiscardUnknown

func (m *ComparisonFilter) XXX_DiscardUnknown()

func (*ComparisonFilter) XXX_Marshal

func (m *ComparisonFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ComparisonFilter) XXX_Merge

func (m *ComparisonFilter) XXX_Merge(src proto.Message)

func (*ComparisonFilter) XXX_Size

func (m *ComparisonFilter) XXX_Size() int

func (*ComparisonFilter) XXX_Unmarshal

func (m *ComparisonFilter) XXX_Unmarshal(b []byte) error

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

Cause function returns cause value.

func (ComparisonFilterValidationError) Error

Error satisfies the builtin error interface

func (ComparisonFilterValidationError) ErrorName

ErrorName returns error name.

func (ComparisonFilterValidationError) Field

Field function returns field value.

func (ComparisonFilterValidationError) Key

Key function returns key value.

func (ComparisonFilterValidationError) Reason

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) 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,proto3" json:"comparison,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

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) MarshalTo

func (m *DurationFilter) MarshalTo(dAtA []byte) (int, error)

func (*DurationFilter) MarshalToSizedBuffer

func (m *DurationFilter) MarshalToSizedBuffer(dAtA []byte) (int, 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.

func (*DurationFilter) XXX_DiscardUnknown

func (m *DurationFilter) XXX_DiscardUnknown()

func (*DurationFilter) XXX_Marshal

func (m *DurationFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DurationFilter) XXX_Merge

func (m *DurationFilter) XXX_Merge(src proto.Message)

func (*DurationFilter) XXX_Size

func (m *DurationFilter) XXX_Size() int

func (*DurationFilter) XXX_Unmarshal

func (m *DurationFilter) XXX_Unmarshal(b []byte) error

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

Cause function returns cause value.

func (DurationFilterValidationError) Error

Error satisfies the builtin error interface

func (DurationFilterValidationError) ErrorName

func (e DurationFilterValidationError) ErrorName() string

ErrorName returns error name.

func (DurationFilterValidationError) Field

Field function returns field value.

func (DurationFilterValidationError) Key

Key function returns key value.

func (DurationFilterValidationError) Reason

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 valid to be assigned to ConfigType:
	//	*ExtensionFilter_TypedConfig
	ConfigType           isExtensionFilter_ConfigType `protobuf_oneof:"config_type"`
	XXX_NoUnkeyedLiteral struct{}                     `json:"-"`
	XXX_unrecognized     []byte                       `json:"-"`
	XXX_sizecache        int32                        `json:"-"`
}

Extension filter is statically registered at runtime.

func (*ExtensionFilter) Descriptor

func (*ExtensionFilter) Descriptor() ([]byte, []int)

func (*ExtensionFilter) GetConfigType

func (m *ExtensionFilter) GetConfigType() isExtensionFilter_ConfigType

func (*ExtensionFilter) GetName

func (m *ExtensionFilter) GetName() string

func (*ExtensionFilter) GetTypedConfig

func (m *ExtensionFilter) GetTypedConfig() *types.Any

func (*ExtensionFilter) Marshal

func (m *ExtensionFilter) Marshal() (dAtA []byte, err error)

func (*ExtensionFilter) MarshalTo

func (m *ExtensionFilter) MarshalTo(dAtA []byte) (int, error)

func (*ExtensionFilter) MarshalToSizedBuffer

func (m *ExtensionFilter) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ExtensionFilter) ProtoMessage

func (*ExtensionFilter) ProtoMessage()

func (*ExtensionFilter) Reset

func (m *ExtensionFilter) Reset()

func (*ExtensionFilter) Size

func (m *ExtensionFilter) Size() (n int)

func (*ExtensionFilter) String

func (m *ExtensionFilter) String() string

func (*ExtensionFilter) Unmarshal

func (m *ExtensionFilter) Unmarshal(dAtA []byte) error

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, an error is returned.

func (*ExtensionFilter) XXX_DiscardUnknown

func (m *ExtensionFilter) XXX_DiscardUnknown()

func (*ExtensionFilter) XXX_Marshal

func (m *ExtensionFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ExtensionFilter) XXX_Merge

func (m *ExtensionFilter) XXX_Merge(src proto.Message)

func (*ExtensionFilter) XXX_OneofWrappers

func (*ExtensionFilter) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*ExtensionFilter) XXX_Size

func (m *ExtensionFilter) XXX_Size() int

func (*ExtensionFilter) XXX_Unmarshal

func (m *ExtensionFilter) XXX_Unmarshal(b []byte) error

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

Cause function returns cause value.

func (ExtensionFilterValidationError) Error

Error satisfies the builtin error interface

func (ExtensionFilterValidationError) ErrorName

func (e ExtensionFilterValidationError) ErrorName() string

ErrorName returns error name.

func (ExtensionFilterValidationError) Field

Field function returns field value.

func (ExtensionFilterValidationError) Key

Key function returns key value.

func (ExtensionFilterValidationError) Reason

Reason function returns reason value.

type ExtensionFilter_TypedConfig

type ExtensionFilter_TypedConfig struct {
	TypedConfig *types.Any `protobuf:"bytes,3,opt,name=typed_config,json=typedConfig,proto3,oneof" json:"typed_config,omitempty"`
}

func (*ExtensionFilter_TypedConfig) MarshalTo

func (m *ExtensionFilter_TypedConfig) MarshalTo(dAtA []byte) (int, error)

func (*ExtensionFilter_TypedConfig) MarshalToSizedBuffer

func (m *ExtensionFilter_TypedConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ExtensionFilter_TypedConfig) Size

func (m *ExtensionFilter_TypedConfig) Size() (n int)

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

func (*GrpcStatusFilter) Descriptor() ([]byte, []int)

func (*GrpcStatusFilter) GetExclude

func (m *GrpcStatusFilter) GetExclude() bool

func (*GrpcStatusFilter) GetStatuses

func (m *GrpcStatusFilter) GetStatuses() []GrpcStatusFilter_Status

func (*GrpcStatusFilter) Marshal

func (m *GrpcStatusFilter) Marshal() (dAtA []byte, err error)

func (*GrpcStatusFilter) MarshalTo

func (m *GrpcStatusFilter) MarshalTo(dAtA []byte) (int, error)

func (*GrpcStatusFilter) MarshalToSizedBuffer

func (m *GrpcStatusFilter) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GrpcStatusFilter) ProtoMessage

func (*GrpcStatusFilter) ProtoMessage()

func (*GrpcStatusFilter) Reset

func (m *GrpcStatusFilter) Reset()

func (*GrpcStatusFilter) Size

func (m *GrpcStatusFilter) Size() (n int)

func (*GrpcStatusFilter) String

func (m *GrpcStatusFilter) String() string

func (*GrpcStatusFilter) Unmarshal

func (m *GrpcStatusFilter) Unmarshal(dAtA []byte) error

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, an error is returned.

func (*GrpcStatusFilter) XXX_DiscardUnknown

func (m *GrpcStatusFilter) XXX_DiscardUnknown()

func (*GrpcStatusFilter) XXX_Marshal

func (m *GrpcStatusFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GrpcStatusFilter) XXX_Merge

func (m *GrpcStatusFilter) XXX_Merge(src proto.Message)

func (*GrpcStatusFilter) XXX_Size

func (m *GrpcStatusFilter) XXX_Size() int

func (*GrpcStatusFilter) XXX_Unmarshal

func (m *GrpcStatusFilter) XXX_Unmarshal(b []byte) error

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

Cause function returns cause value.

func (GrpcStatusFilterValidationError) Error

Error satisfies the builtin error interface

func (GrpcStatusFilterValidationError) ErrorName

ErrorName returns error name.

func (GrpcStatusFilterValidationError) Field

Field function returns field value.

func (GrpcStatusFilterValidationError) Key

Key function returns key value.

func (GrpcStatusFilterValidationError) Reason

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) EnumDescriptor

func (GrpcStatusFilter_Status) EnumDescriptor() ([]byte, []int)

func (GrpcStatusFilter_Status) String

func (x GrpcStatusFilter_Status) String() string

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"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

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() *v32.HeaderMatcher

func (*HeaderFilter) Marshal

func (m *HeaderFilter) Marshal() (dAtA []byte, err error)

func (*HeaderFilter) MarshalTo

func (m *HeaderFilter) MarshalTo(dAtA []byte) (int, error)

func (*HeaderFilter) MarshalToSizedBuffer

func (m *HeaderFilter) MarshalToSizedBuffer(dAtA []byte) (int, 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.

func (*HeaderFilter) XXX_DiscardUnknown

func (m *HeaderFilter) XXX_DiscardUnknown()

func (*HeaderFilter) XXX_Marshal

func (m *HeaderFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HeaderFilter) XXX_Merge

func (m *HeaderFilter) XXX_Merge(src proto.Message)

func (*HeaderFilter) XXX_Size

func (m *HeaderFilter) XXX_Size() int

func (*HeaderFilter) XXX_Unmarshal

func (m *HeaderFilter) XXX_Unmarshal(b []byte) error

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

Cause function returns cause value.

func (HeaderFilterValidationError) Error

Error satisfies the builtin error interface

func (HeaderFilterValidationError) ErrorName

func (e HeaderFilterValidationError) ErrorName() string

ErrorName returns error name.

func (HeaderFilterValidationError) Field

Field function returns field value.

func (HeaderFilterValidationError) Key

Key function returns key value.

func (HeaderFilterValidationError) Reason

Reason function returns reason value.

type NotHealthCheckFilter

type NotHealthCheckFilter struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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) MarshalToSizedBuffer

func (m *NotHealthCheckFilter) MarshalToSizedBuffer(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.

func (*NotHealthCheckFilter) XXX_DiscardUnknown

func (m *NotHealthCheckFilter) XXX_DiscardUnknown()

func (*NotHealthCheckFilter) XXX_Marshal

func (m *NotHealthCheckFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NotHealthCheckFilter) XXX_Merge

func (m *NotHealthCheckFilter) XXX_Merge(src proto.Message)

func (*NotHealthCheckFilter) XXX_Size

func (m *NotHealthCheckFilter) XXX_Size() int

func (*NotHealthCheckFilter) XXX_Unmarshal

func (m *NotHealthCheckFilter) XXX_Unmarshal(b []byte) error

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

Cause function returns cause value.

func (NotHealthCheckFilterValidationError) Error

Error satisfies the builtin error interface

func (NotHealthCheckFilterValidationError) ErrorName

ErrorName returns error name.

func (NotHealthCheckFilterValidationError) Field

Field function returns field value.

func (NotHealthCheckFilterValidationError) Key

Key function returns key value.

func (NotHealthCheckFilterValidationError) Reason

Reason function returns reason value.

type OrFilter

type OrFilter struct {
	Filters              []*AccessLogFilter `protobuf:"bytes,2,rep,name=filters,proto3" json:"filters,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

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) Descriptor() ([]byte, []int)

func (*OrFilter) GetFilters

func (m *OrFilter) GetFilters() []*AccessLogFilter

func (*OrFilter) Marshal

func (m *OrFilter) Marshal() (dAtA []byte, err error)

func (*OrFilter) MarshalTo

func (m *OrFilter) MarshalTo(dAtA []byte) (int, error)

func (*OrFilter) MarshalToSizedBuffer

func (m *OrFilter) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OrFilter) ProtoMessage

func (*OrFilter) ProtoMessage()

func (*OrFilter) Reset

func (m *OrFilter) Reset()

func (*OrFilter) Size

func (m *OrFilter) Size() (n int)

func (*OrFilter) String

func (m *OrFilter) String() string

func (*OrFilter) Unmarshal

func (m *OrFilter) Unmarshal(dAtA []byte) error

func (*OrFilter) Validate

func (m *OrFilter) Validate() error

Validate checks the field values on OrFilter with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*OrFilter) XXX_DiscardUnknown

func (m *OrFilter) XXX_DiscardUnknown()

func (*OrFilter) XXX_Marshal

func (m *OrFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OrFilter) XXX_Merge

func (m *OrFilter) XXX_Merge(src proto.Message)

func (*OrFilter) XXX_Size

func (m *OrFilter) XXX_Size() int

func (*OrFilter) XXX_Unmarshal

func (m *OrFilter) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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) MarshalToSizedBuffer

func (m *ResponseFlagFilter) MarshalToSizedBuffer(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.

func (*ResponseFlagFilter) XXX_DiscardUnknown

func (m *ResponseFlagFilter) XXX_DiscardUnknown()

func (*ResponseFlagFilter) XXX_Marshal

func (m *ResponseFlagFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ResponseFlagFilter) XXX_Merge

func (m *ResponseFlagFilter) XXX_Merge(src proto.Message)

func (*ResponseFlagFilter) XXX_Size

func (m *ResponseFlagFilter) XXX_Size() int

func (*ResponseFlagFilter) XXX_Unmarshal

func (m *ResponseFlagFilter) XXX_Unmarshal(b []byte) error

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

Cause function returns cause value.

func (ResponseFlagFilterValidationError) Error

Error satisfies the builtin error interface

func (ResponseFlagFilterValidationError) ErrorName

ErrorName returns error name.

func (ResponseFlagFilterValidationError) Field

Field function returns field value.

func (ResponseFlagFilterValidationError) Key

Key function returns key value.

func (ResponseFlagFilterValidationError) Reason

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_api_msg_config.accesslog.v3.AndFilter>` and :ref:`OrFilter
	// <envoy_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 */
	XXX_NoUnkeyedLiteral     struct{} `json:"-"`
	XXX_unrecognized         []byte   `json:"-"`
	XXX_sizecache            int32    `json:"-"`
}

Filters for random sampling of requests.

func (*RuntimeFilter) Descriptor

func (*RuntimeFilter) Descriptor() ([]byte, []int)

func (*RuntimeFilter) GetPercentSampled

func (m *RuntimeFilter) GetPercentSampled() *v31.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) MarshalTo

func (m *RuntimeFilter) MarshalTo(dAtA []byte) (int, error)

func (*RuntimeFilter) MarshalToSizedBuffer

func (m *RuntimeFilter) MarshalToSizedBuffer(dAtA []byte) (int, 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.

func (*RuntimeFilter) XXX_DiscardUnknown

func (m *RuntimeFilter) XXX_DiscardUnknown()

func (*RuntimeFilter) XXX_Marshal

func (m *RuntimeFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RuntimeFilter) XXX_Merge

func (m *RuntimeFilter) XXX_Merge(src proto.Message)

func (*RuntimeFilter) XXX_Size

func (m *RuntimeFilter) XXX_Size() int

func (*RuntimeFilter) XXX_Unmarshal

func (m *RuntimeFilter) XXX_Unmarshal(b []byte) error

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

Cause function returns cause value.

func (RuntimeFilterValidationError) Error

Error satisfies the builtin error interface

func (RuntimeFilterValidationError) ErrorName

func (e RuntimeFilterValidationError) ErrorName() string

ErrorName returns error name.

func (RuntimeFilterValidationError) Field

Field function returns field value.

func (RuntimeFilterValidationError) Key

Key function returns key value.

func (RuntimeFilterValidationError) Reason

Reason function returns reason value.

type StatusCodeFilter

type StatusCodeFilter struct {
	// Comparison.
	Comparison           *ComparisonFilter `protobuf:"bytes,1,opt,name=comparison,proto3" json:"comparison,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

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) MarshalTo

func (m *StatusCodeFilter) MarshalTo(dAtA []byte) (int, error)

func (*StatusCodeFilter) MarshalToSizedBuffer

func (m *StatusCodeFilter) MarshalToSizedBuffer(dAtA []byte) (int, 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.

func (*StatusCodeFilter) XXX_DiscardUnknown

func (m *StatusCodeFilter) XXX_DiscardUnknown()

func (*StatusCodeFilter) XXX_Marshal

func (m *StatusCodeFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StatusCodeFilter) XXX_Merge

func (m *StatusCodeFilter) XXX_Merge(src proto.Message)

func (*StatusCodeFilter) XXX_Size

func (m *StatusCodeFilter) XXX_Size() int

func (*StatusCodeFilter) XXX_Unmarshal

func (m *StatusCodeFilter) XXX_Unmarshal(b []byte) error

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

Cause function returns cause value.

func (StatusCodeFilterValidationError) Error

Error satisfies the builtin error interface

func (StatusCodeFilterValidationError) ErrorName

ErrorName returns error name.

func (StatusCodeFilterValidationError) Field

Field function returns field value.

func (StatusCodeFilterValidationError) Key

Key function returns key value.

func (StatusCodeFilterValidationError) Reason

Reason function returns reason value.

type TraceableFilter

type TraceableFilter struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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) MarshalTo

func (m *TraceableFilter) MarshalTo(dAtA []byte) (int, error)

func (*TraceableFilter) MarshalToSizedBuffer

func (m *TraceableFilter) MarshalToSizedBuffer(dAtA []byte) (int, 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.

func (*TraceableFilter) XXX_DiscardUnknown

func (m *TraceableFilter) XXX_DiscardUnknown()

func (*TraceableFilter) XXX_Marshal

func (m *TraceableFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TraceableFilter) XXX_Merge

func (m *TraceableFilter) XXX_Merge(src proto.Message)

func (*TraceableFilter) XXX_Size

func (m *TraceableFilter) XXX_Size() int

func (*TraceableFilter) XXX_Unmarshal

func (m *TraceableFilter) XXX_Unmarshal(b []byte) error

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

Cause function returns cause value.

func (TraceableFilterValidationError) Error

Error satisfies the builtin error interface

func (TraceableFilterValidationError) ErrorName

func (e TraceableFilterValidationError) ErrorName() string

ErrorName returns error name.

func (TraceableFilterValidationError) Field

Field function returns field value.

func (TraceableFilterValidationError) Key

Key function returns key value.

func (TraceableFilterValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL