accesslogv3

package
v1.36.3-20240508200700... Latest Latest
Warning

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

Go to latest
Published: unknown License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const TLSProperties_CertificateProperties_SubjectAltName_Dns_case case_TLSProperties_CertificateProperties_SubjectAltName_San = 2
View Source
const TLSProperties_CertificateProperties_SubjectAltName_San_not_set_case case_TLSProperties_CertificateProperties_SubjectAltName_San = 0
View Source
const TLSProperties_CertificateProperties_SubjectAltName_Uri_case case_TLSProperties_CertificateProperties_SubjectAltName_San = 1

Variables

View Source
var (
	AccessLogType_name = map[int32]string{
		0:  "NotSet",
		1:  "TcpUpstreamConnected",
		2:  "TcpPeriodic",
		3:  "TcpConnectionEnd",
		4:  "DownstreamStart",
		5:  "DownstreamPeriodic",
		6:  "DownstreamEnd",
		7:  "UpstreamPoolReady",
		8:  "UpstreamPeriodic",
		9:  "UpstreamEnd",
		10: "DownstreamTunnelSuccessfullyEstablished",
		11: "UdpTunnelUpstreamConnected",
		12: "UdpPeriodic",
		13: "UdpSessionEnd",
	}
	AccessLogType_value = map[string]int32{
		"NotSet":               0,
		"TcpUpstreamConnected": 1,
		"TcpPeriodic":          2,
		"TcpConnectionEnd":     3,
		"DownstreamStart":      4,
		"DownstreamPeriodic":   5,
		"DownstreamEnd":        6,
		"UpstreamPoolReady":    7,
		"UpstreamPeriodic":     8,
		"UpstreamEnd":          9,
		"DownstreamTunnelSuccessfullyEstablished": 10,
		"UdpTunnelUpstreamConnected":              11,
		"UdpPeriodic":                             12,
		"UdpSessionEnd":                           13,
	}
)

Enum value maps for AccessLogType.

View Source
var (
	HTTPAccessLogEntry_HTTPVersion_name = map[int32]string{
		0: "PROTOCOL_UNSPECIFIED",
		1: "HTTP10",
		2: "HTTP11",
		3: "HTTP2",
		4: "HTTP3",
	}
	HTTPAccessLogEntry_HTTPVersion_value = map[string]int32{
		"PROTOCOL_UNSPECIFIED": 0,
		"HTTP10":               1,
		"HTTP11":               2,
		"HTTP2":                3,
		"HTTP3":                4,
	}
)

Enum value maps for HTTPAccessLogEntry_HTTPVersion.

View Source
var (
	ResponseFlags_Unauthorized_Reason_name = map[int32]string{
		0: "REASON_UNSPECIFIED",
		1: "EXTERNAL_SERVICE",
	}
	ResponseFlags_Unauthorized_Reason_value = map[string]int32{
		"REASON_UNSPECIFIED": 0,
		"EXTERNAL_SERVICE":   1,
	}
)

Enum value maps for ResponseFlags_Unauthorized_Reason.

View Source
var (
	TLSProperties_TLSVersion_name = map[int32]string{
		0: "VERSION_UNSPECIFIED",
		1: "TLSv1",
		2: "TLSv1_1",
		3: "TLSv1_2",
		4: "TLSv1_3",
	}
	TLSProperties_TLSVersion_value = map[string]int32{
		"VERSION_UNSPECIFIED": 0,
		"TLSv1":               1,
		"TLSv1_1":             2,
		"TLSv1_2":             3,
		"TLSv1_3":             4,
	}
)

Enum value maps for TLSProperties_TLSVersion.

View Source
var File_envoy_data_accesslog_v3_accesslog_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AccessLogCommon

