go-control-plane: github.com/envoyproxy/go-control-plane/envoy/config/filter/accesslog/v2 Index | Files

package envoy_config_filter_accesslog_v2

import "github.com/envoyproxy/go-control-plane/envoy/config/filter/accesslog/v2"

Index

Package Files

accesslog.pb.go accesslog.pb.validate.go

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_filter_accesslog_v2_accesslog_proto protoreflect.FileDescriptor

type AccessLog Uses

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_config.accesslog.v2.FileAccessLog>`
    // #. "envoy.access_loggers.http_grpc": :ref:`HttpGrpcAccessLogConfig
    //    <envoy_api_msg_config.accesslog.v2.HttpGrpcAccessLogConfig>`
    // #. "envoy.access_loggers.tcp_grpc": :ref:`TcpGrpcAccessLogConfig
    //    <envoy_api_msg_config.accesslog.v2.TcpGrpcAccessLogConfig>`
    //
    // Types that are assignable to ConfigType:
    //	*AccessLog_Config
    //	*AccessLog_TypedConfig
    ConfigType isAccessLog_ConfigType `protobuf_oneof:"config_type"`
    // contains filtered or unexported fields
}

func (*AccessLog) Descriptor Uses

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

Deprecated: Use AccessLog.ProtoReflect.Descriptor instead.

func (*AccessLog) GetConfig Uses

func (x *AccessLog) GetConfig() *_struct.Struct

Deprecated: Do not use.

func (*AccessLog) GetConfigType Uses

func (m *AccessLog) GetConfigType() isAccessLog_ConfigType

func (*AccessLog) GetFilter Uses

func (x *AccessLog) GetFilter() *AccessLogFilter

func (*AccessLog) GetName Uses

func (x *AccessLog) GetName() string

func (*AccessLog) GetTypedConfig Uses

func (x *AccessLog) GetTypedConfig() *any.Any

func (*AccessLog) ProtoMessage Uses

func (*AccessLog) ProtoMessage()

func (*AccessLog) ProtoReflect Uses

func (x *AccessLog) ProtoReflect() protoreflect.Message

func (*AccessLog) Reset Uses

func (x *AccessLog) Reset()

func (*AccessLog) String Uses

func (x *AccessLog) String() string

func (*AccessLog) Validate Uses

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.

type AccessLogFilter Uses

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
    FilterSpecifier isAccessLogFilter_FilterSpecifier `protobuf_oneof:"filter_specifier"`
    // contains filtered or unexported fields
}

