import "github.com/envoyproxy/go-control-plane/envoy/data/accesslog/v2"
accesslog.pb.go accesslog.pb.validate.go
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.
var ( int32]string{ 0: "REASON_UNSPECIFIED", 1: "EXTERNAL_SERVICE", } = map[string]int32{ "REASON_UNSPECIFIED": 0, "EXTERNAL_SERVICE": 1, } )= map[
Enum value maps for ResponseFlags_Unauthorized_Reason.
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.
var File_envoy_data_accesslog_v2_accesslog_proto protoreflect.FileDescriptor
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 `protobuf:"bytes,2,opt,name=downstream_remote_address,json=downstreamRemoteAddress,proto3" json:"downstream_remote_address,omitempty"` // This field is the local/destination address on which the request from the user was received. DownstreamLocalAddress *core.Address `protobuf:"bytes,3,opt,name=downstream_local_address,json=downstreamLocalAddress,proto3" json:"downstream_local_address,omitempty"` // 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 *timestamp.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 *duration.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 *duration.Duration `protobuf:"bytes,7,opt,name=time_to_first_upstream_tx_byte,json=timeToFirstUpstreamTxByte,proto3" json:"time_to_first_upstream_tx_byte,omitempty"` // 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 *duration.Duration `protobuf:"bytes,8,opt,name=time_to_last_upstream_tx_byte,json=timeToLastUpstreamTxByte,proto3" json:"time_to_last_upstream_tx_byte,omitempty"` // Interval between the first downstream byte received and the first upstream // byte received (i.e. time it takes to start receiving a response). TimeToFirstUpstreamRxByte *duration.Duration `protobuf:"bytes,9,opt,name=time_to_first_upstream_rx_byte,json=timeToFirstUpstreamRxByte,proto3" json:"time_to_first_upstream_rx_byte,omitempty"` // Interval between the first downstream byte received and the last upstream // byte received (i.e. time it takes to receive a complete response). TimeToLastUpstreamRxByte *duration.Duration `protobuf:"bytes,10,opt,name=time_to_last_upstream_rx_byte,json=timeToLastUpstreamRxByte,proto3" json:"time_to_last_upstream_rx_byte,omitempty"` // 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 *duration.Duration `protobuf:"bytes,11,opt,name=time_to_first_downstream_tx_byte,json=timeToFirstDownstreamTxByte,proto3" json:"time_to_first_downstream_tx_byte,omitempty"` // 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 *duration.Duration `protobuf:"bytes,12,opt,name=time_to_last_downstream_tx_byte,json=timeToLastDownstreamTxByte,proto3" json:"time_to_last_downstream_tx_byte,omitempty"` // The upstream remote/destination address that handles this exchange. This does not include // retries. UpstreamRemoteAddress *core.Address `protobuf:"bytes,13,opt,name=upstream_remote_address,json=upstreamRemoteAddress,proto3" json:"upstream_remote_address,omitempty"` // 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 `protobuf:"bytes,18,opt,name=upstream_transport_failure_reason,json=upstreamTransportFailureReason,proto3" json:"upstream_transport_failure_reason,omitempty"` // 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 `protobuf:"bytes,20,opt,name=downstream_direct_remote_address,json=downstreamDirectRemoteAddress,proto3" json:"downstream_direct_remote_address,omitempty"` // 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]*any.Any `protobuf:"bytes,21,rep,name=filter_state_objects,json=filterStateObjects,proto3" json:"filter_state_objects,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // contains filtered or unexported fields }
Defines fields that are shared by all Envoy access logs. [#next-free-field: 22]
func (*AccessLogCommon) Descriptor() ([]byte, []int)
Deprecated: Use AccessLogCommon.ProtoReflect.Descriptor instead.
func (x *AccessLogCommon) GetDownstreamDirectRemoteAddress() *core.Address
func (x *AccessLogCommon) GetDownstreamLocalAddress() *core.Address
func (x *AccessLogCommon) GetDownstreamRemoteAddress() *core.Address
func (x *AccessLogCommon) GetFilterStateObjects() map[string]*any.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() *timestamp.Timestamp
func (x *AccessLogCommon) GetTimeToFirstDownstreamTxByte() *duration.Duration
func (x *AccessLogCommon) GetTimeToFirstUpstreamRxByte() *duration.Duration
func (x *AccessLogCommon) GetTimeToFirstUpstreamTxByte() *duration.Duration
func (x *AccessLogCommon) GetTimeToLastDownstreamTxByte() *duration.Duration
func (x *AccessLogCommon) GetTimeToLastRxByte() *duration.Duration
func (x *AccessLogCommon) GetTimeToLastUpstreamRxByte() *duration.Duration
func (x *AccessLogCommon) GetTimeToLastUpstreamTxByte() *duration.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 (*AccessLogCommon) ProtoMessage()
func (x *AccessLogCommon) ProtoReflect() protoreflect.Message
func (x *AccessLogCommon) Reset()
func (x *AccessLogCommon) String() string
func (m *AccessLogCommon) Validate() error
Validate checks the field values on AccessLogCommon with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type AccessLogCommonValidationError struct {
// contains filtered or unexported fields
}
AccessLogCommonValidationError is the validation error returned by AccessLogCommon.Validate if the designated constraints aren't met.
func (e AccessLogCommonValidationError) Cause() error
Cause function returns cause value.
func (e AccessLogCommonValidationError) Error() string
Error satisfies the builtin error interface
func (e AccessLogCommonValidationError) ErrorName() string
ErrorName returns error name.
func (e AccessLogCommonValidationError) Field() string
Field function returns field value.
func (e AccessLogCommonValidationError) Key() bool
Key function returns key value.
func (e AccessLogCommonValidationError) Reason() string
Reason function returns reason value.
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) Descriptor() ([]byte, []int)
Deprecated: Use ConnectionProperties.ProtoReflect.Descriptor instead.
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) String() string
func (m *ConnectionProperties) Validate() error
Validate checks the field values on ConnectionProperties with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ConnectionPropertiesValidationError struct {
// contains filtered or unexported fields
}
ConnectionPropertiesValidationError is the validation error returned by ConnectionProperties.Validate if the designated constraints aren't met.
func (e ConnectionPropertiesValidationError) Cause() error
Cause function returns cause value.
func (e ConnectionPropertiesValidationError) Error() string
Error satisfies the builtin error interface
func (e ConnectionPropertiesValidationError) ErrorName() string
ErrorName returns error name.
func (e ConnectionPropertiesValidationError) Field() string
Field function returns field value.
func (e ConnectionPropertiesValidationError) Key() bool
Key function returns key value.
func (e ConnectionPropertiesValidationError) Reason() string
Reason function returns reason value.
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 `protobuf:"varint,2,opt,name=protocol_version,json=protocolVersion,proto3,enum=envoy.data.accesslog.v2.HTTPAccessLogEntry_HTTPVersion" json:"protocol_version,omitempty"` // 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) Descriptor() ([]byte, []int)
Deprecated: Use HTTPAccessLogEntry.ProtoReflect.Descriptor instead.
func (x *HTTPAccessLogEntry) GetCommonProperties() *AccessLogCommon
func (x *HTTPAccessLogEntry) GetProtocolVersion() HTTPAccessLogEntry_HTTPVersion
func (x *HTTPAccessLogEntry) GetRequest() *HTTPRequestProperties
func (x *HTTPAccessLogEntry) GetResponse() *HTTPResponseProperties
func (*HTTPAccessLogEntry) ProtoMessage()
func (x *HTTPAccessLogEntry) ProtoReflect() protoreflect.Message
func (x *HTTPAccessLogEntry) Reset()
func (x *HTTPAccessLogEntry) String() string
func (m *HTTPAccessLogEntry) Validate() error
Validate checks the field values on HTTPAccessLogEntry with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type HTTPAccessLogEntryValidationError struct {
// contains filtered or unexported fields
}
HTTPAccessLogEntryValidationError is the validation error returned by HTTPAccessLogEntry.Validate if the designated constraints aren't met.
func (e HTTPAccessLogEntryValidationError) Cause() error
Cause function returns cause value.
func (e HTTPAccessLogEntryValidationError) Error() string
Error satisfies the builtin error interface
func (e HTTPAccessLogEntryValidationError) ErrorName() string
ErrorName returns error name.
func (e HTTPAccessLogEntryValidationError) Field() string
Field function returns field value.
func (e HTTPAccessLogEntryValidationError) Key() bool
Key function returns key value.
func (e HTTPAccessLogEntryValidationError) Reason() string
Reason function returns reason value.
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() protoreflect.EnumDescriptor
func (x HTTPAccessLogEntry_HTTPVersion) Enum() *HTTPAccessLogEntry_HTTPVersion
func (HTTPAccessLogEntry_HTTPVersion) EnumDescriptor() ([]byte, []int)
Deprecated: Use HTTPAccessLogEntry_HTTPVersion.Descriptor instead.
func (x HTTPAccessLogEntry_HTTPVersion) Number() protoreflect.EnumNumber
func (x HTTPAccessLogEntry_HTTPVersion) String() string
func (HTTPAccessLogEntry_HTTPVersion) Type() protoreflect.EnumType
type HTTPRequestProperties struct { // The request method (RFC 7231/2616). RequestMethod core.RequestMethod `protobuf:"varint,1,opt,name=request_method,json=requestMethod,proto3,enum=envoy.api.v2.core.RequestMethod" json:"request_method,omitempty"` // 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 *wrappers.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 `protobuf:"bytes,13,rep,name=request_headers,json=requestHeaders,proto3" json:"request_headers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // contains filtered or unexported fields }
[#next-free-field: 14]
func (*HTTPRequestProperties) Descriptor() ([]byte, []int)
Deprecated: Use HTTPRequestProperties.ProtoReflect.Descriptor instead.
func (x *HTTPRequestProperties) GetAuthority() string
func (x *HTTPRequestProperties) GetForwardedFor() string
func (x *HTTPRequestProperties) GetOriginalPath() string
func (x *HTTPRequestProperties) GetPath() string
func (x *HTTPRequestProperties) GetPort() *wrappers.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 (*HTTPRequestProperties) ProtoMessage()
func (x *HTTPRequestProperties) ProtoReflect() protoreflect.Message
func (x *HTTPRequestProperties) Reset()
func (x *HTTPRequestProperties) String() string
func (m *HTTPRequestProperties) Validate() error
Validate checks the field values on HTTPRequestProperties with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type HTTPRequestPropertiesValidationError struct {
// contains filtered or unexported fields
}
HTTPRequestPropertiesValidationError is the validation error returned by HTTPRequestProperties.Validate if the designated constraints aren't met.
func (e HTTPRequestPropertiesValidationError) Cause() error
Cause function returns cause value.
func (e HTTPRequestPropertiesValidationError) Error() string
Error satisfies the builtin error interface
func (e HTTPRequestPropertiesValidationError) ErrorName() string
ErrorName returns error name.
func (e HTTPRequestPropertiesValidationError) Field() string
Field function returns field value.
func (e HTTPRequestPropertiesValidationError) Key() bool
Key function returns key value.
func (e HTTPRequestPropertiesValidationError) Reason() string
Reason function returns reason value.
type HTTPResponseProperties struct { // The HTTP response code returned by Envoy. ResponseCode *wrappers.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 `protobuf:"bytes,4,rep,name=response_headers,json=responseHeaders,proto3" json:"response_headers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // Map of trailers configured to be logged. ResponseTrailers map[string]string `protobuf:"bytes,5,rep,name=response_trailers,json=responseTrailers,proto3" json:"response_trailers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // 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) Descriptor() ([]byte, []int)
Deprecated: Use HTTPResponseProperties.ProtoReflect.Descriptor instead.
func (x *HTTPResponseProperties) GetResponseBodyBytes() uint64
func (x *HTTPResponseProperties) GetResponseCode() *wrappers.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 (*HTTPResponseProperties) ProtoMessage()
func (x *HTTPResponseProperties) ProtoReflect() protoreflect.Message
func (x *HTTPResponseProperties) Reset()
func (x *HTTPResponseProperties) String() string
func (m *HTTPResponseProperties) Validate() error
Validate checks the field values on HTTPResponseProperties with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type HTTPResponsePropertiesValidationError struct {
// contains filtered or unexported fields
}
HTTPResponsePropertiesValidationError is the validation error returned by HTTPResponseProperties.Validate if the designated constraints aren't met.
func (e HTTPResponsePropertiesValidationError) Cause() error
Cause function returns cause value.
func (e HTTPResponsePropertiesValidationError) Error() string
Error satisfies the builtin error interface
func (e HTTPResponsePropertiesValidationError) ErrorName() string
ErrorName returns error name.
func (e HTTPResponsePropertiesValidationError) Field() string
Field function returns field value.
func (e HTTPResponsePropertiesValidationError) Key() bool
Key function returns key value.
func (e HTTPResponsePropertiesValidationError) Reason() string
Reason function returns reason value.
type ResponseFlags struct { // Indicates local server healthcheck failed. FailedLocalHealthcheck bool `protobuf:"varint,1,opt,name=failed_local_healthcheck,json=failedLocalHealthcheck,proto3" json:"failed_local_healthcheck,omitempty"` // 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 `protobuf:"varint,3,opt,name=upstream_request_timeout,json=upstreamRequestTimeout,proto3" json:"upstream_request_timeout,omitempty"` // 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 `protobuf:"varint,6,opt,name=upstream_connection_failure,json=upstreamConnectionFailure,proto3" json:"upstream_connection_failure,omitempty"` // Indicates the stream was reset due to an upstream connection termination. UpstreamConnectionTermination bool `protobuf:"varint,7,opt,name=upstream_connection_termination,json=upstreamConnectionTermination,proto3" json:"upstream_connection_termination,omitempty"` // 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. *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 `protobuf:"varint,14,opt,name=rate_limit_service_error,json=rateLimitServiceError,proto3" json:"rate_limit_service_error,omitempty"` // Indicates the stream was reset due to a downstream connection termination. DownstreamConnectionTermination bool `protobuf:"varint,15,opt,name=downstream_connection_termination,json=downstreamConnectionTermination,proto3" json:"downstream_connection_termination,omitempty"` // Indicates that the upstream retry limit was exceeded, resulting in a downstream error. UpstreamRetryLimitExceeded bool `protobuf:"varint,16,opt,name=upstream_retry_limit_exceeded,json=upstreamRetryLimitExceeded,proto3" json:"upstream_retry_limit_exceeded,omitempty"` // 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 `protobuf:"varint,18,opt,name=invalid_envoy_request_headers,json=invalidEnvoyRequestHeaders,proto3" json:"invalid_envoy_request_headers,omitempty"` // Indicates there was an HTTP protocol error on the downstream request. DownstreamProtocolError bool `protobuf:"varint,19,opt,name=downstream_protocol_error,json=downstreamProtocolError,proto3" json:"downstream_protocol_error,omitempty"` // contains filtered or unexported fields }
Flags indicating occurrences during request/response processing. [#next-free-field: 20]
func (*ResponseFlags) Descriptor() ([]byte, []int)
Deprecated: Use ResponseFlags.ProtoReflect.Descriptor instead.
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 (*ResponseFlags) ProtoMessage()
func (x *ResponseFlags) ProtoReflect() protoreflect.Message
func (x *ResponseFlags) Reset()
func (x *ResponseFlags) String() string
func (m *ResponseFlags) Validate() error
Validate checks the field values on ResponseFlags with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ResponseFlagsValidationError struct {
// contains filtered or unexported fields
}
ResponseFlagsValidationError is the validation error returned by ResponseFlags.Validate if the designated constraints aren't met.
func (e ResponseFlagsValidationError) Cause() error
Cause function returns cause value.
func (e ResponseFlagsValidationError) Error() string
Error satisfies the builtin error interface
func (e ResponseFlagsValidationError) ErrorName() string
ErrorName returns error name.
func (e ResponseFlagsValidationError) Field() string
Field function returns field value.
func (e ResponseFlagsValidationError) Key() bool
Key function returns key value.
func (e ResponseFlagsValidationError) Reason() string
Reason function returns reason value.
type ResponseFlags_Unauthorized struct { ResponseFlags_Unauthorized_Reason `protobuf:"varint,1,opt,name=reason,proto3,enum=envoy.data.accesslog.v2.ResponseFlags_Unauthorized_Reason" json:"reason,omitempty"` // contains filtered or unexported fields }
func (*ResponseFlags_Unauthorized) Descriptor() ([]byte, []int)
Deprecated: Use ResponseFlags_Unauthorized.ProtoReflect.Descriptor instead.
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) String() string
func (m *ResponseFlags_Unauthorized) Validate() error
Validate checks the field values on ResponseFlags_Unauthorized with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ResponseFlags_UnauthorizedValidationError struct {
// contains filtered or unexported fields
}
ResponseFlags_UnauthorizedValidationError is the validation error returned by ResponseFlags_Unauthorized.Validate if the designated constraints aren't met.
func (e ResponseFlags_UnauthorizedValidationError) Cause() error
Cause function returns cause value.
func (e ResponseFlags_UnauthorizedValidationError) Error() string
Error satisfies the builtin error interface
func (e ResponseFlags_UnauthorizedValidationError) ErrorName() string
ErrorName returns error name.
func (e ResponseFlags_UnauthorizedValidationError) Field() string
Field function returns field value.
func (e ResponseFlags_UnauthorizedValidationError) Key() bool
Key function returns key value.
func (e ResponseFlags_UnauthorizedValidationError) Reason() string
Reason function returns reason value.
Reasons why the request was unauthorized
const ( ResponseFlags_Unauthorized_Reason = 0 // The request was denied by the external authorization service. ResponseFlags_Unauthorized_Reason = 1 )
func (ResponseFlags_Unauthorized_Reason) Descriptor() protoreflect.EnumDescriptor
func (x ResponseFlags_Unauthorized_Reason) Enum() *ResponseFlags_Unauthorized_Reason
func (ResponseFlags_Unauthorized_Reason) EnumDescriptor() ([]byte, []int)
Deprecated: Use ResponseFlags_Unauthorized_Reason.Descriptor instead.
func (x ResponseFlags_Unauthorized_Reason) Number() protoreflect.EnumNumber
func (x ResponseFlags_Unauthorized_Reason) String() string
func (ResponseFlags_Unauthorized_Reason) Type() protoreflect.EnumType
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) Descriptor() ([]byte, []int)
Deprecated: Use TCPAccessLogEntry.ProtoReflect.Descriptor instead.
func (x *TCPAccessLogEntry) GetCommonProperties() *AccessLogCommon
func (x *TCPAccessLogEntry) GetConnectionProperties() *ConnectionProperties
func (*TCPAccessLogEntry) ProtoMessage()
func (x *TCPAccessLogEntry) ProtoReflect() protoreflect.Message
func (x *TCPAccessLogEntry) Reset()
func (x *TCPAccessLogEntry) String() string
func (m *TCPAccessLogEntry) Validate() error
Validate checks the field values on TCPAccessLogEntry with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type TCPAccessLogEntryValidationError struct {
// contains filtered or unexported fields
}
TCPAccessLogEntryValidationError is the validation error returned by TCPAccessLogEntry.Validate if the designated constraints aren't met.
func (e TCPAccessLogEntryValidationError) Cause() error
Cause function returns cause value.
func (e TCPAccessLogEntryValidationError) Error() string
Error satisfies the builtin error interface
func (e TCPAccessLogEntryValidationError) ErrorName() string
ErrorName returns error name.
func (e TCPAccessLogEntryValidationError) Field() string
Field function returns field value.
func (e TCPAccessLogEntryValidationError) Key() bool
Key function returns key value.
func (e TCPAccessLogEntryValidationError) Reason() string
Reason function returns reason value.
type TLSProperties struct { // Version of TLS that was negotiated. TlsVersion TLSProperties_TLSVersion `protobuf:"varint,1,opt,name=tls_version,json=tlsVersion,proto3,enum=envoy.data.accesslog.v2.TLSProperties_TLSVersion" json:"tls_version,omitempty"` // 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 *wrappers.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 `protobuf:"bytes,4,opt,name=local_certificate_properties,json=localCertificateProperties,proto3" json:"local_certificate_properties,omitempty"` // Properties of the peer certificate used to negotiate TLS. PeerCertificateProperties *TLSProperties_CertificateProperties `protobuf:"bytes,5,opt,name=peer_certificate_properties,json=peerCertificateProperties,proto3" json:"peer_certificate_properties,omitempty"` // 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) Descriptor() ([]byte, []int)
Deprecated: Use TLSProperties.ProtoReflect.Descriptor instead.
func (x *TLSProperties) GetLocalCertificateProperties() *TLSProperties_CertificateProperties
func (x *TLSProperties) GetPeerCertificateProperties() *TLSProperties_CertificateProperties
func (x *TLSProperties) GetTlsCipherSuite() *wrappers.UInt32Value
func (x *TLSProperties) GetTlsSessionId() string
func (x *TLSProperties) GetTlsSniHostname() string
func (x *TLSProperties) GetTlsVersion() TLSProperties_TLSVersion
func (*TLSProperties) ProtoMessage()
func (x *TLSProperties) ProtoReflect() protoreflect.Message
func (x *TLSProperties) Reset()
func (x *TLSProperties) String() string
func (m *TLSProperties) Validate() error
Validate checks the field values on TLSProperties with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type TLSPropertiesValidationError struct {
// contains filtered or unexported fields
}
TLSPropertiesValidationError is the validation error returned by TLSProperties.Validate if the designated constraints aren't met.
func (e TLSPropertiesValidationError) Cause() error
Cause function returns cause value.
func (e TLSPropertiesValidationError) Error() string
Error satisfies the builtin error interface
func (e TLSPropertiesValidationError) ErrorName() string
ErrorName returns error name.
func (e TLSPropertiesValidationError) Field() string
Field function returns field value.
func (e TLSPropertiesValidationError) Key() bool
Key function returns key value.
func (e TLSPropertiesValidationError) Reason() string
Reason function returns reason value.
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) Descriptor() ([]byte, []int)
Deprecated: Use TLSProperties_CertificateProperties.ProtoReflect.Descriptor instead.
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) String() string
func (m *TLSProperties_CertificateProperties) Validate() error
Validate checks the field values on TLSProperties_CertificateProperties with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type TLSProperties_CertificatePropertiesValidationError struct {
// contains filtered or unexported fields
}
TLSProperties_CertificatePropertiesValidationError is the validation error returned by TLSProperties_CertificateProperties.Validate if the designated constraints aren't met.
func (e TLSProperties_CertificatePropertiesValidationError) Cause() error
Cause function returns cause value.
func (e TLSProperties_CertificatePropertiesValidationError) Error() string
Error satisfies the builtin error interface
func (e TLSProperties_CertificatePropertiesValidationError) ErrorName() string
ErrorName returns error name.
func (e TLSProperties_CertificatePropertiesValidationError) Field() string
Field function returns field value.
func (e TLSProperties_CertificatePropertiesValidationError) Key() bool
Key function returns key value.
func (e TLSProperties_CertificatePropertiesValidationError) Reason() string
Reason function returns reason value.
type TLSProperties_CertificateProperties_SubjectAltName struct { // Types that are assignable 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) Descriptor() ([]byte, []int)
Deprecated: Use TLSProperties_CertificateProperties_SubjectAltName.ProtoReflect.Descriptor instead.
func (x *TLSProperties_CertificateProperties_SubjectAltName) GetDns() string
func (m *TLSProperties_CertificateProperties_SubjectAltName) GetSan() isTLSProperties_CertificateProperties_SubjectAltName_San
func (x *TLSProperties_CertificateProperties_SubjectAltName) GetUri() string
func (*TLSProperties_CertificateProperties_SubjectAltName) ProtoMessage()
func (x *TLSProperties_CertificateProperties_SubjectAltName) ProtoReflect() protoreflect.Message
func (x *TLSProperties_CertificateProperties_SubjectAltName) Reset()
func (x *TLSProperties_CertificateProperties_SubjectAltName) String() string
func (m *TLSProperties_CertificateProperties_SubjectAltName) Validate() error
Validate checks the field values on TLSProperties_CertificateProperties_SubjectAltName with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type TLSProperties_CertificateProperties_SubjectAltNameValidationError struct {
// contains filtered or unexported fields
}
TLSProperties_CertificateProperties_SubjectAltNameValidationError is the validation error returned by TLSProperties_CertificateProperties_SubjectAltName.Validate if the designated constraints aren't met.
func (e TLSProperties_CertificateProperties_SubjectAltNameValidationError) Cause() error
Cause function returns cause value.
func (e TLSProperties_CertificateProperties_SubjectAltNameValidationError) Error() string
Error satisfies the builtin error interface
func (e TLSProperties_CertificateProperties_SubjectAltNameValidationError) ErrorName() string
ErrorName returns error name.
func (e TLSProperties_CertificateProperties_SubjectAltNameValidationError) Field() string
Field function returns field value.
Key function returns key value.
func (e TLSProperties_CertificateProperties_SubjectAltNameValidationError) Reason() string
Reason function returns reason value.
type TLSProperties_CertificateProperties_SubjectAltName_Dns struct { // [#not-implemented-hide:] Dns string `protobuf:"bytes,2,opt,name=dns,proto3,oneof"` }
type TLSProperties_CertificateProperties_SubjectAltName_Uri struct { Uri string `protobuf:"bytes,1,opt,name=uri,proto3,oneof"` }
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() protoreflect.EnumDescriptor
func (x TLSProperties_TLSVersion) Enum() *TLSProperties_TLSVersion
func (TLSProperties_TLSVersion) EnumDescriptor() ([]byte, []int)
Deprecated: Use TLSProperties_TLSVersion.Descriptor instead.
func (x TLSProperties_TLSVersion) Number() protoreflect.EnumNumber
func (x TLSProperties_TLSVersion) String() string
func (TLSProperties_TLSVersion) Type() protoreflect.EnumType
Package envoy_data_accesslog_v2 imports 23 packages (graph) and is imported by 13 packages. Updated 2021-01-07. Refresh now. Tools for package owners.