type AccessLogCommon struct {

	// [#not-implemented-hide:]
	// This field indicates the rate at which this log entry was sampled.
	// Valid range is (0.0, 1.0].
	SampleRate float64 `protobuf:"fixed64,1,opt,name=sample_rate,json=sampleRate,proto3" json:"sample_rate,omitempty"`
	// This field is the remote/origin address on which the request from the user was received.
	// Note: This may not be the physical peer. E.g, if the remote address is inferred from for
	// example the x-forwarder-for header, proxy protocol, etc.
	DownstreamRemoteAddress *v3.Address `` /* 132-byte string literal not displayed */
	// This field is the local/destination address on which the request from the user was received.
	DownstreamLocalAddress *v3.Address `` /* 129-byte string literal not displayed */
	// If the connection is secure,S this field will contain TLS properties.
	TlsProperties *TLSProperties `protobuf:"bytes,4,opt,name=tls_properties,json=tlsProperties,proto3" json:"tls_properties,omitempty"`
	// The time that Envoy started servicing this request. This is effectively the time that the first
	// downstream byte is received.
	StartTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// Interval between the first downstream byte received and the last
	// downstream byte received (i.e. time it takes to receive a request).
	TimeToLastRxByte *durationpb.Duration `protobuf:"bytes,6,opt,name=time_to_last_rx_byte,json=timeToLastRxByte,proto3" json:"time_to_last_rx_byte,omitempty"`
	// Interval between the first downstream byte received and the first upstream byte sent. There may
	// by considerable delta between “time_to_last_rx_byte“ and this value due to filters.
	// Additionally, the same caveats apply as documented in “time_to_last_downstream_tx_byte“ about
	// not accounting for kernel socket buffer time, etc.
	TimeToFirstUpstreamTxByte *durationpb.Duration `` /* 144-byte string literal not displayed */
	// Interval between the first downstream byte received and the last upstream byte sent. There may
	// by considerable delta between “time_to_last_rx_byte“ and this value due to filters.
	// Additionally, the same caveats apply as documented in “time_to_last_downstream_tx_byte“ about
	// not accounting for kernel socket buffer time, etc.
	TimeToLastUpstreamTxByte *durationpb.Duration `` /* 141-byte string literal not displayed */
	// Interval between the first downstream byte received and the first upstream
	// byte received (i.e. time it takes to start receiving a response).
	TimeToFirstUpstreamRxByte *durationpb.Duration `` /* 144-byte string literal not displayed */
	// Interval between the first downstream byte received and the last upstream
	// byte received (i.e. time it takes to receive a complete response).
	TimeToLastUpstreamRxByte *durationpb.Duration `` /* 142-byte string literal not displayed */
	// Interval between the first downstream byte received and the first downstream byte sent.
	// There may be a considerable delta between the “time_to_first_upstream_rx_byte“ and this field
	// due to filters. Additionally, the same caveats apply as documented in
	// “time_to_last_downstream_tx_byte“ about not accounting for kernel socket buffer time, etc.
	TimeToFirstDownstreamTxByte *durationpb.Duration `` /* 151-byte string literal not displayed */
	// Interval between the first downstream byte received and the last downstream byte sent.
	// Depending on protocol, buffering, windowing, filters, etc. there may be a considerable delta
	// between “time_to_last_upstream_rx_byte“ and this field. Note also that this is an approximate
	// time. In the current implementation it does not include kernel socket buffer time. In the
	// current implementation it also does not include send window buffering inside the HTTP/2 codec.
	// In the future it is likely that work will be done to make this duration more accurate.
	TimeToLastDownstreamTxByte *durationpb.Duration `` /* 148-byte string literal not displayed */
	// The upstream remote/destination address that handles this exchange. This does not include
	// retries.
	UpstreamRemoteAddress *v3.Address `` /* 127-byte string literal not displayed */
	// The upstream local/origin address that handles this exchange. This does not include retries.
	UpstreamLocalAddress *v3.Address `protobuf:"bytes,14,opt,name=upstream_local_address,json=upstreamLocalAddress,proto3" json:"upstream_local_address,omitempty"`
	// The upstream cluster that “upstream_remote_address“ belongs to.
	UpstreamCluster string `protobuf:"bytes,15,opt,name=upstream_cluster,json=upstreamCluster,proto3" json:"upstream_cluster,omitempty"`
	// Flags indicating occurrences during request/response processing.
	ResponseFlags *ResponseFlags `protobuf:"bytes,16,opt,name=response_flags,json=responseFlags,proto3" json:"response_flags,omitempty"`
	// All metadata encountered during request processing, including endpoint
	// selection.
	//
	// This can be used to associate IDs attached to the various configurations
	// used to process this request with the access log entry. For example, a
	// route created from a higher level forwarding rule with some ID can place
	// that ID in this field and cross reference later. It can also be used to
	// determine if a canary endpoint was used or not.
	Metadata *v3.Metadata `protobuf:"bytes,17,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// If upstream connection failed due to transport socket (e.g. TLS handshake), provides the
	// failure reason from the transport socket. The format of this field depends on the configured
	// upstream transport socket. Common TLS failures are in
	// :ref:`TLS trouble shooting <arch_overview_ssl_trouble_shooting>`.
	UpstreamTransportFailureReason string `` /* 156-byte string literal not displayed */
	// The name of the route
	RouteName string `protobuf:"bytes,19,opt,name=route_name,json=routeName,proto3" json:"route_name,omitempty"`
	// This field is the downstream direct remote address on which the request from the user was
	// received. Note: This is always the physical peer, even if the remote address is inferred from
	// for example the x-forwarder-for header, proxy protocol, etc.
	DownstreamDirectRemoteAddress *v3.Address `` /* 153-byte string literal not displayed */
	// Map of filter state in stream info that have been configured to be logged. If the filter
	// state serialized to any message other than “google.protobuf.Any“ it will be packed into
	// “google.protobuf.Any“.
	FilterStateObjects map[string]*anypb.Any `` /* 192-byte string literal not displayed */
	// A list of custom tags, which annotate logs with additional information.
	// To configure this value, users should configure
	// :ref:`custom_tags <envoy_v3_api_field_extensions.access_loggers.grpc.v3.CommonGrpcAccessLogConfig.custom_tags>`.
	CustomTags map[string]string `` /* 166-byte string literal not displayed */
	// For HTTP: Total duration in milliseconds of the request from the start time to the last byte out.
	// For TCP: Total duration in milliseconds of the downstream connection.
	// This is the total duration of the request (i.e., when the request's ActiveStream is destroyed)
	// and may be longer than “time_to_last_downstream_tx_byte“.
	Duration *durationpb.Duration `protobuf:"bytes,23,opt,name=duration,proto3" json:"duration,omitempty"`
	// For HTTP: Number of times the request is attempted upstream. Note that the field is omitted when the request was never attempted upstream.
	// For TCP: Number of times the connection request is attempted upstream. Note that the field is omitted when the connect request was never attempted upstream.
	UpstreamRequestAttemptCount uint32 `` /* 148-byte string literal not displayed */
	// Connection termination details may provide additional information about why the connection was terminated by Envoy for L4 reasons.
	ConnectionTerminationDetails string `` /* 148-byte string literal not displayed */
	// Optional unique id of stream (TCP connection, long-live HTTP2 stream, HTTP request) for logging and tracing.
	// This could be any format string that could be used to identify one stream.
	StreamId string `protobuf:"bytes,26,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"`
	// If this log entry is final log entry that flushed after the stream completed or
	// intermediate log entry that flushed periodically during the stream.
	// There may be multiple intermediate log entries and only one final log entry for each
	// long-live stream (TCP connection, long-live HTTP2 stream).
	// And if it is necessary, unique ID or identifier can be added to the log entry
	// :ref:`stream_id <envoy_v3_api_field_data.accesslog.v3.AccessLogCommon.stream_id>` to
	// correlate all these intermediate log entries and final log entry.
	//
	// .. attention::
	//
	//	This field is deprecated in favor of “access_log_type“ for better indication of the
	//	type of the access log record.
	//
	// Deprecated: Marked as deprecated in envoy/data/accesslog/v3/accesslog.proto.
	IntermediateLogEntry bool `protobuf:"varint,27,opt,name=intermediate_log_entry,json=intermediateLogEntry,proto3" json:"intermediate_log_entry,omitempty"`
	// If downstream connection in listener failed due to transport socket (e.g. TLS handshake), provides the
	// failure reason from the transport socket. The format of this field depends on the configured downstream
	// transport socket. Common TLS failures are in :ref:`TLS trouble shooting <arch_overview_ssl_trouble_shooting>`.
	DownstreamTransportFailureReason string `` /* 162-byte string literal not displayed */
	// For HTTP: Total number of bytes sent to the downstream by the http stream.
	// For TCP: Total number of bytes sent to the downstream by the tcp proxy.
	DownstreamWireBytesSent uint64 `` /* 136-byte string literal not displayed */
	// For HTTP: Total number of bytes received from the downstream by the http stream. Envoy over counts sizes of received HTTP/1.1 pipelined requests by adding up bytes of requests in the pipeline to the one currently being processed.
	// For TCP: Total number of bytes received from the downstream by the tcp proxy.
	DownstreamWireBytesReceived uint64 `` /* 148-byte string literal not displayed */
	// For HTTP: Total number of bytes sent to the upstream by the http stream. This value accumulates during upstream retries.
	// For TCP: Total number of bytes sent to the upstream by the tcp proxy.
	UpstreamWireBytesSent uint64 `` /* 130-byte string literal not displayed */
	// For HTTP: Total number of bytes received from the upstream by the http stream.
	// For TCP: Total number of bytes sent to the upstream by the tcp proxy.
	UpstreamWireBytesReceived uint64 `` /* 142-byte string literal not displayed */
	// The type of the access log, which indicates when the log was recorded.
	// See :ref:`ACCESS_LOG_TYPE <config_access_log_format_access_log_type>` for the available values.
	// In case the access log was recorded by a flow which does not correspond to one of the supported
	// values, then the default value will be “NotSet“.
	// For more information about how access log behaves and when it is being recorded,
	// please refer to :ref:`access logging <arch_overview_access_logs>`.
	AccessLogType AccessLogType `` /* 147-byte string literal not displayed */
	// contains filtered or unexported fields
}

Defines fields that are shared by all Envoy access logs. [#next-free-field: 34]

func (*AccessLogCommon) ClearDownstreamDirectRemoteAddress

func (x *AccessLogCommon) ClearDownstreamDirectRemoteAddress()

func (*AccessLogCommon) ClearDownstreamLocalAddress

func (x *AccessLogCommon) ClearDownstreamLocalAddress()

func (*AccessLogCommon) ClearDownstreamRemoteAddress

func (x *AccessLogCommon) ClearDownstreamRemoteAddress()

func (*AccessLogCommon) ClearDuration

func (x *AccessLogCommon) ClearDuration()

func (*AccessLogCommon) ClearMetadata

func (x *AccessLogCommon) ClearMetadata()

func (*AccessLogCommon) ClearResponseFlags

func (x *AccessLogCommon) ClearResponseFlags()

func (*AccessLogCommon) ClearStartTime

func (x *AccessLogCommon) ClearStartTime()

func (*AccessLogCommon) ClearTimeToFirstDownstreamTxByte

func (x *AccessLogCommon) ClearTimeToFirstDownstreamTxByte()

func (*AccessLogCommon) ClearTimeToFirstUpstreamRxByte

func (x *AccessLogCommon) ClearTimeToFirstUpstreamRxByte()

func (*AccessLogCommon) ClearTimeToFirstUpstreamTxByte

func (x *AccessLogCommon) ClearTimeToFirstUpstreamTxByte()

func (*AccessLogCommon) ClearTimeToLastDownstreamTxByte

func (x *AccessLogCommon) ClearTimeToLastDownstreamTxByte()

func (*AccessLogCommon) ClearTimeToLastRxByte

func (x *AccessLogCommon) ClearTimeToLastRxByte()

func (*AccessLogCommon) ClearTimeToLastUpstreamRxByte

func (x *AccessLogCommon) ClearTimeToLastUpstreamRxByte()

func (*AccessLogCommon) ClearTimeToLastUpstreamTxByte

func (x *AccessLogCommon) ClearTimeToLastUpstreamTxByte()

func (*AccessLogCommon) ClearTlsProperties

func (x *AccessLogCommon) ClearTlsProperties()

func (*AccessLogCommon) ClearUpstreamLocalAddress

func (x *AccessLogCommon) ClearUpstreamLocalAddress()

func (*AccessLogCommon) ClearUpstreamRemoteAddress

func (x *AccessLogCommon) ClearUpstreamRemoteAddress()

func (*AccessLogCommon) GetAccessLogType

func (x *AccessLogCommon) GetAccessLogType() AccessLogType

func (*AccessLogCommon) GetConnectionTerminationDetails

func (x *AccessLogCommon) GetConnectionTerminationDetails() string

func (*AccessLogCommon) GetCustomTags

func (x *AccessLogCommon) GetCustomTags() map[string]string

func (*AccessLogCommon) GetDownstreamDirectRemoteAddress

func (x *AccessLogCommon) GetDownstreamDirectRemoteAddress() *v3.Address

func (*AccessLogCommon) GetDownstreamLocalAddress

func (x *AccessLogCommon) GetDownstreamLocalAddress() *v3.Address

func (*AccessLogCommon) GetDownstreamRemoteAddress

func (x *AccessLogCommon) GetDownstreamRemoteAddress() *v3.Address

func (*AccessLogCommon) GetDownstreamTransportFailureReason

func (x *AccessLogCommon) GetDownstreamTransportFailureReason() string

func (*AccessLogCommon) GetDownstreamWireBytesReceived

func (x *AccessLogCommon) GetDownstreamWireBytesReceived() uint64

func (*AccessLogCommon) GetDownstreamWireBytesSent

func (x *AccessLogCommon) GetDownstreamWireBytesSent() uint64

func (*AccessLogCommon) GetDuration

func (x *AccessLogCommon) GetDuration() *durationpb.Duration

func (*AccessLogCommon) GetFilterStateObjects

func (x *AccessLogCommon) GetFilterStateObjects() map[string]*anypb.Any

func (*AccessLogCommon) GetIntermediateLogEntry deprecated

func (x *AccessLogCommon) GetIntermediateLogEntry() bool

Deprecated: Marked as deprecated in envoy/data/accesslog/v3/accesslog.proto.

func (*AccessLogCommon) GetMetadata

func (x *AccessLogCommon) GetMetadata() *v3.Metadata

func (*AccessLogCommon) GetResponseFlags

func (x *AccessLogCommon) GetResponseFlags() *ResponseFlags

func (*AccessLogCommon) GetRouteName

func (x *AccessLogCommon) GetRouteName() string

func (*AccessLogCommon) GetSampleRate

func (x *AccessLogCommon) GetSampleRate() float64

func (*AccessLogCommon) GetStartTime

func (x *AccessLogCommon) GetStartTime() *timestamppb.Timestamp

func (*AccessLogCommon) GetStreamId

func (x *AccessLogCommon) GetStreamId() string

func (*AccessLogCommon) GetTimeToFirstDownstreamTxByte

func (x *AccessLogCommon) GetTimeToFirstDownstreamTxByte() *durationpb.Duration

func (*AccessLogCommon) GetTimeToFirstUpstreamRxByte

func (x *AccessLogCommon) GetTimeToFirstUpstreamRxByte() *durationpb.Duration

func (*AccessLogCommon) GetTimeToFirstUpstreamTxByte

func (x *AccessLogCommon) GetTimeToFirstUpstreamTxByte() *durationpb.Duration

func (*AccessLogCommon) GetTimeToLastDownstreamTxByte

func (x *AccessLogCommon) GetTimeToLastDownstreamTxByte() *durationpb.Duration

func (*AccessLogCommon) GetTimeToLastRxByte

func (x *AccessLogCommon) GetTimeToLastRxByte() *durationpb.Duration

func (*AccessLogCommon) GetTimeToLastUpstreamRxByte

func (x *AccessLogCommon) GetTimeToLastUpstreamRxByte() *durationpb.Duration

func (*AccessLogCommon) GetTimeToLastUpstreamTxByte

func (x *AccessLogCommon) GetTimeToLastUpstreamTxByte() *durationpb.Duration

func (*AccessLogCommon) GetTlsProperties

func (x *AccessLogCommon) GetTlsProperties() *TLSProperties

func (*AccessLogCommon) GetUpstreamCluster

func (x *AccessLogCommon) GetUpstreamCluster() string

func (*AccessLogCommon) GetUpstreamLocalAddress

func (x *AccessLogCommon) GetUpstreamLocalAddress() *v3.Address

func (*AccessLogCommon) GetUpstreamRemoteAddress

func (x *AccessLogCommon) GetUpstreamRemoteAddress() *v3.Address

func (*AccessLogCommon) GetUpstreamRequestAttemptCount

func (x *AccessLogCommon) GetUpstreamRequestAttemptCount() uint32

func (*AccessLogCommon) GetUpstreamTransportFailureReason

func (x *AccessLogCommon) GetUpstreamTransportFailureReason() string

func (*AccessLogCommon) GetUpstreamWireBytesReceived

func (x *AccessLogCommon) GetUpstreamWireBytesReceived() uint64

func (*AccessLogCommon) GetUpstreamWireBytesSent

func (x *AccessLogCommon) GetUpstreamWireBytesSent() uint64

func (*AccessLogCommon) HasDownstreamDirectRemoteAddress

func (x *AccessLogCommon) HasDownstreamDirectRemoteAddress() bool

func (*AccessLogCommon) HasDownstreamLocalAddress

func (x *AccessLogCommon) HasDownstreamLocalAddress() bool

func (*AccessLogCommon) HasDownstreamRemoteAddress

func (x *AccessLogCommon) HasDownstreamRemoteAddress() bool

func (*AccessLogCommon) HasDuration

func (x *AccessLogCommon) HasDuration() bool

func (*AccessLogCommon) HasMetadata

func (x *AccessLogCommon) HasMetadata() bool

func (*AccessLogCommon) HasResponseFlags

func (x *AccessLogCommon) HasResponseFlags() bool

func (*AccessLogCommon) HasStartTime

func (x *AccessLogCommon) HasStartTime() bool

func (*AccessLogCommon) HasTimeToFirstDownstreamTxByte

func (x *AccessLogCommon) HasTimeToFirstDownstreamTxByte() bool

func (*AccessLogCommon) HasTimeToFirstUpstreamRxByte

func (x *AccessLogCommon) HasTimeToFirstUpstreamRxByte() bool

func (*AccessLogCommon) HasTimeToFirstUpstreamTxByte

func (x *AccessLogCommon) HasTimeToFirstUpstreamTxByte() bool

func (*AccessLogCommon) HasTimeToLastDownstreamTxByte

func (x *AccessLogCommon) HasTimeToLastDownstreamTxByte() bool

func (*AccessLogCommon) HasTimeToLastRxByte

func (x *AccessLogCommon) HasTimeToLastRxByte() bool

func (*AccessLogCommon) HasTimeToLastUpstreamRxByte

func (x *AccessLogCommon) HasTimeToLastUpstreamRxByte() bool

func (*AccessLogCommon) HasTimeToLastUpstreamTxByte

func (x *AccessLogCommon) HasTimeToLastUpstreamTxByte() bool

func (*AccessLogCommon) HasTlsProperties

func (x *AccessLogCommon) HasTlsProperties() bool

func (*AccessLogCommon) HasUpstreamLocalAddress

func (x *AccessLogCommon) HasUpstreamLocalAddress() bool

func (*AccessLogCommon) HasUpstreamRemoteAddress

func (x *AccessLogCommon) HasUpstreamRemoteAddress() bool

func (*AccessLogCommon) ProtoMessage

func (*AccessLogCommon) ProtoMessage()

func (*AccessLogCommon) ProtoReflect

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

func (*AccessLogCommon) Reset

func (x *AccessLogCommon) Reset()

func (*AccessLogCommon) SetAccessLogType

func (x *AccessLogCommon) SetAccessLogType(v AccessLogType)

func (*AccessLogCommon) SetConnectionTerminationDetails

func (x *AccessLogCommon) SetConnectionTerminationDetails(v string)

func (*AccessLogCommon) SetCustomTags

func (x *AccessLogCommon) SetCustomTags(v map[string]string)

func (*AccessLogCommon) SetDownstreamDirectRemoteAddress

func (x *AccessLogCommon) SetDownstreamDirectRemoteAddress(v *v3.Address)

func (*AccessLogCommon) SetDownstreamLocalAddress

func (x *AccessLogCommon) SetDownstreamLocalAddress(v *v3.Address)

func (*AccessLogCommon) SetDownstreamRemoteAddress

func (x *AccessLogCommon) SetDownstreamRemoteAddress(v *v3.Address)

func (*AccessLogCommon) SetDownstreamTransportFailureReason

func (x *AccessLogCommon) SetDownstreamTransportFailureReason(v string)

func (*AccessLogCommon) SetDownstreamWireBytesReceived

func (x *AccessLogCommon) SetDownstreamWireBytesReceived(v uint64)

func (*AccessLogCommon) SetDownstreamWireBytesSent

func (x *AccessLogCommon) SetDownstreamWireBytesSent(v uint64)

func (*AccessLogCommon) SetDuration

func (x *AccessLogCommon) SetDuration(v *durationpb.Duration)

func (*AccessLogCommon) SetFilterStateObjects

func (x *AccessLogCommon) SetFilterStateObjects(v map[string]*anypb.Any)

func (*AccessLogCommon) SetIntermediateLogEntry deprecated

func (x *AccessLogCommon) SetIntermediateLogEntry(v bool)

Deprecated: Marked as deprecated in envoy/data/accesslog/v3/accesslog.proto.

func (*AccessLogCommon) SetMetadata

func (x *AccessLogCommon) SetMetadata(v *v3.Metadata)

func (*AccessLogCommon) SetResponseFlags

func (x *AccessLogCommon) SetResponseFlags(v *ResponseFlags)

func (*AccessLogCommon) SetRouteName

func (x *AccessLogCommon) SetRouteName(v string)

func (*AccessLogCommon) SetSampleRate

func (x *AccessLogCommon) SetSampleRate(v float64)

func (*AccessLogCommon) SetStartTime

func (x *AccessLogCommon) SetStartTime(v *timestamppb.Timestamp)

func (*AccessLogCommon) SetStreamId

func (x *AccessLogCommon) SetStreamId(v string)

func (*AccessLogCommon) SetTimeToFirstDownstreamTxByte

func (x *AccessLogCommon) SetTimeToFirstDownstreamTxByte(v *durationpb.Duration)

func (*AccessLogCommon) SetTimeToFirstUpstreamRxByte

func (x *AccessLogCommon) SetTimeToFirstUpstreamRxByte(v *durationpb.Duration)

func (*AccessLogCommon) SetTimeToFirstUpstreamTxByte

func (x *AccessLogCommon) SetTimeToFirstUpstreamTxByte(v *durationpb.Duration)

func (*AccessLogCommon) SetTimeToLastDownstreamTxByte

func (x *AccessLogCommon) SetTimeToLastDownstreamTxByte(v *durationpb.Duration)

func (*AccessLogCommon) SetTimeToLastRxByte

func (x *AccessLogCommon) SetTimeToLastRxByte(v *durationpb.Duration)

func (*AccessLogCommon) SetTimeToLastUpstreamRxByte

func (x *AccessLogCommon) SetTimeToLastUpstreamRxByte(v *durationpb.Duration)

func (*AccessLogCommon) SetTimeToLastUpstreamTxByte

func (x *AccessLogCommon) SetTimeToLastUpstreamTxByte(v *durationpb.Duration)

func (*AccessLogCommon) SetTlsProperties

func (x *AccessLogCommon) SetTlsProperties(v *TLSProperties)

func (*AccessLogCommon) SetUpstreamCluster

func (x *AccessLogCommon) SetUpstreamCluster(v string)

func (*AccessLogCommon) SetUpstreamLocalAddress

func (x *AccessLogCommon) SetUpstreamLocalAddress(v *v3.Address)

func (*AccessLogCommon) SetUpstreamRemoteAddress

func (x *AccessLogCommon) SetUpstreamRemoteAddress(v *v3.Address)

func (*AccessLogCommon) SetUpstreamRequestAttemptCount

func (x *AccessLogCommon) SetUpstreamRequestAttemptCount(v uint32)

func (*AccessLogCommon) SetUpstreamTransportFailureReason

func (x *AccessLogCommon) SetUpstreamTransportFailureReason(v string)

func (*AccessLogCommon) SetUpstreamWireBytesReceived

func (x *AccessLogCommon) SetUpstreamWireBytesReceived(v uint64)

func (*AccessLogCommon) SetUpstreamWireBytesSent

func (x *AccessLogCommon) SetUpstreamWireBytesSent(v uint64)

func (*AccessLogCommon) String

func (x *AccessLogCommon) String() string

type AccessLogCommon_builder

type AccessLogCommon_builder struct {

	// [#not-implemented-hide:]
	// This field indicates the rate at which this log entry was sampled.
	// Valid range is (0.0, 1.0].
	SampleRate float64
	// This field is the remote/origin address on which the request from the user was received.
	// Note: This may not be the physical peer. E.g, if the remote address is inferred from for
	// example the x-forwarder-for header, proxy protocol, etc.
	DownstreamRemoteAddress *v3.Address
	// This field is the local/destination address on which the request from the user was received.
	DownstreamLocalAddress *v3.Address
	// If the connection is secure,S this field will contain TLS properties.
	TlsProperties *TLSProperties
	// The time that Envoy started servicing this request. This is effectively the time that the first
	// downstream byte is received.
	StartTime *timestamppb.Timestamp
	// Interval between the first downstream byte received and the last
	// downstream byte received (i.e. time it takes to receive a request).
	TimeToLastRxByte *durationpb.Duration
	// Interval between the first downstream byte received and the first upstream byte sent. There may
	// by considerable delta between “time_to_last_rx_byte“ and this value due to filters.
	// Additionally, the same caveats apply as documented in “time_to_last_downstream_tx_byte“ about
	// not accounting for kernel socket buffer time, etc.
	TimeToFirstUpstreamTxByte *durationpb.Duration
	// Interval between the first downstream byte received and the last upstream byte sent. There may
	// by considerable delta between “time_to_last_rx_byte“ and this value due to filters.
	// Additionally, the same caveats apply as documented in “time_to_last_downstream_tx_byte“ about
	// not accounting for kernel socket buffer time, etc.
	TimeToLastUpstreamTxByte *durationpb.Duration
	// Interval between the first downstream byte received and the first upstream
	// byte received (i.e. time it takes to start receiving a response).
	TimeToFirstUpstreamRxByte *durationpb.Duration
	// Interval between the first downstream byte received and the last upstream
	// byte received (i.e. time it takes to receive a complete response).
	TimeToLastUpstreamRxByte *durationpb.Duration
	// Interval between the first downstream byte received and the first downstream byte sent.
	// There may be a considerable delta between the “time_to_first_upstream_rx_byte“ and this field
	// due to filters. Additionally, the same caveats apply as documented in
	// “time_to_last_downstream_tx_byte“ about not accounting for kernel socket buffer time, etc.
	TimeToFirstDownstreamTxByte *durationpb.Duration
	// Interval between the first downstream byte received and the last downstream byte sent.
	// Depending on protocol, buffering, windowing, filters, etc. there may be a considerable delta
	// between “time_to_last_upstream_rx_byte“ and this field. Note also that this is an approximate
	// time. In the current implementation it does not include kernel socket buffer time. In the
	// current implementation it also does not include send window buffering inside the HTTP/2 codec.
	// In the future it is likely that work will be done to make this duration more accurate.
	TimeToLastDownstreamTxByte *durationpb.Duration
	// The upstream remote/destination address that handles this exchange. This does not include
	// retries.
	UpstreamRemoteAddress *v3.Address
	// The upstream local/origin address that handles this exchange. This does not include retries.
	UpstreamLocalAddress *v3.Address
	// The upstream cluster that “upstream_remote_address“ belongs to.
	UpstreamCluster string
	// Flags indicating occurrences during request/response processing.
	ResponseFlags *ResponseFlags
	// All metadata encountered during request processing, including endpoint
	// selection.
	//
	// This can be used to associate IDs attached to the various configurations
	// used to process this request with the access log entry. For example, a
	// route created from a higher level forwarding rule with some ID can place
	// that ID in this field and cross reference later. It can also be used to
	// determine if a canary endpoint was used or not.
	Metadata *v3.Metadata
	// If upstream connection failed due to transport socket (e.g. TLS handshake), provides the
	// failure reason from the transport socket. The format of this field depends on the configured
	// upstream transport socket. Common TLS failures are in
	// :ref:`TLS trouble shooting <arch_overview_ssl_trouble_shooting>`.
	UpstreamTransportFailureReason string
	// The name of the route
	RouteName string
	// This field is the downstream direct remote address on which the request from the user was
	// received. Note: This is always the physical peer, even if the remote address is inferred from
	// for example the x-forwarder-for header, proxy protocol, etc.
	DownstreamDirectRemoteAddress *v3.Address
	// Map of filter state in stream info that have been configured to be logged. If the filter
	// state serialized to any message other than “google.protobuf.Any“ it will be packed into
	// “google.protobuf.Any“.
	FilterStateObjects map[string]*anypb.Any
	// A list of custom tags, which annotate logs with additional information.
	// To configure this value, users should configure
	// :ref:`custom_tags <envoy_v3_api_field_extensions.access_loggers.grpc.v3.CommonGrpcAccessLogConfig.custom_tags>`.
	CustomTags map[string]string
	// For HTTP: Total duration in milliseconds of the request from the start time to the last byte out.
	// For TCP: Total duration in milliseconds of the downstream connection.
	// This is the total duration of the request (i.e., when the request's ActiveStream is destroyed)
	// and may be longer than “time_to_last_downstream_tx_byte“.
	Duration *durationpb.Duration
	// For HTTP: Number of times the request is attempted upstream. Note that the field is omitted when the request was never attempted upstream.
	// For TCP: Number of times the connection request is attempted upstream. Note that the field is omitted when the connect request was never attempted upstream.
	UpstreamRequestAttemptCount uint32
	// Connection termination details may provide additional information about why the connection was terminated by Envoy for L4 reasons.
	ConnectionTerminationDetails string
	// Optional unique id of stream (TCP connection, long-live HTTP2 stream, HTTP request) for logging and tracing.
	// This could be any format string that could be used to identify one stream.
	StreamId string
	// If this log entry is final log entry that flushed after the stream completed or
	// intermediate log entry that flushed periodically during the stream.
	// There may be multiple intermediate log entries and only one final log entry for each
	// long-live stream (TCP connection, long-live HTTP2 stream).
	// And if it is necessary, unique ID or identifier can be added to the log entry
	// :ref:`stream_id <envoy_v3_api_field_data.accesslog.v3.AccessLogCommon.stream_id>` to
	// correlate all these intermediate log entries and final log entry.
	//
	// .. attention::
	//
	//	This field is deprecated in favor of “access_log_type“ for better indication of the
	//	type of the access log record.
	//
	// Deprecated: Marked as deprecated in envoy/data/accesslog/v3/accesslog.proto.
	IntermediateLogEntry bool
	// If downstream connection in listener failed due to transport socket (e.g. TLS handshake), provides the
	// failure reason from the transport socket. The format of this field depends on the configured downstream
	// transport socket. Common TLS failures are in :ref:`TLS trouble shooting <arch_overview_ssl_trouble_shooting>`.
	DownstreamTransportFailureReason string
	// For HTTP: Total number of bytes sent to the downstream by the http stream.
	// For TCP: Total number of bytes sent to the downstream by the tcp proxy.
	DownstreamWireBytesSent uint64
	// For HTTP: Total number of bytes received from the downstream by the http stream. Envoy over counts sizes of received HTTP/1.1 pipelined requests by adding up bytes of requests in the pipeline to the one currently being processed.
	// For TCP: Total number of bytes received from the downstream by the tcp proxy.
	DownstreamWireBytesReceived uint64
	// For HTTP: Total number of bytes sent to the upstream by the http stream. This value accumulates during upstream retries.
	// For TCP: Total number of bytes sent to the upstream by the tcp proxy.
	UpstreamWireBytesSent uint64
	// For HTTP: Total number of bytes received from the upstream by the http stream.
	// For TCP: Total number of bytes sent to the upstream by the tcp proxy.
	UpstreamWireBytesReceived uint64
	// The type of the access log, which indicates when the log was recorded.
	// See :ref:`ACCESS_LOG_TYPE <config_access_log_format_access_log_type>` for the available values.
	// In case the access log was recorded by a flow which does not correspond to one of the supported
	// values, then the default value will be “NotSet“.
	// For more information about how access log behaves and when it is being recorded,
	// please refer to :ref:`access logging <arch_overview_access_logs>`.
	AccessLogType AccessLogType
	// contains filtered or unexported fields
}

func (AccessLogCommon_builder) Build

type AccessLogType

type AccessLogType int32
const (
	AccessLogType_NotSet                                  AccessLogType = 0
	AccessLogType_TcpUpstreamConnected                    AccessLogType = 1
	AccessLogType_TcpPeriodic                             AccessLogType = 2
	AccessLogType_TcpConnectionEnd                        AccessLogType = 3
	AccessLogType_DownstreamStart                         AccessLogType = 4
	AccessLogType_DownstreamPeriodic                      AccessLogType = 5
	AccessLogType_DownstreamEnd                           AccessLogType = 6
	AccessLogType_UpstreamPoolReady                       AccessLogType = 7
	AccessLogType_UpstreamPeriodic                        AccessLogType = 8
	AccessLogType_UpstreamEnd                             AccessLogType = 9
	AccessLogType_DownstreamTunnelSuccessfullyEstablished AccessLogType = 10
	AccessLogType_UdpTunnelUpstreamConnected              AccessLogType = 11
	AccessLogType_UdpPeriodic                             AccessLogType = 12
	AccessLogType_UdpSessionEnd                           AccessLogType = 13
)

func (AccessLogType) Descriptor

func (AccessLogType) Enum

func (x AccessLogType) Enum() *AccessLogType

func (AccessLogType) Number

func (AccessLogType) String

func (x AccessLogType) String() string

func (AccessLogType) Type

type ConnectionProperties

type ConnectionProperties struct {

	// Number of bytes received from downstream.
	ReceivedBytes uint64 `protobuf:"varint,1,opt,name=received_bytes,json=receivedBytes,proto3" json:"received_bytes,omitempty"`
	// Number of bytes sent to downstream.
	SentBytes uint64 `protobuf:"varint,2,opt,name=sent_bytes,json=sentBytes,proto3" json:"sent_bytes,omitempty"`
	// contains filtered or unexported fields
}

Defines fields for a connection

func (*ConnectionProperties) GetReceivedBytes

func (x *ConnectionProperties) GetReceivedBytes() uint64

func (*ConnectionProperties) GetSentBytes

func (x *ConnectionProperties) GetSentBytes() uint64

func (*ConnectionProperties) ProtoMessage

func (*ConnectionProperties) ProtoMessage()

func (*ConnectionProperties) ProtoReflect

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

func (*ConnectionProperties) Reset

func (x *ConnectionProperties) Reset()

func (*ConnectionProperties) SetReceivedBytes

func (x *ConnectionProperties) SetReceivedBytes(v uint64)

func (*ConnectionProperties) SetSentBytes

func (x *ConnectionProperties) SetSentBytes(v uint64)

func (*ConnectionProperties) String

func (x *ConnectionProperties) String() string

type ConnectionProperties_builder

type ConnectionProperties_builder struct {

	// Number of bytes received from downstream.
	ReceivedBytes uint64
	// Number of bytes sent to downstream.
	SentBytes uint64
	// contains filtered or unexported fields
}

func (ConnectionProperties_builder) Build

type HTTPAccessLogEntry

type HTTPAccessLogEntry struct {

	// Common properties shared by all Envoy access logs.
	CommonProperties *AccessLogCommon               `protobuf:"bytes,1,opt,name=common_properties,json=commonProperties,proto3" json:"common_properties,omitempty"`
	ProtocolVersion  HTTPAccessLogEntry_HTTPVersion `` /* 167-byte string literal not displayed */
	// Description of the incoming HTTP request.
	Request *HTTPRequestProperties `protobuf:"bytes,3,opt,name=request,proto3" json:"request,omitempty"`
	// Description of the outgoing HTTP response.
	Response *HTTPResponseProperties `protobuf:"bytes,4,opt,name=response,proto3" json:"response,omitempty"`
	// contains filtered or unexported fields
}

func (*HTTPAccessLogEntry) ClearCommonProperties

func (x *HTTPAccessLogEntry) ClearCommonProperties()

func (*HTTPAccessLogEntry) ClearRequest

func (x *HTTPAccessLogEntry) ClearRequest()

func (*HTTPAccessLogEntry) ClearResponse

func (x *HTTPAccessLogEntry) ClearResponse()

func (*HTTPAccessLogEntry) GetCommonProperties

func (x *HTTPAccessLogEntry) GetCommonProperties() *AccessLogCommon

func (*HTTPAccessLogEntry) GetProtocolVersion

func (x *HTTPAccessLogEntry) GetProtocolVersion() HTTPAccessLogEntry_HTTPVersion

func (*HTTPAccessLogEntry) GetRequest

func (x *HTTPAccessLogEntry) GetRequest() *HTTPRequestProperties

func (*HTTPAccessLogEntry) GetResponse

func (x *HTTPAccessLogEntry) GetResponse() *HTTPResponseProperties

func (*HTTPAccessLogEntry) HasCommonProperties

func (x *HTTPAccessLogEntry) HasCommonProperties() bool

func (*HTTPAccessLogEntry) HasRequest

func (x *HTTPAccessLogEntry) HasRequest() bool

func (*HTTPAccessLogEntry) HasResponse

func (x *HTTPAccessLogEntry) HasResponse() bool

func (*HTTPAccessLogEntry) ProtoMessage

func (*HTTPAccessLogEntry) ProtoMessage()

func (*HTTPAccessLogEntry) ProtoReflect

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

func (*HTTPAccessLogEntry) Reset

func (x *HTTPAccessLogEntry) Reset()

func (*HTTPAccessLogEntry) SetCommonProperties

func (x *HTTPAccessLogEntry) SetCommonProperties(v *AccessLogCommon)

func (*HTTPAccessLogEntry) SetProtocolVersion

func (x *HTTPAccessLogEntry) SetProtocolVersion(v HTTPAccessLogEntry_HTTPVersion)

func (*HTTPAccessLogEntry) SetRequest

func (x *HTTPAccessLogEntry) SetRequest(v *HTTPRequestProperties)

func (*HTTPAccessLogEntry) SetResponse

func (x *HTTPAccessLogEntry) SetResponse(v *HTTPResponseProperties)

func (*HTTPAccessLogEntry) String

func (x *HTTPAccessLogEntry) String() string

type HTTPAccessLogEntry_HTTPVersion

type HTTPAccessLogEntry_HTTPVersion int32

HTTP version

const (
	HTTPAccessLogEntry_PROTOCOL_UNSPECIFIED HTTPAccessLogEntry_HTTPVersion = 0
	HTTPAccessLogEntry_HTTP10               HTTPAccessLogEntry_HTTPVersion = 1
	HTTPAccessLogEntry_HTTP11               HTTPAccessLogEntry_HTTPVersion = 2
	HTTPAccessLogEntry_HTTP2                HTTPAccessLogEntry_HTTPVersion = 3
	HTTPAccessLogEntry_HTTP3                HTTPAccessLogEntry_HTTPVersion = 4
)

func (HTTPAccessLogEntry_HTTPVersion) Descriptor

func (HTTPAccessLogEntry_HTTPVersion) Enum

func (HTTPAccessLogEntry_HTTPVersion) Number

func (HTTPAccessLogEntry_HTTPVersion) String

func (HTTPAccessLogEntry_HTTPVersion) Type

type HTTPAccessLogEntry_builder

type HTTPAccessLogEntry_builder struct {

	// Common properties shared by all Envoy access logs.
	CommonProperties *AccessLogCommon
	ProtocolVersion  HTTPAccessLogEntry_HTTPVersion
	// Description of the incoming HTTP request.
	Request *HTTPRequestProperties
	// Description of the outgoing HTTP response.
	Response *HTTPResponseProperties
	// contains filtered or unexported fields
}

func (HTTPAccessLogEntry_builder) Build

type HTTPRequestProperties

type HTTPRequestProperties struct {

	// The request method (RFC 7231/2616).
	RequestMethod v3.RequestMethod `` /* 141-byte string literal not displayed */
	// The scheme portion of the incoming request URI.
	Scheme string `protobuf:"bytes,2,opt,name=scheme,proto3" json:"scheme,omitempty"`
	// HTTP/2 “:authority“ or HTTP/1.1 “Host“ header value.
	Authority string `protobuf:"bytes,3,opt,name=authority,proto3" json:"authority,omitempty"`
	// The port of the incoming request URI
	// (unused currently, as port is composed onto authority).
	Port *wrapperspb.UInt32Value `protobuf:"bytes,4,opt,name=port,proto3" json:"port,omitempty"`
	// The path portion from the incoming request URI.
	Path string `protobuf:"bytes,5,opt,name=path,proto3" json:"path,omitempty"`
	// Value of the “User-Agent“ request header.
	UserAgent string `protobuf:"bytes,6,opt,name=user_agent,json=userAgent,proto3" json:"user_agent,omitempty"`
	// Value of the “Referer“ request header.
	Referer string `protobuf:"bytes,7,opt,name=referer,proto3" json:"referer,omitempty"`
	// Value of the “X-Forwarded-For“ request header.
	ForwardedFor string `protobuf:"bytes,8,opt,name=forwarded_for,json=forwardedFor,proto3" json:"forwarded_for,omitempty"`
	// Value of the “X-Request-Id“ request header
	//
	// This header is used by Envoy to uniquely identify a request.
	// It will be generated for all external requests and internal requests that
	// do not already have a request ID.
	RequestId string `protobuf:"bytes,9,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// Value of the “X-Envoy-Original-Path“ request header.
	OriginalPath string `protobuf:"bytes,10,opt,name=original_path,json=originalPath,proto3" json:"original_path,omitempty"`
	// Size of the HTTP request headers in bytes.
	//
	// This value is captured from the OSI layer 7 perspective, i.e. it does not
	// include overhead from framing or encoding at other networking layers.
	RequestHeadersBytes uint64 `protobuf:"varint,11,opt,name=request_headers_bytes,json=requestHeadersBytes,proto3" json:"request_headers_bytes,omitempty"`
	// Size of the HTTP request body in bytes.
	//
	// This value is captured from the OSI layer 7 perspective, i.e. it does not
	// include overhead from framing or encoding at other networking layers.
	RequestBodyBytes uint64 `protobuf:"varint,12,opt,name=request_body_bytes,json=requestBodyBytes,proto3" json:"request_body_bytes,omitempty"`
	// Map of additional headers that have been configured to be logged.
	RequestHeaders map[string]string `` /* 178-byte string literal not displayed */
	// Number of header bytes sent to the upstream by the http stream, including protocol overhead.
	//
	// This value accumulates during upstream retries.
	UpstreamHeaderBytesSent uint64 `` /* 136-byte string literal not displayed */
	// Number of header bytes received from the downstream by the http stream, including protocol overhead.
	DownstreamHeaderBytesReceived uint64 `` /* 154-byte string literal not displayed */
	// contains filtered or unexported fields
}

