Documentation
¶
Index ¶
- Constants
- Variables
- type AccessLogCommon
- func (x *AccessLogCommon) ClearDownstreamDirectRemoteAddress()
- func (x *AccessLogCommon) ClearDownstreamLocalAddress()
- func (x *AccessLogCommon) ClearDownstreamRemoteAddress()
- func (x *AccessLogCommon) ClearMetadata()
- func (x *AccessLogCommon) ClearResponseFlags()
- func (x *AccessLogCommon) ClearStartTime()
- func (x *AccessLogCommon) ClearTimeToFirstDownstreamTxByte()
- func (x *AccessLogCommon) ClearTimeToFirstUpstreamRxByte()
- func (x *AccessLogCommon) ClearTimeToFirstUpstreamTxByte()
- func (x *AccessLogCommon) ClearTimeToLastDownstreamTxByte()
- func (x *AccessLogCommon) ClearTimeToLastRxByte()
- func (x *AccessLogCommon) ClearTimeToLastUpstreamRxByte()
- func (x *AccessLogCommon) ClearTimeToLastUpstreamTxByte()
- func (x *AccessLogCommon) ClearTlsProperties()
- func (x *AccessLogCommon) ClearUpstreamLocalAddress()
- func (x *AccessLogCommon) ClearUpstreamRemoteAddress()
- func (x *AccessLogCommon) GetDownstreamDirectRemoteAddress() *core.Address
- func (x *AccessLogCommon) GetDownstreamLocalAddress() *core.Address
- func (x *AccessLogCommon) GetDownstreamRemoteAddress() *core.Address
- func (x *AccessLogCommon) GetFilterStateObjects() map[string]*anypb.Any
- func (x *AccessLogCommon) GetMetadata() *core.Metadata
- func (x *AccessLogCommon) GetResponseFlags() *ResponseFlags
- func (x *AccessLogCommon) GetRouteName() string
- func (x *AccessLogCommon) GetSampleRate() float64
- func (x *AccessLogCommon) GetStartTime() *timestamppb.Timestamp
- func (x *AccessLogCommon) GetTimeToFirstDownstreamTxByte() *durationpb.Duration
- func (x *AccessLogCommon) GetTimeToFirstUpstreamRxByte() *durationpb.Duration
- func (x *AccessLogCommon) GetTimeToFirstUpstreamTxByte() *durationpb.Duration
- func (x *AccessLogCommon) GetTimeToLastDownstreamTxByte() *durationpb.Duration
- func (x *AccessLogCommon) GetTimeToLastRxByte() *durationpb.Duration
- func (x *AccessLogCommon) GetTimeToLastUpstreamRxByte() *durationpb.Duration
- func (x *AccessLogCommon) GetTimeToLastUpstreamTxByte() *durationpb.Duration
- func (x *AccessLogCommon) GetTlsProperties() *TLSProperties
- func (x *AccessLogCommon) GetUpstreamCluster() string
- func (x *AccessLogCommon) GetUpstreamLocalAddress() *core.Address
- func (x *AccessLogCommon) GetUpstreamRemoteAddress() *core.Address
- func (x *AccessLogCommon) GetUpstreamTransportFailureReason() string
- func (x *AccessLogCommon) HasDownstreamDirectRemoteAddress() bool
- func (x *AccessLogCommon) HasDownstreamLocalAddress() bool
- func (x *AccessLogCommon) HasDownstreamRemoteAddress() bool
- func (x *AccessLogCommon) HasMetadata() bool
- func (x *AccessLogCommon) HasResponseFlags() bool
- func (x *AccessLogCommon) HasStartTime() bool
- func (x *AccessLogCommon) HasTimeToFirstDownstreamTxByte() bool
- func (x *AccessLogCommon) HasTimeToFirstUpstreamRxByte() bool
- func (x *AccessLogCommon) HasTimeToFirstUpstreamTxByte() bool
- func (x *AccessLogCommon) HasTimeToLastDownstreamTxByte() bool
- func (x *AccessLogCommon) HasTimeToLastRxByte() bool
- func (x *AccessLogCommon) HasTimeToLastUpstreamRxByte() bool
- func (x *AccessLogCommon) HasTimeToLastUpstreamTxByte() bool
- func (x *AccessLogCommon) HasTlsProperties() bool
- func (x *AccessLogCommon) HasUpstreamLocalAddress() bool
- func (x *AccessLogCommon) HasUpstreamRemoteAddress() bool
- func (*AccessLogCommon) ProtoMessage()
- func (x *AccessLogCommon) ProtoReflect() protoreflect.Message
- func (x *AccessLogCommon) Reset()
- func (x *AccessLogCommon) SetDownstreamDirectRemoteAddress(v *core.Address)
- func (x *AccessLogCommon) SetDownstreamLocalAddress(v *core.Address)
- func (x *AccessLogCommon) SetDownstreamRemoteAddress(v *core.Address)
- func (x *AccessLogCommon) SetFilterStateObjects(v map[string]*anypb.Any)
- func (x *AccessLogCommon) SetMetadata(v *core.Metadata)
- func (x *AccessLogCommon) SetResponseFlags(v *ResponseFlags)
- func (x *AccessLogCommon) SetRouteName(v string)
- func (x *AccessLogCommon) SetSampleRate(v float64)
- func (x *AccessLogCommon) SetStartTime(v *timestamppb.Timestamp)
- func (x *AccessLogCommon) SetTimeToFirstDownstreamTxByte(v *durationpb.Duration)
- func (x *AccessLogCommon) SetTimeToFirstUpstreamRxByte(v *durationpb.Duration)
- func (x *AccessLogCommon) SetTimeToFirstUpstreamTxByte(v *durationpb.Duration)
- func (x *AccessLogCommon) SetTimeToLastDownstreamTxByte(v *durationpb.Duration)
- func (x *AccessLogCommon) SetTimeToLastRxByte(v *durationpb.Duration)
- func (x *AccessLogCommon) SetTimeToLastUpstreamRxByte(v *durationpb.Duration)
- func (x *AccessLogCommon) SetTimeToLastUpstreamTxByte(v *durationpb.Duration)
- func (x *AccessLogCommon) SetTlsProperties(v *TLSProperties)
- func (x *AccessLogCommon) SetUpstreamCluster(v string)
- func (x *AccessLogCommon) SetUpstreamLocalAddress(v *core.Address)
- func (x *AccessLogCommon) SetUpstreamRemoteAddress(v *core.Address)
- func (x *AccessLogCommon) SetUpstreamTransportFailureReason(v string)
- func (x *AccessLogCommon) String() string
- type AccessLogCommon_builder
- type ConnectionProperties
- func (x *ConnectionProperties) GetReceivedBytes() uint64
- func (x *ConnectionProperties) GetSentBytes() uint64
- func (*ConnectionProperties) ProtoMessage()
- func (x *ConnectionProperties) ProtoReflect() protoreflect.Message
- func (x *ConnectionProperties) Reset()
- func (x *ConnectionProperties) SetReceivedBytes(v uint64)
- func (x *ConnectionProperties) SetSentBytes(v uint64)
- func (x *ConnectionProperties) String() string
- type ConnectionProperties_builder
- type HTTPAccessLogEntry
- func (x *HTTPAccessLogEntry) ClearCommonProperties()
- func (x *HTTPAccessLogEntry) ClearRequest()
- func (x *HTTPAccessLogEntry) ClearResponse()
- func (x *HTTPAccessLogEntry) GetCommonProperties() *AccessLogCommon
- func (x *HTTPAccessLogEntry) GetProtocolVersion() HTTPAccessLogEntry_HTTPVersion
- func (x *HTTPAccessLogEntry) GetRequest() *HTTPRequestProperties
- func (x *HTTPAccessLogEntry) GetResponse() *HTTPResponseProperties
- func (x *HTTPAccessLogEntry) HasCommonProperties() bool
- func (x *HTTPAccessLogEntry) HasRequest() bool
- func (x *HTTPAccessLogEntry) HasResponse() bool
- func (*HTTPAccessLogEntry) ProtoMessage()
- func (x *HTTPAccessLogEntry) ProtoReflect() protoreflect.Message
- func (x *HTTPAccessLogEntry) Reset()
- func (x *HTTPAccessLogEntry) SetCommonProperties(v *AccessLogCommon)
- func (x *HTTPAccessLogEntry) SetProtocolVersion(v HTTPAccessLogEntry_HTTPVersion)
- func (x *HTTPAccessLogEntry) SetRequest(v *HTTPRequestProperties)
- func (x *HTTPAccessLogEntry) SetResponse(v *HTTPResponseProperties)
- func (x *HTTPAccessLogEntry) String() string
- type HTTPAccessLogEntry_HTTPVersion
- func (HTTPAccessLogEntry_HTTPVersion) Descriptor() protoreflect.EnumDescriptor
- func (x HTTPAccessLogEntry_HTTPVersion) Enum() *HTTPAccessLogEntry_HTTPVersion
- func (x HTTPAccessLogEntry_HTTPVersion) Number() protoreflect.EnumNumber
- func (x HTTPAccessLogEntry_HTTPVersion) String() string
- func (HTTPAccessLogEntry_HTTPVersion) Type() protoreflect.EnumType
- type HTTPAccessLogEntry_builder
- type HTTPRequestProperties
- func (x *HTTPRequestProperties) ClearPort()
- func (x *HTTPRequestProperties) GetAuthority() string
- func (x *HTTPRequestProperties) GetForwardedFor() string
- func (x *HTTPRequestProperties) GetOriginalPath() string
- func (x *HTTPRequestProperties) GetPath() string
- func (x *HTTPRequestProperties) GetPort() *wrapperspb.UInt32Value
- func (x *HTTPRequestProperties) GetReferer() string
- func (x *HTTPRequestProperties) GetRequestBodyBytes() uint64
- func (x *HTTPRequestProperties) GetRequestHeaders() map[string]string
- func (x *HTTPRequestProperties) GetRequestHeadersBytes() uint64
- func (x *HTTPRequestProperties) GetRequestId() string
- func (x *HTTPRequestProperties) GetRequestMethod() core.RequestMethod
- func (x *HTTPRequestProperties) GetScheme() string
- func (x *HTTPRequestProperties) GetUserAgent() string
- func (x *HTTPRequestProperties) HasPort() bool
- func (*HTTPRequestProperties) ProtoMessage()
- func (x *HTTPRequestProperties) ProtoReflect() protoreflect.Message
- func (x *HTTPRequestProperties) Reset()
- func (x *HTTPRequestProperties) SetAuthority(v string)
- func (x *HTTPRequestProperties) SetForwardedFor(v string)
- func (x *HTTPRequestProperties) SetOriginalPath(v string)
- func (x *HTTPRequestProperties) SetPath(v string)
- func (x *HTTPRequestProperties) SetPort(v *wrapperspb.UInt32Value)
- func (x *HTTPRequestProperties) SetReferer(v string)
- func (x *HTTPRequestProperties) SetRequestBodyBytes(v uint64)
- func (x *HTTPRequestProperties) SetRequestHeaders(v map[string]string)
- func (x *HTTPRequestProperties) SetRequestHeadersBytes(v uint64)
- func (x *HTTPRequestProperties) SetRequestId(v string)
- func (x *HTTPRequestProperties) SetRequestMethod(v core.RequestMethod)
- func (x *HTTPRequestProperties) SetScheme(v string)
- func (x *HTTPRequestProperties) SetUserAgent(v string)
- func (x *HTTPRequestProperties) String() string
- type HTTPRequestProperties_builder
- type HTTPResponseProperties
- func (x *HTTPResponseProperties) ClearResponseCode()
- func (x *HTTPResponseProperties) GetResponseBodyBytes() uint64
- func (x *HTTPResponseProperties) GetResponseCode() *wrapperspb.UInt32Value
- func (x *HTTPResponseProperties) GetResponseCodeDetails() string
- func (x *HTTPResponseProperties) GetResponseHeaders() map[string]string
- func (x *HTTPResponseProperties) GetResponseHeadersBytes() uint64
- func (x *HTTPResponseProperties) GetResponseTrailers() map[string]string
- func (x *HTTPResponseProperties) HasResponseCode() bool
- func (*HTTPResponseProperties) ProtoMessage()
- func (x *HTTPResponseProperties) ProtoReflect() protoreflect.Message
- func (x *HTTPResponseProperties) Reset()
- func (x *HTTPResponseProperties) SetResponseBodyBytes(v uint64)
- func (x *HTTPResponseProperties) SetResponseCode(v *wrapperspb.UInt32Value)
- func (x *HTTPResponseProperties) SetResponseCodeDetails(v string)
- func (x *HTTPResponseProperties) SetResponseHeaders(v map[string]string)
- func (x *HTTPResponseProperties) SetResponseHeadersBytes(v uint64)
- func (x *HTTPResponseProperties) SetResponseTrailers(v map[string]string)
- func (x *HTTPResponseProperties) String() string
- type HTTPResponseProperties_builder
- type ResponseFlags
- func (x *ResponseFlags) ClearUnauthorizedDetails()
- func (x *ResponseFlags) GetDelayInjected() bool
- func (x *ResponseFlags) GetDownstreamConnectionTermination() bool
- func (x *ResponseFlags) GetDownstreamProtocolError() bool
- func (x *ResponseFlags) GetFailedLocalHealthcheck() bool
- func (x *ResponseFlags) GetFaultInjected() bool
- func (x *ResponseFlags) GetInvalidEnvoyRequestHeaders() bool
- func (x *ResponseFlags) GetLocalReset() bool
- func (x *ResponseFlags) GetNoHealthyUpstream() bool
- func (x *ResponseFlags) GetNoRouteFound() bool
- func (x *ResponseFlags) GetRateLimitServiceError() bool
- func (x *ResponseFlags) GetRateLimited() bool
- func (x *ResponseFlags) GetStreamIdleTimeout() bool
- func (x *ResponseFlags) GetUnauthorizedDetails() *ResponseFlags_Unauthorized
- func (x *ResponseFlags) GetUpstreamConnectionFailure() bool
- func (x *ResponseFlags) GetUpstreamConnectionTermination() bool
- func (x *ResponseFlags) GetUpstreamOverflow() bool
- func (x *ResponseFlags) GetUpstreamRemoteReset() bool
- func (x *ResponseFlags) GetUpstreamRequestTimeout() bool
- func (x *ResponseFlags) GetUpstreamRetryLimitExceeded() bool
- func (x *ResponseFlags) HasUnauthorizedDetails() bool
- func (*ResponseFlags) ProtoMessage()
- func (x *ResponseFlags) ProtoReflect() protoreflect.Message
- func (x *ResponseFlags) Reset()
- func (x *ResponseFlags) SetDelayInjected(v bool)
- func (x *ResponseFlags) SetDownstreamConnectionTermination(v bool)
- func (x *ResponseFlags) SetDownstreamProtocolError(v bool)
- func (x *ResponseFlags) SetFailedLocalHealthcheck(v bool)
- func (x *ResponseFlags) SetFaultInjected(v bool)
- func (x *ResponseFlags) SetInvalidEnvoyRequestHeaders(v bool)
- func (x *ResponseFlags) SetLocalReset(v bool)
- func (x *ResponseFlags) SetNoHealthyUpstream(v bool)
- func (x *ResponseFlags) SetNoRouteFound(v bool)
- func (x *ResponseFlags) SetRateLimitServiceError(v bool)
- func (x *ResponseFlags) SetRateLimited(v bool)
- func (x *ResponseFlags) SetStreamIdleTimeout(v bool)
- func (x *ResponseFlags) SetUnauthorizedDetails(v *ResponseFlags_Unauthorized)
- func (x *ResponseFlags) SetUpstreamConnectionFailure(v bool)
- func (x *ResponseFlags) SetUpstreamConnectionTermination(v bool)
- func (x *ResponseFlags) SetUpstreamOverflow(v bool)
- func (x *ResponseFlags) SetUpstreamRemoteReset(v bool)
- func (x *ResponseFlags) SetUpstreamRequestTimeout(v bool)
- func (x *ResponseFlags) SetUpstreamRetryLimitExceeded(v bool)
- func (x *ResponseFlags) String() string
- type ResponseFlags_Unauthorized
- func (x *ResponseFlags_Unauthorized) GetReason() ResponseFlags_Unauthorized_Reason
- func (*ResponseFlags_Unauthorized) ProtoMessage()
- func (x *ResponseFlags_Unauthorized) ProtoReflect() protoreflect.Message
- func (x *ResponseFlags_Unauthorized) Reset()
- func (x *ResponseFlags_Unauthorized) SetReason(v ResponseFlags_Unauthorized_Reason)
- func (x *ResponseFlags_Unauthorized) String() string
- type ResponseFlags_Unauthorized_Reason
- func (ResponseFlags_Unauthorized_Reason) Descriptor() protoreflect.EnumDescriptor
- func (x ResponseFlags_Unauthorized_Reason) Enum() *ResponseFlags_Unauthorized_Reason
- func (x ResponseFlags_Unauthorized_Reason) Number() protoreflect.EnumNumber
- func (x ResponseFlags_Unauthorized_Reason) String() string
- func (ResponseFlags_Unauthorized_Reason) Type() protoreflect.EnumType
- type ResponseFlags_Unauthorized_builder
- type ResponseFlags_builder
- type TCPAccessLogEntry
- func (x *TCPAccessLogEntry) ClearCommonProperties()
- func (x *TCPAccessLogEntry) ClearConnectionProperties()
- func (x *TCPAccessLogEntry) GetCommonProperties() *AccessLogCommon
- func (x *TCPAccessLogEntry) GetConnectionProperties() *ConnectionProperties
- func (x *TCPAccessLogEntry) HasCommonProperties() bool
- func (x *TCPAccessLogEntry) HasConnectionProperties() bool
- func (*TCPAccessLogEntry) ProtoMessage()
- func (x *TCPAccessLogEntry) ProtoReflect() protoreflect.Message
- func (x *TCPAccessLogEntry) Reset()
- func (x *TCPAccessLogEntry) SetCommonProperties(v *AccessLogCommon)
- func (x *TCPAccessLogEntry) SetConnectionProperties(v *ConnectionProperties)
- func (x *TCPAccessLogEntry) String() string
- type TCPAccessLogEntry_builder
- type TLSProperties
- func (x *TLSProperties) ClearLocalCertificateProperties()
- func (x *TLSProperties) ClearPeerCertificateProperties()
- func (x *TLSProperties) ClearTlsCipherSuite()
- func (x *TLSProperties) GetLocalCertificateProperties() *TLSProperties_CertificateProperties
- func (x *TLSProperties) GetPeerCertificateProperties() *TLSProperties_CertificateProperties
- func (x *TLSProperties) GetTlsCipherSuite() *wrapperspb.UInt32Value
- func (x *TLSProperties) GetTlsSessionId() string
- func (x *TLSProperties) GetTlsSniHostname() string
- func (x *TLSProperties) GetTlsVersion() TLSProperties_TLSVersion
- func (x *TLSProperties) HasLocalCertificateProperties() bool
- func (x *TLSProperties) HasPeerCertificateProperties() bool
- func (x *TLSProperties) HasTlsCipherSuite() bool
- func (*TLSProperties) ProtoMessage()
- func (x *TLSProperties) ProtoReflect() protoreflect.Message
- func (x *TLSProperties) Reset()
- func (x *TLSProperties) SetLocalCertificateProperties(v *TLSProperties_CertificateProperties)
- func (x *TLSProperties) SetPeerCertificateProperties(v *TLSProperties_CertificateProperties)
- func (x *TLSProperties) SetTlsCipherSuite(v *wrapperspb.UInt32Value)
- func (x *TLSProperties) SetTlsSessionId(v string)
- func (x *TLSProperties) SetTlsSniHostname(v string)
- func (x *TLSProperties) SetTlsVersion(v TLSProperties_TLSVersion)
- func (x *TLSProperties) String() string
- type TLSProperties_CertificateProperties
- func (x *TLSProperties_CertificateProperties) GetSubject() string
- func (x *TLSProperties_CertificateProperties) GetSubjectAltName() []*TLSProperties_CertificateProperties_SubjectAltName
- func (*TLSProperties_CertificateProperties) ProtoMessage()
- func (x *TLSProperties_CertificateProperties) ProtoReflect() protoreflect.Message
- func (x *TLSProperties_CertificateProperties) Reset()
- func (x *TLSProperties_CertificateProperties) SetSubject(v string)
- func (x *TLSProperties_CertificateProperties) SetSubjectAltName(v []*TLSProperties_CertificateProperties_SubjectAltName)
- func (x *TLSProperties_CertificateProperties) String() string
- type TLSProperties_CertificateProperties_SubjectAltName
- func (x *TLSProperties_CertificateProperties_SubjectAltName) ClearDns()
- func (x *TLSProperties_CertificateProperties_SubjectAltName) ClearSan()
- func (x *TLSProperties_CertificateProperties_SubjectAltName) ClearUri()
- func (x *TLSProperties_CertificateProperties_SubjectAltName) GetDns() string
- func (x *TLSProperties_CertificateProperties_SubjectAltName) GetSan() isTLSProperties_CertificateProperties_SubjectAltName_San
- func (x *TLSProperties_CertificateProperties_SubjectAltName) GetUri() string
- func (x *TLSProperties_CertificateProperties_SubjectAltName) HasDns() bool
- func (x *TLSProperties_CertificateProperties_SubjectAltName) HasSan() bool
- func (x *TLSProperties_CertificateProperties_SubjectAltName) HasUri() bool
- func (*TLSProperties_CertificateProperties_SubjectAltName) ProtoMessage()
- func (x *TLSProperties_CertificateProperties_SubjectAltName) ProtoReflect() protoreflect.Message
- func (x *TLSProperties_CertificateProperties_SubjectAltName) Reset()
- func (x *TLSProperties_CertificateProperties_SubjectAltName) SetDns(v string)
- func (x *TLSProperties_CertificateProperties_SubjectAltName) SetUri(v string)
- func (x *TLSProperties_CertificateProperties_SubjectAltName) String() string
- func (x *TLSProperties_CertificateProperties_SubjectAltName) WhichSan() case_TLSProperties_CertificateProperties_SubjectAltName_San
- type TLSProperties_CertificateProperties_SubjectAltName_Dns
- type TLSProperties_CertificateProperties_SubjectAltName_Uri
- type TLSProperties_CertificateProperties_SubjectAltName_builder
- type TLSProperties_CertificateProperties_builder
- type TLSProperties_TLSVersion
- func (TLSProperties_TLSVersion) Descriptor() protoreflect.EnumDescriptor
- func (x TLSProperties_TLSVersion) Enum() *TLSProperties_TLSVersion
- func (x TLSProperties_TLSVersion) Number() protoreflect.EnumNumber
- func (x TLSProperties_TLSVersion) String() string
- func (TLSProperties_TLSVersion) Type() protoreflect.EnumType
- type TLSProperties_builder
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 ( 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 ( 0: "REASON_UNSPECIFIED", 1: "EXTERNAL_SERVICE", } "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_v2_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 *core.Address `` /* 132-byte string literal not displayed */
// This field is the local/destination address on which the request from the user was received.
DownstreamLocalAddress *core.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 *core.Address `` /* 127-byte string literal not displayed */
// The upstream local/origin address that handles this exchange. This does not include retries.
UpstreamLocalAddress *core.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 *core.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 *core.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 */
// contains filtered or unexported fields
}
Defines fields that are shared by all Envoy access logs. [#next-free-field: 22]
func (*AccessLogCommon) ClearDownstreamDirectRemoteAddress ¶
func (x *AccessLogCommon) ClearDownstreamDirectRemoteAddress()
func (*AccessLogCommon) ClearDownstreamLocalAddress ¶
func (x *AccessLogCommon) ClearDownstreamLocalAddress()
func (*AccessLogCommon) ClearDownstreamRemoteAddress ¶
func (x *AccessLogCommon) ClearDownstreamRemoteAddress()
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) GetDownstreamDirectRemoteAddress ¶
func (x *AccessLogCommon) GetDownstreamDirectRemoteAddress() *core.Address
func (*AccessLogCommon) GetDownstreamLocalAddress ¶
func (x *AccessLogCommon) GetDownstreamLocalAddress() *core.Address
func (*AccessLogCommon) GetDownstreamRemoteAddress ¶
func (x *AccessLogCommon) GetDownstreamRemoteAddress() *core.Address
func (*AccessLogCommon) GetFilterStateObjects ¶
func (x *AccessLogCommon) GetFilterStateObjects() map[string]*anypb.Any
func (*AccessLogCommon) GetMetadata ¶
func (x *AccessLogCommon) GetMetadata() *core.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) 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() *core.Address
func (*AccessLogCommon) GetUpstreamRemoteAddress ¶
func (x *AccessLogCommon) GetUpstreamRemoteAddress() *core.Address
func (*AccessLogCommon) GetUpstreamTransportFailureReason ¶
func (x *AccessLogCommon) GetUpstreamTransportFailureReason() string
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) 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) SetDownstreamDirectRemoteAddress ¶
func (x *AccessLogCommon) SetDownstreamDirectRemoteAddress(v *core.Address)
func (*AccessLogCommon) SetDownstreamLocalAddress ¶
func (x *AccessLogCommon) SetDownstreamLocalAddress(v *core.Address)
func (*AccessLogCommon) SetDownstreamRemoteAddress ¶
func (x *AccessLogCommon) SetDownstreamRemoteAddress(v *core.Address)
func (*AccessLogCommon) SetFilterStateObjects ¶
func (x *AccessLogCommon) SetFilterStateObjects(v map[string]*anypb.Any)
func (*AccessLogCommon) SetMetadata ¶
func (x *AccessLogCommon) SetMetadata(v *core.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) 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 *core.Address)
func (*AccessLogCommon) SetUpstreamRemoteAddress ¶
func (x *AccessLogCommon) SetUpstreamRemoteAddress(v *core.Address)
func (*AccessLogCommon) SetUpstreamTransportFailureReason ¶
func (x *AccessLogCommon) SetUpstreamTransportFailureReason(v string)
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 *core.Address
// This field is the local/destination address on which the request from the user was received.
DownstreamLocalAddress *core.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 *core.Address
// The upstream local/origin address that handles this exchange. This does not include retries.
UpstreamLocalAddress *core.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 *core.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 *core.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
// contains filtered or unexported fields
}
func (AccessLogCommon_builder) Build ¶
func (b0 AccessLogCommon_builder) Build() *AccessLogCommon
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 ¶
func (b0 ConnectionProperties_builder) Build() *ConnectionProperties
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) Descriptor() protoreflect.EnumDescriptor
func (HTTPAccessLogEntry_HTTPVersion) Enum ¶
func (x HTTPAccessLogEntry_HTTPVersion) Enum() *HTTPAccessLogEntry_HTTPVersion
func (HTTPAccessLogEntry_HTTPVersion) Number ¶
func (x HTTPAccessLogEntry_HTTPVersion) Number() protoreflect.EnumNumber
func (HTTPAccessLogEntry_HTTPVersion) String ¶
func (x HTTPAccessLogEntry_HTTPVersion) String() string
func (HTTPAccessLogEntry_HTTPVersion) Type ¶
func (HTTPAccessLogEntry_HTTPVersion) Type() protoreflect.EnumType
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 ¶
func (b0 HTTPAccessLogEntry_builder) Build() *HTTPAccessLogEntry
type HTTPRequestProperties ¶
type HTTPRequestProperties struct {
// The request method (RFC 7231/2616).
RequestMethod core.RequestMethod `` /* 138-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 */
// contains filtered or unexported fields
}
[#next-free-field: 14]
func (*HTTPRequestProperties) ClearPort ¶
func (x *HTTPRequestProperties) ClearPort()
func (*HTTPRequestProperties) GetAuthority ¶
func (x *HTTPRequestProperties) GetAuthority() string
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 (x *HTTPRequestProperties) GetPort() *wrapperspb.UInt32Value
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() core.RequestMethod
func (*HTTPRequestProperties) GetScheme ¶
func (x *HTTPRequestProperties) GetScheme() string
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) 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 (x *HTTPRequestProperties) SetPort(v *wrapperspb.UInt32Value)
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 core.RequestMethod)
func (*HTTPRequestProperties) SetScheme ¶
func (x *HTTPRequestProperties) SetScheme(v string)
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 core.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
// contains filtered or unexported fields
}
func (HTTPRequestProperties_builder) Build ¶
func (b0 HTTPRequestProperties_builder) Build() *HTTPRequestProperties
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 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"`
// contains filtered or unexported fields
}
[#next-free-field: 7]
func (*HTTPResponseProperties) ClearResponseCode ¶
func (x *HTTPResponseProperties) ClearResponseCode()
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) 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) 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) 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 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
// contains filtered or unexported fields
}
func (HTTPResponseProperties_builder) Build ¶
func (b0 HTTPResponseProperties_builder) Build() *HTTPResponseProperties
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"`
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 */
// contains filtered or unexported fields
}
Flags indicating occurrences during request/response processing. [#next-free-field: 20]
func (*ResponseFlags) ClearUnauthorizedDetails ¶
func (x *ResponseFlags) ClearUnauthorizedDetails()
func (*ResponseFlags) GetDelayInjected ¶
func (x *ResponseFlags) GetDelayInjected() bool
func (*ResponseFlags) GetDownstreamConnectionTermination ¶
func (x *ResponseFlags) GetDownstreamConnectionTermination() bool
func (*ResponseFlags) GetDownstreamProtocolError ¶
func (x *ResponseFlags) GetDownstreamProtocolError() 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) GetNoHealthyUpstream ¶
func (x *ResponseFlags) GetNoHealthyUpstream() bool
func (*ResponseFlags) GetNoRouteFound ¶
func (x *ResponseFlags) GetNoRouteFound() bool
func (*ResponseFlags) GetRateLimitServiceError ¶
func (x *ResponseFlags) GetRateLimitServiceError() bool
func (*ResponseFlags) GetRateLimited ¶
func (x *ResponseFlags) GetRateLimited() 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) GetUpstreamOverflow ¶
func (x *ResponseFlags) GetUpstreamOverflow() 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) SetDownstreamConnectionTermination ¶
func (x *ResponseFlags) SetDownstreamConnectionTermination(v bool)
func (*ResponseFlags) SetDownstreamProtocolError ¶
func (x *ResponseFlags) SetDownstreamProtocolError(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) SetNoHealthyUpstream ¶
func (x *ResponseFlags) SetNoHealthyUpstream(v bool)
func (*ResponseFlags) SetNoRouteFound ¶
func (x *ResponseFlags) SetNoRouteFound(v bool)
func (*ResponseFlags) SetRateLimitServiceError ¶
func (x *ResponseFlags) SetRateLimitServiceError(v bool)
func (*ResponseFlags) SetRateLimited ¶
func (x *ResponseFlags) SetRateLimited(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) SetUpstreamOverflow ¶
func (x *ResponseFlags) SetUpstreamOverflow(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 {
// contains filtered or unexported fields
}
func (*ResponseFlags_Unauthorized) GetReason ¶
func (x *ResponseFlags_Unauthorized) GetReason() ResponseFlags_Unauthorized_Reason
func (*ResponseFlags_Unauthorized) ProtoMessage ¶
func (*ResponseFlags_Unauthorized) ProtoMessage()
func (*ResponseFlags_Unauthorized) ProtoReflect ¶
func (x *ResponseFlags_Unauthorized) ProtoReflect() protoreflect.Message
func (*ResponseFlags_Unauthorized) Reset ¶
func (x *ResponseFlags_Unauthorized) Reset()
func (*ResponseFlags_Unauthorized) SetReason ¶
func (x *ResponseFlags_Unauthorized) SetReason(v ResponseFlags_Unauthorized_Reason)
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_EXTERNAL_SERVICE ResponseFlags_Unauthorized_Reason = 1 )
func (ResponseFlags_Unauthorized_Reason) Descriptor ¶
func (ResponseFlags_Unauthorized_Reason) Descriptor() protoreflect.EnumDescriptor
func (ResponseFlags_Unauthorized_Reason) Enum ¶
func (x ResponseFlags_Unauthorized_Reason) Enum() *ResponseFlags_Unauthorized_Reason
func (ResponseFlags_Unauthorized_Reason) Number ¶
func (x ResponseFlags_Unauthorized_Reason) Number() protoreflect.EnumNumber
func (ResponseFlags_Unauthorized_Reason) String ¶
func (x ResponseFlags_Unauthorized_Reason) String() string
func (ResponseFlags_Unauthorized_Reason) Type ¶
func (ResponseFlags_Unauthorized_Reason) Type() protoreflect.EnumType
type ResponseFlags_Unauthorized_builder ¶
type ResponseFlags_Unauthorized_builder struct {
// contains filtered or unexported fields
}
func (ResponseFlags_Unauthorized_builder) Build ¶
func (b0 ResponseFlags_Unauthorized_builder) Build() *ResponseFlags_Unauthorized
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
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
// contains filtered or unexported fields
}
func (ResponseFlags_builder) Build ¶
func (b0 ResponseFlags_builder) Build() *ResponseFlags
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 ¶
func (b0 TCPAccessLogEntry_builder) Build() *TCPAccessLogEntry
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"`
// contains filtered or unexported fields
}
Properties of a negotiated TLS connection. [#next-free-field: 7]
func (*TLSProperties) ClearLocalCertificateProperties ¶
func (x *TLSProperties) ClearLocalCertificateProperties()
func (*TLSProperties) ClearPeerCertificateProperties ¶
func (x *TLSProperties) ClearPeerCertificateProperties()
func (*TLSProperties) ClearTlsCipherSuite ¶
func (x *TLSProperties) ClearTlsCipherSuite()
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) 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"`
// contains filtered or unexported fields
}
func (*TLSProperties_CertificateProperties) GetSubject ¶
func (x *TLSProperties_CertificateProperties) GetSubject() string
func (*TLSProperties_CertificateProperties) GetSubjectAltName ¶
func (x *TLSProperties_CertificateProperties) GetSubjectAltName() []*TLSProperties_CertificateProperties_SubjectAltName
func (*TLSProperties_CertificateProperties) ProtoMessage ¶
func (*TLSProperties_CertificateProperties) ProtoMessage()
func (*TLSProperties_CertificateProperties) ProtoReflect ¶
func (x *TLSProperties_CertificateProperties) ProtoReflect() protoreflect.Message
func (*TLSProperties_CertificateProperties) Reset ¶
func (x *TLSProperties_CertificateProperties) Reset()
func (*TLSProperties_CertificateProperties) SetSubject ¶
func (x *TLSProperties_CertificateProperties) SetSubject(v string)
func (*TLSProperties_CertificateProperties) SetSubjectAltName ¶
func (x *TLSProperties_CertificateProperties) SetSubjectAltName(v []*TLSProperties_CertificateProperties_SubjectAltName)
func (*TLSProperties_CertificateProperties) String ¶
func (x *TLSProperties_CertificateProperties) String() 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 (x *TLSProperties_CertificateProperties_SubjectAltName) ClearDns()
func (*TLSProperties_CertificateProperties_SubjectAltName) ClearSan ¶
func (x *TLSProperties_CertificateProperties_SubjectAltName) ClearSan()
func (*TLSProperties_CertificateProperties_SubjectAltName) ClearUri ¶
func (x *TLSProperties_CertificateProperties_SubjectAltName) ClearUri()
func (*TLSProperties_CertificateProperties_SubjectAltName) GetDns ¶
func (x *TLSProperties_CertificateProperties_SubjectAltName) GetDns() string
func (*TLSProperties_CertificateProperties_SubjectAltName) GetSan ¶
func (x *TLSProperties_CertificateProperties_SubjectAltName) GetSan() isTLSProperties_CertificateProperties_SubjectAltName_San
func (*TLSProperties_CertificateProperties_SubjectAltName) GetUri ¶
func (x *TLSProperties_CertificateProperties_SubjectAltName) GetUri() string
func (*TLSProperties_CertificateProperties_SubjectAltName) HasDns ¶
func (x *TLSProperties_CertificateProperties_SubjectAltName) HasDns() bool
func (*TLSProperties_CertificateProperties_SubjectAltName) HasSan ¶
func (x *TLSProperties_CertificateProperties_SubjectAltName) HasSan() bool
func (*TLSProperties_CertificateProperties_SubjectAltName) HasUri ¶
func (x *TLSProperties_CertificateProperties_SubjectAltName) HasUri() bool
func (*TLSProperties_CertificateProperties_SubjectAltName) ProtoMessage ¶
func (*TLSProperties_CertificateProperties_SubjectAltName) ProtoMessage()
func (*TLSProperties_CertificateProperties_SubjectAltName) ProtoReflect ¶
func (x *TLSProperties_CertificateProperties_SubjectAltName) ProtoReflect() protoreflect.Message
func (*TLSProperties_CertificateProperties_SubjectAltName) Reset ¶
func (x *TLSProperties_CertificateProperties_SubjectAltName) Reset()
func (*TLSProperties_CertificateProperties_SubjectAltName) SetDns ¶
func (x *TLSProperties_CertificateProperties_SubjectAltName) SetDns(v string)
func (*TLSProperties_CertificateProperties_SubjectAltName) SetUri ¶
func (x *TLSProperties_CertificateProperties_SubjectAltName) SetUri(v string)
func (*TLSProperties_CertificateProperties_SubjectAltName) String ¶
func (x *TLSProperties_CertificateProperties_SubjectAltName) String() 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
// contains filtered or unexported fields
}
func (TLSProperties_CertificateProperties_builder) Build ¶
func (b0 TLSProperties_CertificateProperties_builder) Build() *TLSProperties_CertificateProperties
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) Descriptor() protoreflect.EnumDescriptor
func (TLSProperties_TLSVersion) Enum ¶
func (x TLSProperties_TLSVersion) Enum() *TLSProperties_TLSVersion
func (TLSProperties_TLSVersion) Number ¶
func (x TLSProperties_TLSVersion) Number() protoreflect.EnumNumber
func (TLSProperties_TLSVersion) String ¶
func (x TLSProperties_TLSVersion) String() string
func (TLSProperties_TLSVersion) Type ¶
func (TLSProperties_TLSVersion) Type() protoreflect.EnumType
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
// contains filtered or unexported fields
}
func (TLSProperties_builder) Build ¶
func (b0 TLSProperties_builder) Build() *TLSProperties
Source Files
¶
- accesslog.pb.go
Click to show internal directories.
Click to hide internal directories.