[#next-free-field: 12]

func (*AccessLogFilter) Descriptor Uses

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

Deprecated: Use AccessLogFilter.ProtoReflect.Descriptor instead.

func (*AccessLogFilter) GetAndFilter Uses

func (x *AccessLogFilter) GetAndFilter() *AndFilter

func (*AccessLogFilter) GetDurationFilter Uses

func (x *AccessLogFilter) GetDurationFilter() *DurationFilter

func (*AccessLogFilter) GetExtensionFilter Uses

func (x *AccessLogFilter) GetExtensionFilter() *ExtensionFilter

func (*AccessLogFilter) GetFilterSpecifier Uses

func (m *AccessLogFilter) GetFilterSpecifier() isAccessLogFilter_FilterSpecifier

func (*AccessLogFilter) GetGrpcStatusFilter Uses

func (x *AccessLogFilter) GetGrpcStatusFilter() *GrpcStatusFilter

func (*AccessLogFilter) GetHeaderFilter Uses

func (x *AccessLogFilter) GetHeaderFilter() *HeaderFilter

func (*AccessLogFilter) GetNotHealthCheckFilter Uses

func (x *AccessLogFilter) GetNotHealthCheckFilter() *NotHealthCheckFilter

func (*AccessLogFilter) GetOrFilter Uses

func (x *AccessLogFilter) GetOrFilter() *OrFilter

func (*AccessLogFilter) GetResponseFlagFilter Uses

func (x *AccessLogFilter) GetResponseFlagFilter() *ResponseFlagFilter

func (*AccessLogFilter) GetRuntimeFilter Uses

func (x *AccessLogFilter) GetRuntimeFilter() *RuntimeFilter

func (*AccessLogFilter) GetStatusCodeFilter Uses

func (x *AccessLogFilter) GetStatusCodeFilter() *StatusCodeFilter

func (*AccessLogFilter) GetTraceableFilter Uses

func (x *AccessLogFilter) GetTraceableFilter() *TraceableFilter

func (*AccessLogFilter) ProtoMessage Uses

func (*AccessLogFilter) ProtoMessage()

func (*AccessLogFilter) ProtoReflect Uses

func (x *AccessLogFilter) ProtoReflect() protoreflect.Message

func (*AccessLogFilter) Reset Uses

func (x *AccessLogFilter) Reset()

func (*AccessLogFilter) String Uses

func (x *AccessLogFilter) String() string

func (*AccessLogFilter) Validate Uses

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.

type AccessLogFilterValidationError Uses

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 Uses

func (e AccessLogFilterValidationError) Cause() error

Cause function returns cause value.

func (AccessLogFilterValidationError) Error Uses

func (e AccessLogFilterValidationError) Error() string

Error satisfies the builtin error interface

func (AccessLogFilterValidationError) ErrorName Uses

func (e AccessLogFilterValidationError) ErrorName() string

ErrorName returns error name.

func (AccessLogFilterValidationError) Field Uses

func (e AccessLogFilterValidationError) Field() string

Field function returns field value.

func (AccessLogFilterValidationError) Key Uses

func (e AccessLogFilterValidationError) Key() bool

Key function returns key value.

func (AccessLogFilterValidationError) Reason Uses

func (e AccessLogFilterValidationError) Reason() string

Reason function returns reason value.

type AccessLogFilter_AndFilter Uses

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

type AccessLogFilter_DurationFilter Uses

type AccessLogFilter_DurationFilter struct {
    // Duration filter.
    DurationFilter *DurationFilter `protobuf:"bytes,2,opt,name=duration_filter,json=durationFilter,proto3,oneof"`
}

type AccessLogFilter_ExtensionFilter Uses

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

type AccessLogFilter_GrpcStatusFilter Uses

type AccessLogFilter_GrpcStatusFilter struct {
    // gRPC status filter.
    GrpcStatusFilter *GrpcStatusFilter `protobuf:"bytes,10,opt,name=grpc_status_filter,json=grpcStatusFilter,proto3,oneof"`
}

type AccessLogFilter_HeaderFilter Uses

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

type AccessLogFilter_NotHealthCheckFilter Uses

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 Uses

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

type AccessLogFilter_ResponseFlagFilter Uses

type AccessLogFilter_ResponseFlagFilter struct {
    // Response flag filter.
    ResponseFlagFilter *ResponseFlagFilter `protobuf:"bytes,9,opt,name=response_flag_filter,json=responseFlagFilter,proto3,oneof"`
}

type AccessLogFilter_RuntimeFilter Uses

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

type AccessLogFilter_StatusCodeFilter Uses

type AccessLogFilter_StatusCodeFilter struct {
    // Status code filter.
    StatusCodeFilter *StatusCodeFilter `protobuf:"bytes,1,opt,name=status_code_filter,json=statusCodeFilter,proto3,oneof"`
}

type AccessLogFilter_TraceableFilter Uses

type AccessLogFilter_TraceableFilter struct {
    // Traceable filter.
    TraceableFilter *TraceableFilter `protobuf:"bytes,4,opt,name=traceable_filter,json=traceableFilter,proto3,oneof"`
}

type AccessLogValidationError Uses

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 Uses

func (e AccessLogValidationError) Cause() error

Cause function returns cause value.

func (AccessLogValidationError) Error Uses

func (e AccessLogValidationError) Error() string

Error satisfies the builtin error interface

func (AccessLogValidationError) ErrorName Uses

func (e AccessLogValidationError) ErrorName() string

ErrorName returns error name.

func (AccessLogValidationError) Field Uses

func (e AccessLogValidationError) Field() string

Field function returns field value.

func (AccessLogValidationError) Key Uses

func (e AccessLogValidationError) Key() bool

Key function returns key value.

func (AccessLogValidationError) Reason Uses

func (e AccessLogValidationError) Reason() string

Reason function returns reason value.

type AccessLog_Config Uses

type AccessLog_Config struct {
    // Deprecated: Do not use.
    Config *_struct.Struct `protobuf:"bytes,3,opt,name=config,proto3,oneof"`
}

type AccessLog_TypedConfig Uses

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

type AndFilter Uses

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 Uses

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

Deprecated: Use AndFilter.ProtoReflect.Descriptor instead.

func (*AndFilter) GetFilters Uses

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

func (*AndFilter) ProtoMessage Uses

func (*AndFilter) ProtoMessage()

func (*AndFilter) ProtoReflect Uses

func (x *AndFilter) ProtoReflect() protoreflect.Message

func (*AndFilter) Reset Uses

func (x *AndFilter) Reset()

func (*AndFilter) String Uses

func (x *AndFilter) String() string

func (*AndFilter) Validate Uses

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.

type AndFilterValidationError Uses

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 Uses

func (e AndFilterValidationError) Cause() error

Cause function returns cause value.

func (AndFilterValidationError) Error Uses

func (e AndFilterValidationError) Error() string

Error satisfies the builtin error interface

func (AndFilterValidationError) ErrorName Uses

func (e AndFilterValidationError) ErrorName() string

ErrorName returns error name.

func (AndFilterValidationError) Field Uses

func (e AndFilterValidationError) Field() string

Field function returns field value.

func (AndFilterValidationError) Key Uses

func (e AndFilterValidationError) Key() bool

Key function returns key value.

func (AndFilterValidationError) Reason Uses

func (e AndFilterValidationError) Reason() string

Reason function returns reason value.

type ComparisonFilter Uses

type ComparisonFilter struct {

    // Comparison operator.
    Op  ComparisonFilter_Op `protobuf:"varint,1,opt,name=op,proto3,enum=envoy.config.filter.accesslog.v2.ComparisonFilter_Op" json:"op,omitempty"`
    // Value to compare against.
    Value *core.RuntimeUInt32 `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
    // contains filtered or unexported fields
}

Filter on an integer comparison.

func (*ComparisonFilter) Descriptor Uses

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

Deprecated: Use ComparisonFilter.ProtoReflect.Descriptor instead.

func (*ComparisonFilter) GetOp Uses

func (x *ComparisonFilter) GetOp() ComparisonFilter_Op

func (*ComparisonFilter) GetValue Uses

func (x *ComparisonFilter) GetValue() *core.RuntimeUInt32

func (*ComparisonFilter) ProtoMessage Uses

func (*ComparisonFilter) ProtoMessage()

func (*ComparisonFilter) ProtoReflect Uses

func (x *ComparisonFilter) ProtoReflect() protoreflect.Message

func (*ComparisonFilter) Reset Uses

func (x *ComparisonFilter) Reset()

func (*ComparisonFilter) String Uses

func (x *ComparisonFilter) String() string

func (*ComparisonFilter) Validate Uses

func (m *ComparisonFilter) Validate() error

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

type ComparisonFilterValidationError Uses

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 Uses

func (e ComparisonFilterValidationError) Cause() error

Cause function returns cause value.

func (ComparisonFilterValidationError) Error Uses

func (e ComparisonFilterValidationError) Error() string

Error satisfies the builtin error interface

func (ComparisonFilterValidationError) ErrorName Uses

func (e ComparisonFilterValidationError) ErrorName() string

ErrorName returns error name.

func (ComparisonFilterValidationError) Field Uses

func (e ComparisonFilterValidationError) Field() string

Field function returns field value.

func (ComparisonFilterValidationError) Key Uses

func (e ComparisonFilterValidationError) Key() bool

Key function returns key value.

func (ComparisonFilterValidationError) Reason Uses

func (e ComparisonFilterValidationError) Reason() string

Reason function returns reason value.

type ComparisonFilter_Op Uses

type ComparisonFilter_Op int32
const (
    // =
    ComparisonFilter_EQ ComparisonFilter_Op = 0
    // >=
    ComparisonFilter_GE ComparisonFilter_Op = 1
    // <=
    ComparisonFilter_LE ComparisonFilter_Op = 2
)

func (ComparisonFilter_Op) Descriptor Uses

func (ComparisonFilter_Op) Descriptor() protoreflect.EnumDescriptor

func (ComparisonFilter_Op) Enum Uses

func (x ComparisonFilter_Op) Enum() *ComparisonFilter_Op

func (ComparisonFilter_Op) EnumDescriptor Uses

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

Deprecated: Use ComparisonFilter_Op.Descriptor instead.

func (ComparisonFilter_Op) Number Uses

func (x ComparisonFilter_Op) Number() protoreflect.EnumNumber

func (ComparisonFilter_Op) String Uses

func (x ComparisonFilter_Op) String() string

func (ComparisonFilter_Op) Type Uses

func (ComparisonFilter_Op) Type() protoreflect.EnumType

type DurationFilter Uses

type DurationFilter struct {

    // Comparison.
    Comparison *ComparisonFilter `protobuf:"bytes,1,opt,name=comparison,proto3" json:"comparison,omitempty"`
    // contains filtered or unexported fields
}

Filters on total request duration in milliseconds.

func (*DurationFilter) Descriptor Uses

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

Deprecated: Use DurationFilter.ProtoReflect.Descriptor instead.

func (*DurationFilter) GetComparison Uses

func (x *DurationFilter) GetComparison() *ComparisonFilter

func (*DurationFilter) ProtoMessage Uses

func (*DurationFilter) ProtoMessage()

func (*DurationFilter) ProtoReflect Uses

func (x *DurationFilter) ProtoReflect() protoreflect.Message

func (*DurationFilter) Reset Uses

func (x *DurationFilter) Reset()

func (*DurationFilter) String Uses

func (x *DurationFilter) String() string

func (*DurationFilter) Validate Uses

func (m *DurationFilter) Validate() error

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

type DurationFilterValidationError Uses

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 Uses

func (e DurationFilterValidationError) Cause() error

Cause function returns cause value.

func (DurationFilterValidationError) Error Uses

func (e DurationFilterValidationError) Error() string

Error satisfies the builtin error interface

func (DurationFilterValidationError) ErrorName Uses

func (e DurationFilterValidationError) ErrorName() string

ErrorName returns error name.

func (DurationFilterValidationError) Field Uses

func (e DurationFilterValidationError) Field() string

Field function returns field value.

func (DurationFilterValidationError) Key Uses

func (e DurationFilterValidationError) Key() bool

Key function returns key value.

func (DurationFilterValidationError) Reason Uses

func (e DurationFilterValidationError) Reason() string

Reason function returns reason value.

type ExtensionFilter Uses

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_Config
    //	*ExtensionFilter_TypedConfig
    ConfigType isExtensionFilter_ConfigType `protobuf_oneof:"config_type"`
    // contains filtered or unexported fields
}

Extension filter is statically registered at runtime.

func (*ExtensionFilter) Descriptor Uses

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

Deprecated: Use ExtensionFilter.ProtoReflect.Descriptor instead.

func (*ExtensionFilter) GetConfig Uses

func (x *ExtensionFilter) GetConfig() *_struct.Struct

Deprecated: Do not use.

func (*ExtensionFilter) GetConfigType Uses

func (m *ExtensionFilter) GetConfigType() isExtensionFilter_ConfigType

func (*ExtensionFilter) GetName Uses

func (x *ExtensionFilter) GetName() string

func (*ExtensionFilter) GetTypedConfig Uses

func (x *ExtensionFilter) GetTypedConfig() *any.Any

func (*ExtensionFilter) ProtoMessage Uses

func (*ExtensionFilter) ProtoMessage()

func (*ExtensionFilter) ProtoReflect Uses

func (x *ExtensionFilter) ProtoReflect() protoreflect.Message

func (*ExtensionFilter) Reset Uses

func (x *ExtensionFilter) Reset()

func (*ExtensionFilter) String Uses

func (x *ExtensionFilter) String() string

func (*ExtensionFilter) Validate Uses

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.

type ExtensionFilterValidationError Uses

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 Uses

func (e ExtensionFilterValidationError) Cause() error

Cause function returns cause value.

func (ExtensionFilterValidationError) Error Uses

func (e ExtensionFilterValidationError) Error() string

Error satisfies the builtin error interface

func (ExtensionFilterValidationError) ErrorName Uses

func (e ExtensionFilterValidationError) ErrorName() string

ErrorName returns error name.

func (ExtensionFilterValidationError) Field Uses

func (e ExtensionFilterValidationError) Field() string

Field function returns field value.

func (ExtensionFilterValidationError) Key Uses

func (e ExtensionFilterValidationError) Key() bool

Key function returns key value.

func (ExtensionFilterValidationError) Reason Uses

func (e ExtensionFilterValidationError) Reason() string

Reason function returns reason value.

type ExtensionFilter_Config Uses

type ExtensionFilter_Config struct {
    // Deprecated: Do not use.
    Config *_struct.Struct `protobuf:"bytes,2,opt,name=config,proto3,oneof"`
}

type ExtensionFilter_TypedConfig Uses

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

type GrpcStatusFilter Uses

type GrpcStatusFilter struct {

    // Logs only responses that have any one of the gRPC statuses in this field.
    Statuses []GrpcStatusFilter_Status `protobuf:"varint,1,rep,packed,name=statuses,proto3,enum=envoy.config.filter.accesslog.v2.GrpcStatusFilter_Status" json:"statuses,omitempty"`
    // 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 Uses

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

Deprecated: Use GrpcStatusFilter.ProtoReflect.Descriptor instead.

func (*GrpcStatusFilter) GetExclude Uses

func (x *GrpcStatusFilter) GetExclude() bool

func (*GrpcStatusFilter) GetStatuses Uses

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

func (*GrpcStatusFilter) ProtoMessage Uses

func (*GrpcStatusFilter) ProtoMessage()

func (*GrpcStatusFilter) ProtoReflect Uses

func (x *GrpcStatusFilter) ProtoReflect() protoreflect.Message

func (*GrpcStatusFilter) Reset Uses

func (x *GrpcStatusFilter) Reset()

func (*GrpcStatusFilter) String Uses

func (x *GrpcStatusFilter) String() string

func (*GrpcStatusFilter) Validate Uses

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.

type GrpcStatusFilterValidationError Uses

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 Uses

func (e GrpcStatusFilterValidationError) Cause() error

Cause function returns cause value.

func (GrpcStatusFilterValidationError) Error Uses

func (e GrpcStatusFilterValidationError) Error() string

Error satisfies the builtin error interface

func (GrpcStatusFilterValidationError) ErrorName Uses

func (e GrpcStatusFilterValidationError) ErrorName() string

ErrorName returns error name.

func (GrpcStatusFilterValidationError) Field Uses

func (e GrpcStatusFilterValidationError) Field() string

Field function returns field value.

func (GrpcStatusFilterValidationError) Key Uses

func (e GrpcStatusFilterValidationError) Key() bool

Key function returns key value.

func (GrpcStatusFilterValidationError) Reason Uses

func (e GrpcStatusFilterValidationError) Reason() string

Reason function returns reason value.

type GrpcStatusFilter_Status Uses

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 Uses

func (GrpcStatusFilter_Status) Descriptor() protoreflect.EnumDescriptor

func (GrpcStatusFilter_Status) Enum Uses

func (x GrpcStatusFilter_Status) Enum() *GrpcStatusFilter_Status

func (GrpcStatusFilter_Status) EnumDescriptor Uses

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

Deprecated: Use GrpcStatusFilter_Status.Descriptor instead.

func (GrpcStatusFilter_Status) Number Uses

func (x GrpcStatusFilter_Status) Number() protoreflect.EnumNumber

func (GrpcStatusFilter_Status) String Uses

func (x GrpcStatusFilter_Status) String() string

func (GrpcStatusFilter_Status) Type Uses

func (GrpcStatusFilter_Status) Type() protoreflect.EnumType

type HeaderFilter Uses

type HeaderFilter struct {

    // Only requests with a header which matches the specified HeaderMatcher will pass the filter
    // check.
    Header *route.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 Uses

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

Deprecated: Use HeaderFilter.ProtoReflect.Descriptor instead.

func (*HeaderFilter) GetHeader Uses

func (x *HeaderFilter) GetHeader() *route.HeaderMatcher

func (*HeaderFilter) ProtoMessage Uses

func (*HeaderFilter) ProtoMessage()

func (*HeaderFilter) ProtoReflect Uses

func (x *HeaderFilter) ProtoReflect() protoreflect.Message

func (*HeaderFilter) Reset Uses

func (x *HeaderFilter) Reset()

func (*HeaderFilter) String Uses

func (x *HeaderFilter) String() string

func (*HeaderFilter) Validate Uses

func (m *HeaderFilter) Validate() error

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

type HeaderFilterValidationError Uses

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 Uses

func (e HeaderFilterValidationError) Cause() error

Cause function returns cause value.

func (HeaderFilterValidationError) Error Uses

func (e HeaderFilterValidationError) Error() string

Error satisfies the builtin error interface

func (HeaderFilterValidationError) ErrorName Uses

func (e HeaderFilterValidationError) ErrorName() string

ErrorName returns error name.

func (HeaderFilterValidationError) Field Uses

func (e HeaderFilterValidationError) Field() string

Field function returns field value.

func (HeaderFilterValidationError) Key Uses

func (e HeaderFilterValidationError) Key() bool

Key function returns key value.

func (HeaderFilterValidationError) Reason Uses

func (e HeaderFilterValidationError) Reason() string

Reason function returns reason value.

type NotHealthCheckFilter Uses

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 Uses

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

Deprecated: Use NotHealthCheckFilter.ProtoReflect.Descriptor instead.

func (*NotHealthCheckFilter) ProtoMessage Uses

func (*NotHealthCheckFilter) ProtoMessage()

func (*NotHealthCheckFilter) ProtoReflect Uses

func (x *NotHealthCheckFilter) ProtoReflect() protoreflect.Message

func (*NotHealthCheckFilter) Reset Uses

func (x *NotHealthCheckFilter) Reset()

func (*NotHealthCheckFilter) String Uses

func (x *NotHealthCheckFilter) String() string

func (*NotHealthCheckFilter) Validate Uses

func (m *NotHealthCheckFilter) Validate() error

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

type NotHealthCheckFilterValidationError Uses

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 Uses

func (e NotHealthCheckFilterValidationError) Cause() error

Cause function returns cause value.

func (NotHealthCheckFilterValidationError) Error Uses

func (e NotHealthCheckFilterValidationError) Error() string

Error satisfies the builtin error interface

func (NotHealthCheckFilterValidationError) ErrorName Uses

func (e NotHealthCheckFilterValidationError) ErrorName() string

ErrorName returns error name.

func (NotHealthCheckFilterValidationError) Field Uses

func (e NotHealthCheckFilterValidationError) Field() string

Field function returns field value.

func (NotHealthCheckFilterValidationError) Key Uses

func (e NotHealthCheckFilterValidationError) Key() bool

Key function returns key value.

func (NotHealthCheckFilterValidationError) Reason Uses

func (e NotHealthCheckFilterValidationError) Reason() string

Reason function returns reason value.

type OrFilter Uses

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 Uses

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

Deprecated: Use OrFilter.ProtoReflect.Descriptor instead.

func (*OrFilter) GetFilters Uses

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

func (*OrFilter) ProtoMessage Uses

func (*OrFilter) ProtoMessage()

func (*OrFilter) ProtoReflect Uses

func (x *OrFilter) ProtoReflect() protoreflect.Message

func (*OrFilter) Reset Uses

func (x *OrFilter) Reset()

func (*OrFilter) String Uses

func (x *OrFilter) String() string

func (*OrFilter) Validate Uses

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.

type OrFilterValidationError Uses

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 Uses

func (e OrFilterValidationError) Cause() error

Cause function returns cause value.

func (OrFilterValidationError) Error Uses

func (e OrFilterValidationError) Error() string

Error satisfies the builtin error interface

func (OrFilterValidationError) ErrorName Uses

func (e OrFilterValidationError) ErrorName() string

ErrorName returns error name.

func (OrFilterValidationError) Field Uses

func (e OrFilterValidationError) Field() string

Field function returns field value.

func (OrFilterValidationError) Key Uses

func (e OrFilterValidationError) Key() bool

Key function returns key value.

func (OrFilterValidationError) Reason Uses

func (e OrFilterValidationError) Reason() string

Reason function returns reason value.

type ResponseFlagFilter Uses

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 Uses

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

Deprecated: Use ResponseFlagFilter.ProtoReflect.Descriptor instead.

func (*ResponseFlagFilter) GetFlags Uses

func (x *ResponseFlagFilter) GetFlags() []string

func (*ResponseFlagFilter) ProtoMessage Uses

func (*ResponseFlagFilter) ProtoMessage()

func (*ResponseFlagFilter) ProtoReflect Uses

func (x *ResponseFlagFilter) ProtoReflect() protoreflect.Message

func (*ResponseFlagFilter) Reset Uses

func (x *ResponseFlagFilter) Reset()

func (*ResponseFlagFilter) String Uses

func (x *ResponseFlagFilter) String() string

func (*ResponseFlagFilter) Validate Uses

func (m *ResponseFlagFilter) Validate() error

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

type ResponseFlagFilterValidationError Uses

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 Uses

func (e ResponseFlagFilterValidationError) Cause() error

Cause function returns cause value.

func (ResponseFlagFilterValidationError) Error Uses

func (e ResponseFlagFilterValidationError) Error() string

Error satisfies the builtin error interface

func (ResponseFlagFilterValidationError) ErrorName Uses

func (e ResponseFlagFilterValidationError) ErrorName() string

ErrorName returns error name.

func (ResponseFlagFilterValidationError) Field Uses

func (e ResponseFlagFilterValidationError) Field() string

Field function returns field value.

func (ResponseFlagFilterValidationError) Key Uses

func (e ResponseFlagFilterValidationError) Key() bool

Key function returns key value.

func (ResponseFlagFilterValidationError) Reason Uses

func (e ResponseFlagFilterValidationError) Reason() string

Reason function returns reason value.

type RuntimeFilter Uses

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 *_type.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.filter.accesslog.v2.AndFilter>` and :ref:`OrFilter
    // <envoy_api_msg_config.filter.accesslog.v2.OrFilter>` blocks that are easier to reason about
    // from a probability perspective (i.e., setting to true will cause the filter to behave like
    // an independent random variable when composed within logical operator filters).
    UseIndependentRandomness bool `protobuf:"varint,3,opt,name=use_independent_randomness,json=useIndependentRandomness,proto3" json:"use_independent_randomness,omitempty"`
    // contains filtered or unexported fields
}

Filters for random sampling of requests.

func (*RuntimeFilter) Descriptor Uses

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

Deprecated: Use RuntimeFilter.ProtoReflect.Descriptor instead.

func (*RuntimeFilter) GetPercentSampled Uses

func (x *RuntimeFilter) GetPercentSampled() *_type.FractionalPercent

func (*RuntimeFilter) GetRuntimeKey Uses

func (x *RuntimeFilter) GetRuntimeKey() string

func (*RuntimeFilter) GetUseIndependentRandomness Uses

func (x *RuntimeFilter) GetUseIndependentRandomness() bool

func (*RuntimeFilter) ProtoMessage Uses

func (*RuntimeFilter) ProtoMessage()

func (*RuntimeFilter) ProtoReflect Uses

func (x *RuntimeFilter) ProtoReflect() protoreflect.Message

func (*RuntimeFilter) Reset Uses

func (x *RuntimeFilter) Reset()

func (*RuntimeFilter) String Uses

func (x *RuntimeFilter) String() string

func (*RuntimeFilter) Validate Uses

func (m *RuntimeFilter) Validate() error

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

type RuntimeFilterValidationError Uses

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 Uses

func (e RuntimeFilterValidationError) Cause() error

Cause function returns cause value.

func (RuntimeFilterValidationError) Error Uses

func (e RuntimeFilterValidationError) Error() string

Error satisfies the builtin error interface

func (RuntimeFilterValidationError) ErrorName Uses

func (e RuntimeFilterValidationError) ErrorName() string

ErrorName returns error name.

func (RuntimeFilterValidationError) Field Uses

func (e RuntimeFilterValidationError) Field() string

Field function returns field value.

func (RuntimeFilterValidationError) Key Uses

func (e RuntimeFilterValidationError) Key() bool

Key function returns key value.

func (RuntimeFilterValidationError) Reason Uses

func (e RuntimeFilterValidationError) Reason() string

Reason function returns reason value.

type StatusCodeFilter Uses

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 Uses

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

Deprecated: Use StatusCodeFilter.ProtoReflect.Descriptor instead.

func (*StatusCodeFilter) GetComparison Uses

func (x *StatusCodeFilter) GetComparison() *ComparisonFilter

func (*StatusCodeFilter) ProtoMessage Uses

func (*StatusCodeFilter) ProtoMessage()

func (*StatusCodeFilter) ProtoReflect Uses

func (x *StatusCodeFilter) ProtoReflect() protoreflect.Message

func (*StatusCodeFilter) Reset Uses

func (x *StatusCodeFilter) Reset()

func (*StatusCodeFilter) String Uses

func (x *StatusCodeFilter) String() string

func (*StatusCodeFilter) Validate Uses

func (m *StatusCodeFilter) Validate() error

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

type StatusCodeFilterValidationError Uses

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 Uses

func (e StatusCodeFilterValidationError) Cause() error

Cause function returns cause value.

func (StatusCodeFilterValidationError) Error Uses

func (e StatusCodeFilterValidationError) Error() string

Error satisfies the builtin error interface

func (StatusCodeFilterValidationError) ErrorName Uses

func (e StatusCodeFilterValidationError) ErrorName() string

ErrorName returns error name.

func (StatusCodeFilterValidationError) Field Uses

func (e StatusCodeFilterValidationError) Field() string

Field function returns field value.

func (StatusCodeFilterValidationError) Key Uses

func (e StatusCodeFilterValidationError) Key() bool

Key function returns key value.

func (StatusCodeFilterValidationError) Reason Uses

func (e StatusCodeFilterValidationError) Reason() string

Reason function returns reason value.

type TraceableFilter Uses

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 Uses

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

Deprecated: Use TraceableFilter.ProtoReflect.Descriptor instead.

func (*TraceableFilter) ProtoMessage Uses

func (*TraceableFilter) ProtoMessage()

func (*TraceableFilter) ProtoReflect Uses

func (x *TraceableFilter) ProtoReflect() protoreflect.Message

func (*TraceableFilter) Reset Uses

func (x *TraceableFilter) Reset()

func (*TraceableFilter) String Uses

func (x *TraceableFilter) String() string

func (*TraceableFilter) Validate Uses

func (m *TraceableFilter) Validate() error

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

type TraceableFilterValidationError Uses

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 Uses

func (e TraceableFilterValidationError) Cause() error

Cause function returns cause value.

func (TraceableFilterValidationError) Error Uses

func (e TraceableFilterValidationError) Error() string

Error satisfies the builtin error interface

func (TraceableFilterValidationError) ErrorName Uses

func (e TraceableFilterValidationError) ErrorName() string

ErrorName returns error name.

func (TraceableFilterValidationError) Field Uses

func (e TraceableFilterValidationError) Field() string

Field function returns field value.

func (TraceableFilterValidationError) Key Uses

func (e TraceableFilterValidationError) Key() bool

Key function returns key value.

func (TraceableFilterValidationError) Reason Uses

func (e TraceableFilterValidationError) Reason() string

Reason function returns reason value.

Package envoy_config_filter_accesslog_v2 imports 23 packages (graph) and is imported by 23 packages. Updated 2021-01-08. Refresh now. Tools for package owners.