[#next-free-field: 16]

func (*HTTPRequestProperties) ClearPort

func (x *HTTPRequestProperties) ClearPort()

func (*HTTPRequestProperties) GetAuthority

func (x *HTTPRequestProperties) GetAuthority() string

func (*HTTPRequestProperties) GetDownstreamHeaderBytesReceived

func (x *HTTPRequestProperties) GetDownstreamHeaderBytesReceived() uint64

func (*HTTPRequestProperties) GetForwardedFor

func (x *HTTPRequestProperties) GetForwardedFor() string

func (*HTTPRequestProperties) GetOriginalPath

func (x *HTTPRequestProperties) GetOriginalPath() string

func (*HTTPRequestProperties) GetPath

func (x *HTTPRequestProperties) GetPath() string

func (*HTTPRequestProperties) GetPort

func (*HTTPRequestProperties) GetReferer

func (x *HTTPRequestProperties) GetReferer() string

func (*HTTPRequestProperties) GetRequestBodyBytes

func (x *HTTPRequestProperties) GetRequestBodyBytes() uint64

func (*HTTPRequestProperties) GetRequestHeaders

func (x *HTTPRequestProperties) GetRequestHeaders() map[string]string

func (*HTTPRequestProperties) GetRequestHeadersBytes

func (x *HTTPRequestProperties) GetRequestHeadersBytes() uint64

func (*HTTPRequestProperties) GetRequestId

func (x *HTTPRequestProperties) GetRequestId() string

func (*HTTPRequestProperties) GetRequestMethod

func (x *HTTPRequestProperties) GetRequestMethod() v3.RequestMethod

func (*HTTPRequestProperties) GetScheme

func (x *HTTPRequestProperties) GetScheme() string

func (*HTTPRequestProperties) GetUpstreamHeaderBytesSent

func (x *HTTPRequestProperties) GetUpstreamHeaderBytesSent() uint64

func (*HTTPRequestProperties) GetUserAgent

func (x *HTTPRequestProperties) GetUserAgent() string

func (*HTTPRequestProperties) HasPort

func (x *HTTPRequestProperties) HasPort() bool

func (*HTTPRequestProperties) ProtoMessage

func (*HTTPRequestProperties) ProtoMessage()

func (*HTTPRequestProperties) ProtoReflect

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

func (*HTTPRequestProperties) Reset

func (x *HTTPRequestProperties) Reset()

func (*HTTPRequestProperties) SetAuthority

func (x *HTTPRequestProperties) SetAuthority(v string)

func (*HTTPRequestProperties) SetDownstreamHeaderBytesReceived

func (x *HTTPRequestProperties) SetDownstreamHeaderBytesReceived(v uint64)

func (*HTTPRequestProperties) SetForwardedFor

func (x *HTTPRequestProperties) SetForwardedFor(v string)

func (*HTTPRequestProperties) SetOriginalPath

func (x *HTTPRequestProperties) SetOriginalPath(v string)

func (*HTTPRequestProperties) SetPath

func (x *HTTPRequestProperties) SetPath(v string)

func (*HTTPRequestProperties) SetPort

func (*HTTPRequestProperties) SetReferer

func (x *HTTPRequestProperties) SetReferer(v string)

func (*HTTPRequestProperties) SetRequestBodyBytes

func (x *HTTPRequestProperties) SetRequestBodyBytes(v uint64)

func (*HTTPRequestProperties) SetRequestHeaders

func (x *HTTPRequestProperties) SetRequestHeaders(v map[string]string)

func (*HTTPRequestProperties) SetRequestHeadersBytes

func (x *HTTPRequestProperties) SetRequestHeadersBytes(v uint64)

func (*HTTPRequestProperties) SetRequestId

func (x *HTTPRequestProperties) SetRequestId(v string)

func (*HTTPRequestProperties) SetRequestMethod

func (x *HTTPRequestProperties) SetRequestMethod(v v3.RequestMethod)

func (*HTTPRequestProperties) SetScheme

func (x *HTTPRequestProperties) SetScheme(v string)

func (*HTTPRequestProperties) SetUpstreamHeaderBytesSent

func (x *HTTPRequestProperties) SetUpstreamHeaderBytesSent(v uint64)

func (*HTTPRequestProperties) SetUserAgent

func (x *HTTPRequestProperties) SetUserAgent(v string)

func (*HTTPRequestProperties) String

func (x *HTTPRequestProperties) String() string

type HTTPRequestProperties_builder

type HTTPRequestProperties_builder struct {

	// The request method (RFC 7231/2616).
	RequestMethod v3.RequestMethod
	// The scheme portion of the incoming request URI.
	Scheme string
	// HTTP/2 “:authority“ or HTTP/1.1 “Host“ header value.
	Authority string
	// The port of the incoming request URI
	// (unused currently, as port is composed onto authority).
	Port *wrapperspb.UInt32Value
	// The path portion from the incoming request URI.
	Path string
	// Value of the “User-Agent“ request header.
	UserAgent string
	// Value of the “Referer“ request header.
	Referer string
	// Value of the “X-Forwarded-For“ request header.
	ForwardedFor string
	// Value of the “X-Request-Id“ request header
	//
	// This header is used by Envoy to uniquely identify a request.
	// It will be generated for all external requests and internal requests that
	// do not already have a request ID.
	RequestId string
	// Value of the “X-Envoy-Original-Path“ request header.
	OriginalPath string
	// Size of the HTTP request headers in bytes.
	//
	// This value is captured from the OSI layer 7 perspective, i.e. it does not
	// include overhead from framing or encoding at other networking layers.
	RequestHeadersBytes uint64
	// Size of the HTTP request body in bytes.
	//
	// This value is captured from the OSI layer 7 perspective, i.e. it does not
	// include overhead from framing or encoding at other networking layers.
	RequestBodyBytes uint64
	// Map of additional headers that have been configured to be logged.
	RequestHeaders map[string]string
	// Number of header bytes sent to the upstream by the http stream, including protocol overhead.
	//
	// This value accumulates during upstream retries.
	UpstreamHeaderBytesSent uint64
	// Number of header bytes received from the downstream by the http stream, including protocol overhead.
	DownstreamHeaderBytesReceived uint64
	// contains filtered or unexported fields
}

func (HTTPRequestProperties_builder) Build

type HTTPResponseProperties

type HTTPResponseProperties struct {

	// The HTTP response code returned by Envoy.
	ResponseCode *wrapperspb.UInt32Value `protobuf:"bytes,1,opt,name=response_code,json=responseCode,proto3" json:"response_code,omitempty"`
	// Size of the HTTP response headers in bytes.
	//
	// This value is captured from the OSI layer 7 perspective, i.e. it does not
	// include protocol overhead or overhead from framing or encoding at other networking layers.
	ResponseHeadersBytes uint64 `protobuf:"varint,2,opt,name=response_headers_bytes,json=responseHeadersBytes,proto3" json:"response_headers_bytes,omitempty"`
	// Size of the HTTP response body in bytes.
	//
	// This value is captured from the OSI layer 7 perspective, i.e. it does not
	// include overhead from framing or encoding at other networking layers.
	ResponseBodyBytes uint64 `protobuf:"varint,3,opt,name=response_body_bytes,json=responseBodyBytes,proto3" json:"response_body_bytes,omitempty"`
	// Map of additional headers configured to be logged.
	ResponseHeaders map[string]string `` /* 180-byte string literal not displayed */
	// Map of trailers configured to be logged.
	ResponseTrailers map[string]string `` /* 183-byte string literal not displayed */
	// The HTTP response code details.
	ResponseCodeDetails string `protobuf:"bytes,6,opt,name=response_code_details,json=responseCodeDetails,proto3" json:"response_code_details,omitempty"`
	// Number of header bytes received from the upstream by the http stream, including protocol overhead.
	UpstreamHeaderBytesReceived uint64 `` /* 147-byte string literal not displayed */
	// Number of header bytes sent to the downstream by the http stream, including protocol overhead.
	DownstreamHeaderBytesSent uint64 `` /* 141-byte string literal not displayed */
	// contains filtered or unexported fields
}

[#next-free-field: 9]

func (*HTTPResponseProperties) ClearResponseCode

func (x *HTTPResponseProperties) ClearResponseCode()

func (*HTTPResponseProperties) GetDownstreamHeaderBytesSent

func (x *HTTPResponseProperties) GetDownstreamHeaderBytesSent() uint64

func (*HTTPResponseProperties) GetResponseBodyBytes

func (x *HTTPResponseProperties) GetResponseBodyBytes() uint64

func (*HTTPResponseProperties) GetResponseCode

func (x *HTTPResponseProperties) GetResponseCode() *wrapperspb.UInt32Value

func (*HTTPResponseProperties) GetResponseCodeDetails

func (x *HTTPResponseProperties) GetResponseCodeDetails() string

func (*HTTPResponseProperties) GetResponseHeaders

func (x *HTTPResponseProperties) GetResponseHeaders() map[string]string

func (*HTTPResponseProperties) GetResponseHeadersBytes

func (x *HTTPResponseProperties) GetResponseHeadersBytes() uint64

func (*HTTPResponseProperties) GetResponseTrailers

func (x *HTTPResponseProperties) GetResponseTrailers() map[string]string

func (*HTTPResponseProperties) GetUpstreamHeaderBytesReceived

func (x *HTTPResponseProperties) GetUpstreamHeaderBytesReceived() uint64

func (*HTTPResponseProperties) HasResponseCode

func (x *HTTPResponseProperties) HasResponseCode() bool

func (*HTTPResponseProperties) ProtoMessage

func (*HTTPResponseProperties) ProtoMessage()

func (*HTTPResponseProperties) ProtoReflect

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

func (*HTTPResponseProperties) Reset

func (x *HTTPResponseProperties) Reset()

func (*HTTPResponseProperties) SetDownstreamHeaderBytesSent

func (x *HTTPResponseProperties) SetDownstreamHeaderBytesSent(v uint64)

func (*HTTPResponseProperties) SetResponseBodyBytes

func (x *HTTPResponseProperties) SetResponseBodyBytes(v uint64)

func (*HTTPResponseProperties) SetResponseCode

func (x *HTTPResponseProperties) SetResponseCode(v *wrapperspb.UInt32Value)

func (*HTTPResponseProperties) SetResponseCodeDetails

func (x *HTTPResponseProperties) SetResponseCodeDetails(v string)

func (*HTTPResponseProperties) SetResponseHeaders

func (x *HTTPResponseProperties) SetResponseHeaders(v map[string]string)

func (*HTTPResponseProperties) SetResponseHeadersBytes

func (x *HTTPResponseProperties) SetResponseHeadersBytes(v uint64)

func (*HTTPResponseProperties) SetResponseTrailers

func (x *HTTPResponseProperties) SetResponseTrailers(v map[string]string)

func (*HTTPResponseProperties) SetUpstreamHeaderBytesReceived

func (x *HTTPResponseProperties) SetUpstreamHeaderBytesReceived(v uint64)

func (*HTTPResponseProperties) String

func (x *HTTPResponseProperties) String() string

type HTTPResponseProperties_builder

type HTTPResponseProperties_builder struct {

	// The HTTP response code returned by Envoy.
	ResponseCode *wrapperspb.UInt32Value
	// Size of the HTTP response headers in bytes.
	//
	// This value is captured from the OSI layer 7 perspective, i.e. it does not
	// include protocol overhead or overhead from framing or encoding at other networking layers.
	ResponseHeadersBytes uint64
	// Size of the HTTP response body in bytes.
	//
	// This value is captured from the OSI layer 7 perspective, i.e. it does not
	// include overhead from framing or encoding at other networking layers.
	ResponseBodyBytes uint64
	// Map of additional headers configured to be logged.
	ResponseHeaders map[string]string
	// Map of trailers configured to be logged.
	ResponseTrailers map[string]string
	// The HTTP response code details.
	ResponseCodeDetails string
	// Number of header bytes received from the upstream by the http stream, including protocol overhead.
	UpstreamHeaderBytesReceived uint64
	// Number of header bytes sent to the downstream by the http stream, including protocol overhead.
	DownstreamHeaderBytesSent uint64
	// contains filtered or unexported fields
}

func (HTTPResponseProperties_builder) Build

type ResponseFlags

type ResponseFlags struct {

	// Indicates local server healthcheck failed.
	FailedLocalHealthcheck bool `` /* 130-byte string literal not displayed */
	// Indicates there was no healthy upstream.
	NoHealthyUpstream bool `protobuf:"varint,2,opt,name=no_healthy_upstream,json=noHealthyUpstream,proto3" json:"no_healthy_upstream,omitempty"`
	// Indicates an there was an upstream request timeout.
	UpstreamRequestTimeout bool `` /* 130-byte string literal not displayed */
	// Indicates local codec level reset was sent on the stream.
	LocalReset bool `protobuf:"varint,4,opt,name=local_reset,json=localReset,proto3" json:"local_reset,omitempty"`
	// Indicates remote codec level reset was received on the stream.
	UpstreamRemoteReset bool `protobuf:"varint,5,opt,name=upstream_remote_reset,json=upstreamRemoteReset,proto3" json:"upstream_remote_reset,omitempty"`
	// Indicates there was a local reset by a connection pool due to an initial connection failure.
	UpstreamConnectionFailure bool `` /* 139-byte string literal not displayed */
	// Indicates the stream was reset due to an upstream connection termination.
	UpstreamConnectionTermination bool `` /* 151-byte string literal not displayed */
	// Indicates the stream was reset because of a resource overflow.
	UpstreamOverflow bool `protobuf:"varint,8,opt,name=upstream_overflow,json=upstreamOverflow,proto3" json:"upstream_overflow,omitempty"`
	// Indicates no route was found for the request.
	NoRouteFound bool `protobuf:"varint,9,opt,name=no_route_found,json=noRouteFound,proto3" json:"no_route_found,omitempty"`
	// Indicates that the request was delayed before proxying.
	DelayInjected bool `protobuf:"varint,10,opt,name=delay_injected,json=delayInjected,proto3" json:"delay_injected,omitempty"`
	// Indicates that the request was aborted with an injected error code.
	FaultInjected bool `protobuf:"varint,11,opt,name=fault_injected,json=faultInjected,proto3" json:"fault_injected,omitempty"`
	// Indicates that the request was rate-limited locally.
	RateLimited bool `protobuf:"varint,12,opt,name=rate_limited,json=rateLimited,proto3" json:"rate_limited,omitempty"`
	// Indicates if the request was deemed unauthorized and the reason for it.
	UnauthorizedDetails *ResponseFlags_Unauthorized `protobuf:"bytes,13,opt,name=unauthorized_details,json=unauthorizedDetails,proto3" json:"unauthorized_details,omitempty"`
	// Indicates that the request was rejected because there was an error in rate limit service.
	RateLimitServiceError bool `` /* 130-byte string literal not displayed */
	// Indicates the stream was reset due to a downstream connection termination.
	DownstreamConnectionTermination bool `` /* 158-byte string literal not displayed */
	// Indicates that the upstream retry limit was exceeded, resulting in a downstream error.
	UpstreamRetryLimitExceeded bool `` /* 145-byte string literal not displayed */
	// Indicates that the stream idle timeout was hit, resulting in a downstream 408.
	StreamIdleTimeout bool `protobuf:"varint,17,opt,name=stream_idle_timeout,json=streamIdleTimeout,proto3" json:"stream_idle_timeout,omitempty"`
	// Indicates that the request was rejected because an envoy request header failed strict
	// validation.
	InvalidEnvoyRequestHeaders bool `` /* 145-byte string literal not displayed */
	// Indicates there was an HTTP protocol error on the downstream request.
	DownstreamProtocolError bool `` /* 134-byte string literal not displayed */
	// Indicates there was a max stream duration reached on the upstream request.
	UpstreamMaxStreamDurationReached bool `` /* 165-byte string literal not displayed */
	// Indicates the response was served from a cache filter.
	ResponseFromCacheFilter bool `` /* 136-byte string literal not displayed */
	// Indicates that a filter configuration is not available.
	NoFilterConfigFound bool `protobuf:"varint,22,opt,name=no_filter_config_found,json=noFilterConfigFound,proto3" json:"no_filter_config_found,omitempty"`
	// Indicates that request or connection exceeded the downstream connection duration.
	DurationTimeout bool `protobuf:"varint,23,opt,name=duration_timeout,json=durationTimeout,proto3" json:"duration_timeout,omitempty"`
	// Indicates there was an HTTP protocol error in the upstream response.
	UpstreamProtocolError bool `` /* 128-byte string literal not displayed */
	// Indicates no cluster was found for the request.
	NoClusterFound bool `protobuf:"varint,25,opt,name=no_cluster_found,json=noClusterFound,proto3" json:"no_cluster_found,omitempty"`
	// Indicates overload manager terminated the request.
	OverloadManager bool `protobuf:"varint,26,opt,name=overload_manager,json=overloadManager,proto3" json:"overload_manager,omitempty"`
	// Indicates a DNS resolution failed.
	DnsResolutionFailure bool `protobuf:"varint,27,opt,name=dns_resolution_failure,json=dnsResolutionFailure,proto3" json:"dns_resolution_failure,omitempty"`
	// Indicates a downstream remote codec level reset was received on the stream
	DownstreamRemoteReset bool `` /* 128-byte string literal not displayed */
	// contains filtered or unexported fields
}

Flags indicating occurrences during request/response processing. [#next-free-field: 29]

func (*ResponseFlags) ClearUnauthorizedDetails

func (x *ResponseFlags) ClearUnauthorizedDetails()

func (*ResponseFlags) GetDelayInjected

func (x *ResponseFlags) GetDelayInjected() bool

func (*ResponseFlags) GetDnsResolutionFailure

func (x *ResponseFlags) GetDnsResolutionFailure() bool

func (*ResponseFlags) GetDownstreamConnectionTermination

func (x *ResponseFlags) GetDownstreamConnectionTermination() bool

func (*ResponseFlags) GetDownstreamProtocolError

func (x *ResponseFlags) GetDownstreamProtocolError() bool

func (*ResponseFlags) GetDownstreamRemoteReset

func (x *ResponseFlags) GetDownstreamRemoteReset() bool

func (*ResponseFlags) GetDurationTimeout

func (x *ResponseFlags) GetDurationTimeout() bool

func (*ResponseFlags) GetFailedLocalHealthcheck

func (x *ResponseFlags) GetFailedLocalHealthcheck() bool

func (*ResponseFlags) GetFaultInjected

func (x *ResponseFlags) GetFaultInjected() bool

func (*ResponseFlags) GetInvalidEnvoyRequestHeaders

func (x *ResponseFlags) GetInvalidEnvoyRequestHeaders() bool

func (*ResponseFlags) GetLocalReset

func (x *ResponseFlags) GetLocalReset() bool

func (*ResponseFlags) GetNoClusterFound

func (x *ResponseFlags) GetNoClusterFound() bool

func (*ResponseFlags) GetNoFilterConfigFound

func (x *ResponseFlags) GetNoFilterConfigFound() bool

func (*ResponseFlags) GetNoHealthyUpstream

func (x *ResponseFlags) GetNoHealthyUpstream() bool

func (*ResponseFlags) GetNoRouteFound

func (x *ResponseFlags) GetNoRouteFound() bool

func (*ResponseFlags) GetOverloadManager

func (x *ResponseFlags) GetOverloadManager() bool

func (*ResponseFlags) GetRateLimitServiceError

func (x *ResponseFlags) GetRateLimitServiceError() bool

func (*ResponseFlags) GetRateLimited

func (x *ResponseFlags) GetRateLimited() bool

func (*ResponseFlags) GetResponseFromCacheFilter

func (x *ResponseFlags) GetResponseFromCacheFilter() bool

func (*ResponseFlags) GetStreamIdleTimeout

func (x *ResponseFlags) GetStreamIdleTimeout() bool

func (*ResponseFlags) GetUnauthorizedDetails

func (x *ResponseFlags) GetUnauthorizedDetails() *ResponseFlags_Unauthorized

func (*ResponseFlags) GetUpstreamConnectionFailure

func (x *ResponseFlags) GetUpstreamConnectionFailure() bool

func (*ResponseFlags) GetUpstreamConnectionTermination

func (x *ResponseFlags) GetUpstreamConnectionTermination() bool

func (*ResponseFlags) GetUpstreamMaxStreamDurationReached

func (x *ResponseFlags) GetUpstreamMaxStreamDurationReached() bool

func (*ResponseFlags) GetUpstreamOverflow

func (x *ResponseFlags) GetUpstreamOverflow() bool

func (*ResponseFlags) GetUpstreamProtocolError

func (x *ResponseFlags) GetUpstreamProtocolError() bool

func (*ResponseFlags) GetUpstreamRemoteReset

func (x *ResponseFlags) GetUpstreamRemoteReset() bool

func (*ResponseFlags) GetUpstreamRequestTimeout

func (x *ResponseFlags) GetUpstreamRequestTimeout() bool

func (*ResponseFlags) GetUpstreamRetryLimitExceeded

func (x *ResponseFlags) GetUpstreamRetryLimitExceeded() bool

func (*ResponseFlags) HasUnauthorizedDetails

func (x *ResponseFlags) HasUnauthorizedDetails() bool

func (*ResponseFlags) ProtoMessage

func (*ResponseFlags) ProtoMessage()

func (*ResponseFlags) ProtoReflect

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

func (*ResponseFlags) Reset

func (x *ResponseFlags) Reset()

func (*ResponseFlags) SetDelayInjected

func (x *ResponseFlags) SetDelayInjected(v bool)

func (*ResponseFlags) SetDnsResolutionFailure

func (x *ResponseFlags) SetDnsResolutionFailure(v bool)

func (*ResponseFlags) SetDownstreamConnectionTermination

func (x *ResponseFlags) SetDownstreamConnectionTermination(v bool)

func (*ResponseFlags) SetDownstreamProtocolError

func (x *ResponseFlags) SetDownstreamProtocolError(v bool)

func (*ResponseFlags) SetDownstreamRemoteReset

func (x *ResponseFlags) SetDownstreamRemoteReset(v bool)

func (*ResponseFlags) SetDurationTimeout

func (x *ResponseFlags) SetDurationTimeout(v bool)

func (*ResponseFlags) SetFailedLocalHealthcheck

func (x *ResponseFlags) SetFailedLocalHealthcheck(v bool)

func (*ResponseFlags) SetFaultInjected

func (x *ResponseFlags) SetFaultInjected(v bool)

func (*ResponseFlags) SetInvalidEnvoyRequestHeaders

func (x *ResponseFlags) SetInvalidEnvoyRequestHeaders(v bool)

func (*ResponseFlags) SetLocalReset

func (x *ResponseFlags) SetLocalReset(v bool)

func (*ResponseFlags) SetNoClusterFound

func (x *ResponseFlags) SetNoClusterFound(v bool)

func (*ResponseFlags) SetNoFilterConfigFound

func (x *ResponseFlags) SetNoFilterConfigFound(v bool)

func (*ResponseFlags) SetNoHealthyUpstream

func (x *ResponseFlags) SetNoHealthyUpstream(v bool)

func (*ResponseFlags) SetNoRouteFound

func (x *ResponseFlags) SetNoRouteFound(v bool)

func (*ResponseFlags) SetOverloadManager

func (x *ResponseFlags) SetOverloadManager(v bool)

func (*ResponseFlags) SetRateLimitServiceError

func (x *ResponseFlags) SetRateLimitServiceError(v bool)

func (*ResponseFlags) SetRateLimited

func (x *ResponseFlags) SetRateLimited(v bool)

func (*ResponseFlags) SetResponseFromCacheFilter

func (x *ResponseFlags) SetResponseFromCacheFilter(v bool)

func (*ResponseFlags) SetStreamIdleTimeout

func (x *ResponseFlags) SetStreamIdleTimeout(v bool)

func (*ResponseFlags) SetUnauthorizedDetails

func (x *ResponseFlags) SetUnauthorizedDetails(v *ResponseFlags_Unauthorized)

func (*ResponseFlags) SetUpstreamConnectionFailure

func (x *ResponseFlags) SetUpstreamConnectionFailure(v bool)

func (*ResponseFlags) SetUpstreamConnectionTermination

func (x *ResponseFlags) SetUpstreamConnectionTermination(v bool)

func (*ResponseFlags) SetUpstreamMaxStreamDurationReached

func (x *ResponseFlags) SetUpstreamMaxStreamDurationReached(v bool)

func (*ResponseFlags) SetUpstreamOverflow

func (x *ResponseFlags) SetUpstreamOverflow(v bool)

func (*ResponseFlags) SetUpstreamProtocolError

func (x *ResponseFlags) SetUpstreamProtocolError(v bool)

func (*ResponseFlags) SetUpstreamRemoteReset

func (x *ResponseFlags) SetUpstreamRemoteReset(v bool)

func (*ResponseFlags) SetUpstreamRequestTimeout

func (x *ResponseFlags) SetUpstreamRequestTimeout(v bool)

func (*ResponseFlags) SetUpstreamRetryLimitExceeded

func (x *ResponseFlags) SetUpstreamRetryLimitExceeded(v bool)

func (*ResponseFlags) String

func (x *ResponseFlags) String() string

type ResponseFlags_Unauthorized

type ResponseFlags_Unauthorized struct {
	Reason ResponseFlags_Unauthorized_Reason `` /* 129-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ResponseFlags_Unauthorized) GetReason

func (*ResponseFlags_Unauthorized) ProtoMessage

func (*ResponseFlags_Unauthorized) ProtoMessage()

func (*ResponseFlags_Unauthorized) ProtoReflect

func (*ResponseFlags_Unauthorized) Reset

func (x *ResponseFlags_Unauthorized) Reset()

func (*ResponseFlags_Unauthorized) SetReason

func (*ResponseFlags_Unauthorized) String

func (x *ResponseFlags_Unauthorized) String() string

type ResponseFlags_Unauthorized_Reason

type ResponseFlags_Unauthorized_Reason int32

Reasons why the request was unauthorized

const (
	ResponseFlags_Unauthorized_REASON_UNSPECIFIED ResponseFlags_Unauthorized_Reason = 0
	// The request was denied by the external authorization service.
	ResponseFlags_Unauthorized_EXTERNAL_SERVICE ResponseFlags_Unauthorized_Reason = 1
)

func (ResponseFlags_Unauthorized_Reason) Descriptor

func (ResponseFlags_Unauthorized_Reason) Enum

func (ResponseFlags_Unauthorized_Reason) Number

func (ResponseFlags_Unauthorized_Reason) String

func (ResponseFlags_Unauthorized_Reason) Type

type ResponseFlags_Unauthorized_builder

type ResponseFlags_Unauthorized_builder struct {
	Reason ResponseFlags_Unauthorized_Reason
	// contains filtered or unexported fields
}

func (ResponseFlags_Unauthorized_builder) Build

type ResponseFlags_builder

type ResponseFlags_builder struct {

	// Indicates local server healthcheck failed.
	FailedLocalHealthcheck bool
	// Indicates there was no healthy upstream.
	NoHealthyUpstream bool
	// Indicates an there was an upstream request timeout.
	UpstreamRequestTimeout bool
	// Indicates local codec level reset was sent on the stream.
	LocalReset bool
	// Indicates remote codec level reset was received on the stream.
	UpstreamRemoteReset bool
	// Indicates there was a local reset by a connection pool due to an initial connection failure.
	UpstreamConnectionFailure bool
	// Indicates the stream was reset due to an upstream connection termination.
	UpstreamConnectionTermination bool
	// Indicates the stream was reset because of a resource overflow.
	UpstreamOverflow bool
	// Indicates no route was found for the request.
	NoRouteFound bool
	// Indicates that the request was delayed before proxying.
	DelayInjected bool
	// Indicates that the request was aborted with an injected error code.
	FaultInjected bool
	// Indicates that the request was rate-limited locally.
	RateLimited bool
	// Indicates if the request was deemed unauthorized and the reason for it.
	UnauthorizedDetails *ResponseFlags_Unauthorized
	// Indicates that the request was rejected because there was an error in rate limit service.
	RateLimitServiceError bool
	// Indicates the stream was reset due to a downstream connection termination.
	DownstreamConnectionTermination bool
	// Indicates that the upstream retry limit was exceeded, resulting in a downstream error.
	UpstreamRetryLimitExceeded bool
	// Indicates that the stream idle timeout was hit, resulting in a downstream 408.
	StreamIdleTimeout bool
	// Indicates that the request was rejected because an envoy request header failed strict
	// validation.
	InvalidEnvoyRequestHeaders bool
	// Indicates there was an HTTP protocol error on the downstream request.
	DownstreamProtocolError bool
	// Indicates there was a max stream duration reached on the upstream request.
	UpstreamMaxStreamDurationReached bool
	// Indicates the response was served from a cache filter.
	ResponseFromCacheFilter bool
	// Indicates that a filter configuration is not available.
	NoFilterConfigFound bool
	// Indicates that request or connection exceeded the downstream connection duration.
	DurationTimeout bool
	// Indicates there was an HTTP protocol error in the upstream response.
	UpstreamProtocolError bool
	// Indicates no cluster was found for the request.
	NoClusterFound bool
	// Indicates overload manager terminated the request.
	OverloadManager bool
	// Indicates a DNS resolution failed.
	DnsResolutionFailure bool
	// Indicates a downstream remote codec level reset was received on the stream
	DownstreamRemoteReset bool
	// contains filtered or unexported fields
}

func (ResponseFlags_builder) Build

type TCPAccessLogEntry

type TCPAccessLogEntry struct {

	// Common properties shared by all Envoy access logs.
	CommonProperties *AccessLogCommon `protobuf:"bytes,1,opt,name=common_properties,json=commonProperties,proto3" json:"common_properties,omitempty"`
	// Properties of the TCP connection.
	ConnectionProperties *ConnectionProperties `protobuf:"bytes,2,opt,name=connection_properties,json=connectionProperties,proto3" json:"connection_properties,omitempty"`
	// contains filtered or unexported fields
}

func (*TCPAccessLogEntry) ClearCommonProperties

func (x *TCPAccessLogEntry) ClearCommonProperties()

func (*TCPAccessLogEntry) ClearConnectionProperties

func (x *TCPAccessLogEntry) ClearConnectionProperties()

func (*TCPAccessLogEntry) GetCommonProperties

func (x *TCPAccessLogEntry) GetCommonProperties() *AccessLogCommon

func (*TCPAccessLogEntry) GetConnectionProperties

func (x *TCPAccessLogEntry) GetConnectionProperties() *ConnectionProperties

func (*TCPAccessLogEntry) HasCommonProperties

func (x *TCPAccessLogEntry) HasCommonProperties() bool

func (*TCPAccessLogEntry) HasConnectionProperties

func (x *TCPAccessLogEntry) HasConnectionProperties() bool

func (*TCPAccessLogEntry) ProtoMessage

func (*TCPAccessLogEntry) ProtoMessage()

func (*TCPAccessLogEntry) ProtoReflect

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

func (*TCPAccessLogEntry) Reset

func (x *TCPAccessLogEntry) Reset()

func (*TCPAccessLogEntry) SetCommonProperties

func (x *TCPAccessLogEntry) SetCommonProperties(v *AccessLogCommon)

func (*TCPAccessLogEntry) SetConnectionProperties

func (x *TCPAccessLogEntry) SetConnectionProperties(v *ConnectionProperties)

func (*TCPAccessLogEntry) String

func (x *TCPAccessLogEntry) String() string

type TCPAccessLogEntry_builder

type TCPAccessLogEntry_builder struct {

	// Common properties shared by all Envoy access logs.
	CommonProperties *AccessLogCommon
	// Properties of the TCP connection.
	ConnectionProperties *ConnectionProperties
	// contains filtered or unexported fields
}

func (TCPAccessLogEntry_builder) Build

type TLSProperties

type TLSProperties struct {

	// Version of TLS that was negotiated.
	TlsVersion TLSProperties_TLSVersion `` /* 146-byte string literal not displayed */
	// TLS cipher suite negotiated during handshake. The value is a
	// four-digit hex code defined by the IANA TLS Cipher Suite Registry
	// (e.g. “009C“ for “TLS_RSA_WITH_AES_128_GCM_SHA256“).
	//
	// Here it is expressed as an integer.
	TlsCipherSuite *wrapperspb.UInt32Value `protobuf:"bytes,2,opt,name=tls_cipher_suite,json=tlsCipherSuite,proto3" json:"tls_cipher_suite,omitempty"`
	// SNI hostname from handshake.
	TlsSniHostname string `protobuf:"bytes,3,opt,name=tls_sni_hostname,json=tlsSniHostname,proto3" json:"tls_sni_hostname,omitempty"`
	// Properties of the local certificate used to negotiate TLS.
	LocalCertificateProperties *TLSProperties_CertificateProperties `` /* 141-byte string literal not displayed */
	// Properties of the peer certificate used to negotiate TLS.
	PeerCertificateProperties *TLSProperties_CertificateProperties `` /* 138-byte string literal not displayed */
	// The TLS session ID.
	TlsSessionId string `protobuf:"bytes,6,opt,name=tls_session_id,json=tlsSessionId,proto3" json:"tls_session_id,omitempty"`
	// The “JA3“ fingerprint when “JA3“ fingerprinting is enabled.
	Ja3Fingerprint string `protobuf:"bytes,7,opt,name=ja3_fingerprint,json=ja3Fingerprint,proto3" json:"ja3_fingerprint,omitempty"`
	// contains filtered or unexported fields
}

Properties of a negotiated TLS connection. [#next-free-field: 8]

func (*TLSProperties) ClearLocalCertificateProperties

func (x *TLSProperties) ClearLocalCertificateProperties()

func (*TLSProperties) ClearPeerCertificateProperties

func (x *TLSProperties) ClearPeerCertificateProperties()

func (*TLSProperties) ClearTlsCipherSuite

func (x *TLSProperties) ClearTlsCipherSuite()

func (*TLSProperties) GetJa3Fingerprint

func (x *TLSProperties) GetJa3Fingerprint() string

func (*TLSProperties) GetLocalCertificateProperties

func (x *TLSProperties) GetLocalCertificateProperties() *TLSProperties_CertificateProperties

func (*TLSProperties) GetPeerCertificateProperties

func (x *TLSProperties) GetPeerCertificateProperties() *TLSProperties_CertificateProperties

func (*TLSProperties) GetTlsCipherSuite

func (x *TLSProperties) GetTlsCipherSuite() *wrapperspb.UInt32Value

func (*TLSProperties) GetTlsSessionId

func (x *TLSProperties) GetTlsSessionId() string

func (*TLSProperties) GetTlsSniHostname

func (x *TLSProperties) GetTlsSniHostname() string

func (*TLSProperties) GetTlsVersion

func (x *TLSProperties) GetTlsVersion() TLSProperties_TLSVersion

func (*TLSProperties) HasLocalCertificateProperties

func (x *TLSProperties) HasLocalCertificateProperties() bool

func (*TLSProperties) HasPeerCertificateProperties

func (x *TLSProperties) HasPeerCertificateProperties() bool

func (*TLSProperties) HasTlsCipherSuite

func (x *TLSProperties) HasTlsCipherSuite() bool

func (*TLSProperties) ProtoMessage

func (*TLSProperties) ProtoMessage()

func (*TLSProperties) ProtoReflect

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

func (*TLSProperties) Reset

func (x *TLSProperties) Reset()

func (*TLSProperties) SetJa3Fingerprint

func (x *TLSProperties) SetJa3Fingerprint(v string)

func (*TLSProperties) SetLocalCertificateProperties

func (x *TLSProperties) SetLocalCertificateProperties(v *TLSProperties_CertificateProperties)

func (*TLSProperties) SetPeerCertificateProperties

func (x *TLSProperties) SetPeerCertificateProperties(v *TLSProperties_CertificateProperties)

func (*TLSProperties) SetTlsCipherSuite

func (x *TLSProperties) SetTlsCipherSuite(v *wrapperspb.UInt32Value)

func (*TLSProperties) SetTlsSessionId

func (x *TLSProperties) SetTlsSessionId(v string)

func (*TLSProperties) SetTlsSniHostname

func (x *TLSProperties) SetTlsSniHostname(v string)

func (*TLSProperties) SetTlsVersion

func (x *TLSProperties) SetTlsVersion(v TLSProperties_TLSVersion)

func (*TLSProperties) String

func (x *TLSProperties) String() string

type TLSProperties_CertificateProperties

type TLSProperties_CertificateProperties struct {

	// SANs present in the certificate.
	SubjectAltName []*TLSProperties_CertificateProperties_SubjectAltName `protobuf:"bytes,1,rep,name=subject_alt_name,json=subjectAltName,proto3" json:"subject_alt_name,omitempty"`
	// The subject field of the certificate.
	Subject string `protobuf:"bytes,2,opt,name=subject,proto3" json:"subject,omitempty"`
	// The issuer field of the certificate.
	Issuer string `protobuf:"bytes,3,opt,name=issuer,proto3" json:"issuer,omitempty"`
	// contains filtered or unexported fields
}

func (*TLSProperties_CertificateProperties) GetIssuer

func (*TLSProperties_CertificateProperties) GetSubject

func (*TLSProperties_CertificateProperties) GetSubjectAltName

func (*TLSProperties_CertificateProperties) ProtoMessage

func (*TLSProperties_CertificateProperties) ProtoMessage()

func (*TLSProperties_CertificateProperties) ProtoReflect

func (*TLSProperties_CertificateProperties) Reset

func (*TLSProperties_CertificateProperties) SetIssuer

func (*TLSProperties_CertificateProperties) SetSubject

func (*TLSProperties_CertificateProperties) SetSubjectAltName

func (*TLSProperties_CertificateProperties) String

type TLSProperties_CertificateProperties_SubjectAltName

type TLSProperties_CertificateProperties_SubjectAltName struct {

	// Types that are valid to be assigned to San:
	//
	//	*TLSProperties_CertificateProperties_SubjectAltName_Uri
	//	*TLSProperties_CertificateProperties_SubjectAltName_Dns
	San isTLSProperties_CertificateProperties_SubjectAltName_San `protobuf_oneof:"san"`
	// contains filtered or unexported fields
}

func (*TLSProperties_CertificateProperties_SubjectAltName) ClearDns

func (*TLSProperties_CertificateProperties_SubjectAltName) ClearSan

func (*TLSProperties_CertificateProperties_SubjectAltName) ClearUri

func (*TLSProperties_CertificateProperties_SubjectAltName) GetDns

func (*TLSProperties_CertificateProperties_SubjectAltName) GetSan

func (x *TLSProperties_CertificateProperties_SubjectAltName) GetSan() isTLSProperties_CertificateProperties_SubjectAltName_San

func (*TLSProperties_CertificateProperties_SubjectAltName) GetUri

func (*TLSProperties_CertificateProperties_SubjectAltName) HasDns

func (*TLSProperties_CertificateProperties_SubjectAltName) HasSan

func (*TLSProperties_CertificateProperties_SubjectAltName) HasUri

func (*TLSProperties_CertificateProperties_SubjectAltName) ProtoMessage

func (*TLSProperties_CertificateProperties_SubjectAltName) ProtoReflect

func (*TLSProperties_CertificateProperties_SubjectAltName) Reset

func (*TLSProperties_CertificateProperties_SubjectAltName) SetDns

func (*TLSProperties_CertificateProperties_SubjectAltName) SetUri

func (*TLSProperties_CertificateProperties_SubjectAltName) String

func (*TLSProperties_CertificateProperties_SubjectAltName) WhichSan

func (x *TLSProperties_CertificateProperties_SubjectAltName) WhichSan() case_TLSProperties_CertificateProperties_SubjectAltName_San

type TLSProperties_CertificateProperties_SubjectAltName_Dns

type TLSProperties_CertificateProperties_SubjectAltName_Dns struct {
	// [#not-implemented-hide:]
	Dns string `protobuf:"bytes,2,opt,name=dns,proto3,oneof"`
}

type TLSProperties_CertificateProperties_SubjectAltName_Uri

type TLSProperties_CertificateProperties_SubjectAltName_Uri struct {
	Uri string `protobuf:"bytes,1,opt,name=uri,proto3,oneof"`
}

type TLSProperties_CertificateProperties_SubjectAltName_builder

type TLSProperties_CertificateProperties_SubjectAltName_builder struct {

	// Fields of oneof San:
	Uri *string
	// [#not-implemented-hide:]
	Dns *string
	// contains filtered or unexported fields
}

func (TLSProperties_CertificateProperties_SubjectAltName_builder) Build

type TLSProperties_CertificateProperties_builder

type TLSProperties_CertificateProperties_builder struct {

	// SANs present in the certificate.
	SubjectAltName []*TLSProperties_CertificateProperties_SubjectAltName
	// The subject field of the certificate.
	Subject string
	// The issuer field of the certificate.
	Issuer string
	// contains filtered or unexported fields
}

func (TLSProperties_CertificateProperties_builder) Build

type TLSProperties_TLSVersion

type TLSProperties_TLSVersion int32
const (
	TLSProperties_VERSION_UNSPECIFIED TLSProperties_TLSVersion = 0
	TLSProperties_TLSv1               TLSProperties_TLSVersion = 1
	TLSProperties_TLSv1_1             TLSProperties_TLSVersion = 2
	TLSProperties_TLSv1_2             TLSProperties_TLSVersion = 3
	TLSProperties_TLSv1_3             TLSProperties_TLSVersion = 4
)

func (TLSProperties_TLSVersion) Descriptor

func (TLSProperties_TLSVersion) Enum

func (TLSProperties_TLSVersion) Number

func (TLSProperties_TLSVersion) String

func (x TLSProperties_TLSVersion) String() string

func (TLSProperties_TLSVersion) Type

type TLSProperties_builder

type TLSProperties_builder struct {

	// Version of TLS that was negotiated.
	TlsVersion TLSProperties_TLSVersion
	// TLS cipher suite negotiated during handshake. The value is a
	// four-digit hex code defined by the IANA TLS Cipher Suite Registry
	// (e.g. “009C“ for “TLS_RSA_WITH_AES_128_GCM_SHA256“).
	//
	// Here it is expressed as an integer.
	TlsCipherSuite *wrapperspb.UInt32Value
	// SNI hostname from handshake.
	TlsSniHostname string
	// Properties of the local certificate used to negotiate TLS.
	LocalCertificateProperties *TLSProperties_CertificateProperties
	// Properties of the peer certificate used to negotiate TLS.
	PeerCertificateProperties *TLSProperties_CertificateProperties
	// The TLS session ID.
	TlsSessionId string
	// The “JA3“ fingerprint when “JA3“ fingerprinting is enabled.
	Ja3Fingerprint string
	// contains filtered or unexported fields
}

func (TLSProperties_builder) Build

Jump to

Keyboard shortcuts

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