envoy_data_accesslog_v2

package
v0.6.4 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2018 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthAccesslog = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowAccesslog   = fmt.Errorf("proto: integer overflow")
)
View Source
var HTTPAccessLogEntry_HTTPVersion_name = map[int32]string{
	0: "PROTOCOL_UNSPECIFIED",
	1: "HTTP10",
	2: "HTTP11",
	3: "HTTP2",
}
View Source
var HTTPAccessLogEntry_HTTPVersion_value = map[string]int32{
	"PROTOCOL_UNSPECIFIED": 0,
	"HTTP10":               1,
	"HTTP11":               2,
	"HTTP2":                3,
}
View Source
var ResponseFlags_Unauthorized_Reason_name = map[int32]string{
	0: "REASON_UNSPECIFIED",
	1: "EXTERNAL_SERVICE",
}
View Source
var ResponseFlags_Unauthorized_Reason_value = map[string]int32{
	"REASON_UNSPECIFIED": 0,
	"EXTERNAL_SERVICE":   1,
}
View Source
var TLSProperties_TLSVersion_name = map[int32]string{
	0: "VERSION_UNSPECIFIED",
	1: "TLSv1",
	2: "TLSv1_1",
	3: "TLSv1_2",
	4: "TLSv1_3",
}
View Source
var TLSProperties_TLSVersion_value = map[string]int32{
	"VERSION_UNSPECIFIED": 0,
	"TLSv1":               1,
	"TLSv1_1":             2,
	"TLSv1_2":             3,
	"TLSv1_3":             4,
}

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 */
	// [#not-implemented-hide:]
	// 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 *time.Time `protobuf:"bytes,5,opt,name=start_time,json=startTime,proto3,stdtime" 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 *time.Duration `` /* 127-byte string literal not displayed */
	// 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 *time.Duration `` /* 156-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 *time.Duration `` /* 153-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 *time.Duration `` /* 156-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 *time.Duration `` /* 154-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 *time.Duration `` /* 163-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 *time.Duration `` /* 160-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"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

Defines fields that are shared by all Envoy access logs.

func (*AccessLogCommon) Descriptor

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

func (*AccessLogCommon) GetDownstreamLocalAddress

func (m *AccessLogCommon) GetDownstreamLocalAddress() *core.Address

func (*AccessLogCommon) GetDownstreamRemoteAddress

func (m *AccessLogCommon) GetDownstreamRemoteAddress() *core.Address

func (*AccessLogCommon) GetMetadata

func (m *AccessLogCommon) GetMetadata() *core.Metadata

func (*AccessLogCommon) GetResponseFlags

func (m *AccessLogCommon) GetResponseFlags() *ResponseFlags

func (*AccessLogCommon) GetSampleRate

func (m *AccessLogCommon) GetSampleRate() float64

func (*AccessLogCommon) GetStartTime

func (m *AccessLogCommon) GetStartTime() *time.Time

func (*AccessLogCommon) GetTimeToFirstDownstreamTxByte

func (m *AccessLogCommon) GetTimeToFirstDownstreamTxByte() *time.Duration

func (*AccessLogCommon) GetTimeToFirstUpstreamRxByte

func (m *AccessLogCommon) GetTimeToFirstUpstreamRxByte() *time.Duration

func (*AccessLogCommon) GetTimeToFirstUpstreamTxByte

func (m *AccessLogCommon) GetTimeToFirstUpstreamTxByte() *time.Duration

func (*AccessLogCommon) GetTimeToLastDownstreamTxByte

func (m *AccessLogCommon) GetTimeToLastDownstreamTxByte() *time.Duration

func (*AccessLogCommon) GetTimeToLastRxByte

func (m *AccessLogCommon) GetTimeToLastRxByte() *time.Duration

func (*AccessLogCommon) GetTimeToLastUpstreamRxByte

func (m *AccessLogCommon) GetTimeToLastUpstreamRxByte() *time.Duration

func (*AccessLogCommon) GetTimeToLastUpstreamTxByte

func (m *AccessLogCommon) GetTimeToLastUpstreamTxByte() *time.Duration

func (*AccessLogCommon) GetTlsProperties

func (m *AccessLogCommon) GetTlsProperties() *TLSProperties

func (*AccessLogCommon) GetUpstreamCluster

func (m *AccessLogCommon) GetUpstreamCluster() string

func (*AccessLogCommon) GetUpstreamLocalAddress

func (m *AccessLogCommon) GetUpstreamLocalAddress() *core.Address

func (*AccessLogCommon) GetUpstreamRemoteAddress

func (m *AccessLogCommon) GetUpstreamRemoteAddress() *core.Address

func (*AccessLogCommon) Marshal

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

func (*AccessLogCommon) MarshalTo

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

func (*AccessLogCommon) ProtoMessage

func (*AccessLogCommon) ProtoMessage()

func (*AccessLogCommon) Reset

func (m *AccessLogCommon) Reset()

func (*AccessLogCommon) Size

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

func (*AccessLogCommon) String

func (m *AccessLogCommon) String() string

func (*AccessLogCommon) Unmarshal

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

func (*AccessLogCommon) Validate

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.

func (*AccessLogCommon) XXX_DiscardUnknown

func (m *AccessLogCommon) XXX_DiscardUnknown()

func (*AccessLogCommon) XXX_Marshal

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

func (*AccessLogCommon) XXX_Merge

func (dst *AccessLogCommon) XXX_Merge(src proto.Message)

func (*AccessLogCommon) XXX_Size

func (m *AccessLogCommon) XXX_Size() int

func (*AccessLogCommon) XXX_Unmarshal

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

type AccessLogCommonValidationError

type AccessLogCommonValidationError struct {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

AccessLogCommonValidationError is the validation error returned by AccessLogCommon.Validate if the designated constraints aren't met.

func (AccessLogCommonValidationError) Error

Error satisfies the builtin error interface

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

func (*HTTPAccessLogEntry) Descriptor

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

func (*HTTPAccessLogEntry) GetCommonProperties

func (m *HTTPAccessLogEntry) GetCommonProperties() *AccessLogCommon

func (*HTTPAccessLogEntry) GetProtocolVersion

func (m *HTTPAccessLogEntry) GetProtocolVersion() HTTPAccessLogEntry_HTTPVersion

func (*HTTPAccessLogEntry) GetRequest

func (m *HTTPAccessLogEntry) GetRequest() *HTTPRequestProperties

func (*HTTPAccessLogEntry) GetResponse

func (m *HTTPAccessLogEntry) GetResponse() *HTTPResponseProperties

func (*HTTPAccessLogEntry) Marshal

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

func (*HTTPAccessLogEntry) MarshalTo

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

func (*HTTPAccessLogEntry) ProtoMessage

func (*HTTPAccessLogEntry) ProtoMessage()

func (*HTTPAccessLogEntry) Reset

func (m *HTTPAccessLogEntry) Reset()

func (*HTTPAccessLogEntry) Size

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

func (*HTTPAccessLogEntry) String

func (m *HTTPAccessLogEntry) String() string

func (*HTTPAccessLogEntry) Unmarshal

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

func (*HTTPAccessLogEntry) Validate

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.

func (*HTTPAccessLogEntry) XXX_DiscardUnknown

func (m *HTTPAccessLogEntry) XXX_DiscardUnknown()

func (*HTTPAccessLogEntry) XXX_Marshal

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

func (*HTTPAccessLogEntry) XXX_Merge

func (dst *HTTPAccessLogEntry) XXX_Merge(src proto.Message)

func (*HTTPAccessLogEntry) XXX_Size

func (m *HTTPAccessLogEntry) XXX_Size() int

func (*HTTPAccessLogEntry) XXX_Unmarshal

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

type HTTPAccessLogEntryValidationError

type HTTPAccessLogEntryValidationError struct {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

HTTPAccessLogEntryValidationError is the validation error returned by HTTPAccessLogEntry.Validate if the designated constraints aren't met.

func (HTTPAccessLogEntryValidationError) Error

Error satisfies the builtin error interface

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
)

func (HTTPAccessLogEntry_HTTPVersion) EnumDescriptor

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

func (HTTPAccessLogEntry_HTTPVersion) String

type HTTPRequestProperties

type HTTPRequestProperties struct {
	// The request method (RFC 7231/2616).
	// [#comment:TODO(htuch): add (validate.rules).enum.defined_only = true once
	// https://github.com/lyft/protoc-gen-validate/issues/42 is resolved.]
	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 *types.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 `` /* 192-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*HTTPRequestProperties) Descriptor

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

func (*HTTPRequestProperties) GetAuthority

func (m *HTTPRequestProperties) GetAuthority() string

func (*HTTPRequestProperties) GetForwardedFor

func (m *HTTPRequestProperties) GetForwardedFor() string

func (*HTTPRequestProperties) GetOriginalPath

func (m *HTTPRequestProperties) GetOriginalPath() string

func (*HTTPRequestProperties) GetPath

func (m *HTTPRequestProperties) GetPath() string

func (*HTTPRequestProperties) GetPort

func (m *HTTPRequestProperties) GetPort() *types.UInt32Value

func (*HTTPRequestProperties) GetReferer

func (m *HTTPRequestProperties) GetReferer() string

func (*HTTPRequestProperties) GetRequestBodyBytes

func (m *HTTPRequestProperties) GetRequestBodyBytes() uint64

func (*HTTPRequestProperties) GetRequestHeaders

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

func (*HTTPRequestProperties) GetRequestHeadersBytes

func (m *HTTPRequestProperties) GetRequestHeadersBytes() uint64

func (*HTTPRequestProperties) GetRequestId

func (m *HTTPRequestProperties) GetRequestId() string

func (*HTTPRequestProperties) GetRequestMethod

func (m *HTTPRequestProperties) GetRequestMethod() core.RequestMethod

func (*HTTPRequestProperties) GetScheme

func (m *HTTPRequestProperties) GetScheme() string

func (*HTTPRequestProperties) GetUserAgent

func (m *HTTPRequestProperties) GetUserAgent() string

func (*HTTPRequestProperties) Marshal

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

func (*HTTPRequestProperties) MarshalTo

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

func (*HTTPRequestProperties) ProtoMessage

func (*HTTPRequestProperties) ProtoMessage()

func (*HTTPRequestProperties) Reset

func (m *HTTPRequestProperties) Reset()

func (*HTTPRequestProperties) Size

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

func (*HTTPRequestProperties) String

func (m *HTTPRequestProperties) String() string

func (*HTTPRequestProperties) Unmarshal

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

func (*HTTPRequestProperties) Validate

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.

func (*HTTPRequestProperties) XXX_DiscardUnknown

func (m *HTTPRequestProperties) XXX_DiscardUnknown()

func (*HTTPRequestProperties) XXX_Marshal

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

func (*HTTPRequestProperties) XXX_Merge

func (dst *HTTPRequestProperties) XXX_Merge(src proto.Message)

func (*HTTPRequestProperties) XXX_Size

func (m *HTTPRequestProperties) XXX_Size() int

func (*HTTPRequestProperties) XXX_Unmarshal

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

type HTTPRequestPropertiesValidationError

type HTTPRequestPropertiesValidationError struct {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

HTTPRequestPropertiesValidationError is the validation error returned by HTTPRequestProperties.Validate if the designated constraints aren't met.

func (HTTPRequestPropertiesValidationError) Error

Error satisfies the builtin error interface

type HTTPResponseProperties

type HTTPResponseProperties struct {
	// The HTTP response code returned by Envoy.
	ResponseCode *types.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 `` /* 194-byte string literal not displayed */
	// Map of trailers configured to be logged.
	ResponseTrailers     map[string]string `` /* 197-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*HTTPResponseProperties) Descriptor

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

func (*HTTPResponseProperties) GetResponseBodyBytes

func (m *HTTPResponseProperties) GetResponseBodyBytes() uint64

func (*HTTPResponseProperties) GetResponseCode

func (m *HTTPResponseProperties) GetResponseCode() *types.UInt32Value

func (*HTTPResponseProperties) GetResponseHeaders

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

func (*HTTPResponseProperties) GetResponseHeadersBytes

func (m *HTTPResponseProperties) GetResponseHeadersBytes() uint64

func (*HTTPResponseProperties) GetResponseTrailers

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

func (*HTTPResponseProperties) Marshal

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

func (*HTTPResponseProperties) MarshalTo

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

func (*HTTPResponseProperties) ProtoMessage

func (*HTTPResponseProperties) ProtoMessage()

func (*HTTPResponseProperties) Reset

func (m *HTTPResponseProperties) Reset()

func (*HTTPResponseProperties) Size

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

func (*HTTPResponseProperties) String

func (m *HTTPResponseProperties) String() string

func (*HTTPResponseProperties) Unmarshal

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

func (*HTTPResponseProperties) Validate

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.

func (*HTTPResponseProperties) XXX_DiscardUnknown

func (m *HTTPResponseProperties) XXX_DiscardUnknown()

func (*HTTPResponseProperties) XXX_Marshal

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

func (*HTTPResponseProperties) XXX_Merge

func (dst *HTTPResponseProperties) XXX_Merge(src proto.Message)

func (*HTTPResponseProperties) XXX_Size

func (m *HTTPResponseProperties) XXX_Size() int

func (*HTTPResponseProperties) XXX_Unmarshal

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

type HTTPResponsePropertiesValidationError

type HTTPResponsePropertiesValidationError struct {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

HTTPResponsePropertiesValidationError is the validation error returned by HTTPResponseProperties.Validate if the designated constraints aren't met.

func (HTTPResponsePropertiesValidationError) Error

Error satisfies the builtin error interface

type ResponseFlags

type ResponseFlags struct {
	// Indicates local server healthcheck failed.
	FailedLocalHealthcheck bool `` /* 130-byte string literal not displayed */
	// Indicates there was no healthy upstream.
	NoHealthyUpstream bool `protobuf:"varint,2,opt,name=no_healthy_upstream,json=noHealthyUpstream,proto3" json:"no_healthy_upstream,omitempty"`
	// Indicates an there was an upstream request timeout.
	UpstreamRequestTimeout bool `` /* 130-byte string literal not displayed */
	// Indicates local codec level reset was sent on the stream.
	LocalReset bool `protobuf:"varint,4,opt,name=local_reset,json=localReset,proto3" json:"local_reset,omitempty"`
	// Indicates remote codec level reset was received on the stream.
	UpstreamRemoteReset bool `protobuf:"varint,5,opt,name=upstream_remote_reset,json=upstreamRemoteReset,proto3" json:"upstream_remote_reset,omitempty"`
	// Indicates there was a local reset by a connection pool due to an initial connection failure.
	UpstreamConnectionFailure bool `` /* 139-byte string literal not displayed */
	// Indicates the stream was reset due to an upstream connection termination.
	UpstreamConnectionTermination bool `` /* 151-byte string literal not displayed */
	// Indicates the stream was reset because of a resource overflow.
	UpstreamOverflow bool `protobuf:"varint,8,opt,name=upstream_overflow,json=upstreamOverflow,proto3" json:"upstream_overflow,omitempty"`
	// Indicates no route was found for the request.
	NoRouteFound bool `protobuf:"varint,9,opt,name=no_route_found,json=noRouteFound,proto3" json:"no_route_found,omitempty"`
	// Indicates that the request was delayed before proxying.
	DelayInjected bool `protobuf:"varint,10,opt,name=delay_injected,json=delayInjected,proto3" json:"delay_injected,omitempty"`
	// Indicates that the request was aborted with an injected error code.
	FaultInjected bool `protobuf:"varint,11,opt,name=fault_injected,json=faultInjected,proto3" json:"fault_injected,omitempty"`
	// Indicates that the request was rate-limited locally.
	RateLimited bool `protobuf:"varint,12,opt,name=rate_limited,json=rateLimited,proto3" json:"rate_limited,omitempty"`
	// Indicates if the request was deemed unauthorized and the reason for it.
	UnauthorizedDetails *ResponseFlags_Unauthorized `protobuf:"bytes,13,opt,name=unauthorized_details,json=unauthorizedDetails,proto3" json:"unauthorized_details,omitempty"`
	// [#not-implemented-hide:] Hide from docs.
	// 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 */
	XXX_NoUnkeyedLiteral            struct{} `json:"-"`
	XXX_unrecognized                []byte   `json:"-"`
	XXX_sizecache                   int32    `json:"-"`
}

Flags indicating occurrences during request/response processing.

func (*ResponseFlags) Descriptor

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

func (*ResponseFlags) GetDelayInjected

func (m *ResponseFlags) GetDelayInjected() bool

func (*ResponseFlags) GetDownstreamConnectionTermination added in v0.6.4

func (m *ResponseFlags) GetDownstreamConnectionTermination() bool

func (*ResponseFlags) GetFailedLocalHealthcheck

func (m *ResponseFlags) GetFailedLocalHealthcheck() bool

func (*ResponseFlags) GetFaultInjected

func (m *ResponseFlags) GetFaultInjected() bool

func (*ResponseFlags) GetLocalReset

func (m *ResponseFlags) GetLocalReset() bool

func (*ResponseFlags) GetNoHealthyUpstream

func (m *ResponseFlags) GetNoHealthyUpstream() bool

func (*ResponseFlags) GetNoRouteFound

func (m *ResponseFlags) GetNoRouteFound() bool

func (*ResponseFlags) GetRateLimitServiceError added in v0.6.0

func (m *ResponseFlags) GetRateLimitServiceError() bool

func (*ResponseFlags) GetRateLimited

func (m *ResponseFlags) GetRateLimited() bool

func (*ResponseFlags) GetUnauthorizedDetails

func (m *ResponseFlags) GetUnauthorizedDetails() *ResponseFlags_Unauthorized

func (*ResponseFlags) GetUpstreamConnectionFailure

func (m *ResponseFlags) GetUpstreamConnectionFailure() bool

func (*ResponseFlags) GetUpstreamConnectionTermination

func (m *ResponseFlags) GetUpstreamConnectionTermination() bool

func (*ResponseFlags) GetUpstreamOverflow

func (m *ResponseFlags) GetUpstreamOverflow() bool

func (*ResponseFlags) GetUpstreamRemoteReset

func (m *ResponseFlags) GetUpstreamRemoteReset() bool

func (*ResponseFlags) GetUpstreamRequestTimeout

func (m *ResponseFlags) GetUpstreamRequestTimeout() bool

func (*ResponseFlags) Marshal

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

func (*ResponseFlags) MarshalTo

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

func (*ResponseFlags) ProtoMessage

func (*ResponseFlags) ProtoMessage()

func (*ResponseFlags) Reset

func (m *ResponseFlags) Reset()

func (*ResponseFlags) Size

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

func (*ResponseFlags) String

func (m *ResponseFlags) String() string

func (*ResponseFlags) Unmarshal

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

func (*ResponseFlags) Validate

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.

func (*ResponseFlags) XXX_DiscardUnknown

func (m *ResponseFlags) XXX_DiscardUnknown()

func (*ResponseFlags) XXX_Marshal

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

func (*ResponseFlags) XXX_Merge

func (dst *ResponseFlags) XXX_Merge(src proto.Message)

func (*ResponseFlags) XXX_Size

func (m *ResponseFlags) XXX_Size() int

func (*ResponseFlags) XXX_Unmarshal

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

type ResponseFlagsValidationError

type ResponseFlagsValidationError struct {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

ResponseFlagsValidationError is the validation error returned by ResponseFlags.Validate if the designated constraints aren't met.

func (ResponseFlagsValidationError) Error

Error satisfies the builtin error interface

type ResponseFlags_Unauthorized

type ResponseFlags_Unauthorized struct {
	Reason               ResponseFlags_Unauthorized_Reason `` /* 129-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}                          `json:"-"`
	XXX_unrecognized     []byte                            `json:"-"`
	XXX_sizecache        int32                             `json:"-"`
}

func (*ResponseFlags_Unauthorized) Descriptor

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

func (*ResponseFlags_Unauthorized) GetReason

func (*ResponseFlags_Unauthorized) Marshal

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

func (*ResponseFlags_Unauthorized) MarshalTo

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

func (*ResponseFlags_Unauthorized) ProtoMessage

func (*ResponseFlags_Unauthorized) ProtoMessage()

func (*ResponseFlags_Unauthorized) Reset

func (m *ResponseFlags_Unauthorized) Reset()

func (*ResponseFlags_Unauthorized) Size

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

func (*ResponseFlags_Unauthorized) String

func (m *ResponseFlags_Unauthorized) String() string

func (*ResponseFlags_Unauthorized) Unmarshal

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

func (*ResponseFlags_Unauthorized) Validate

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.

func (*ResponseFlags_Unauthorized) XXX_DiscardUnknown

func (m *ResponseFlags_Unauthorized) XXX_DiscardUnknown()

func (*ResponseFlags_Unauthorized) XXX_Marshal

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

func (*ResponseFlags_Unauthorized) XXX_Merge

func (dst *ResponseFlags_Unauthorized) XXX_Merge(src proto.Message)

func (*ResponseFlags_Unauthorized) XXX_Size

func (m *ResponseFlags_Unauthorized) XXX_Size() int

func (*ResponseFlags_Unauthorized) XXX_Unmarshal

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

type ResponseFlags_UnauthorizedValidationError

type ResponseFlags_UnauthorizedValidationError struct {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

ResponseFlags_UnauthorizedValidationError is the validation error returned by ResponseFlags_Unauthorized.Validate if the designated constraints aren't met.

func (ResponseFlags_UnauthorizedValidationError) Error

Error satisfies the builtin error interface

type ResponseFlags_Unauthorized_Reason

type ResponseFlags_Unauthorized_Reason int32

Reasons why the request was unauthorized

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

func (ResponseFlags_Unauthorized_Reason) EnumDescriptor

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

func (ResponseFlags_Unauthorized_Reason) String

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

[#not-implemented-hide:]

func (*TCPAccessLogEntry) Descriptor

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

func (*TCPAccessLogEntry) GetCommonProperties

func (m *TCPAccessLogEntry) GetCommonProperties() *AccessLogCommon

func (*TCPAccessLogEntry) Marshal

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

func (*TCPAccessLogEntry) MarshalTo

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

func (*TCPAccessLogEntry) ProtoMessage

func (*TCPAccessLogEntry) ProtoMessage()

func (*TCPAccessLogEntry) Reset

func (m *TCPAccessLogEntry) Reset()

func (*TCPAccessLogEntry) Size

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

func (*TCPAccessLogEntry) String

func (m *TCPAccessLogEntry) String() string

func (*TCPAccessLogEntry) Unmarshal

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

func (*TCPAccessLogEntry) Validate

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.

func (*TCPAccessLogEntry) XXX_DiscardUnknown

func (m *TCPAccessLogEntry) XXX_DiscardUnknown()

func (*TCPAccessLogEntry) XXX_Marshal

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

func (*TCPAccessLogEntry) XXX_Merge

func (dst *TCPAccessLogEntry) XXX_Merge(src proto.Message)

func (*TCPAccessLogEntry) XXX_Size

func (m *TCPAccessLogEntry) XXX_Size() int

func (*TCPAccessLogEntry) XXX_Unmarshal

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

type TCPAccessLogEntryValidationError

type TCPAccessLogEntryValidationError struct {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

TCPAccessLogEntryValidationError is the validation error returned by TCPAccessLogEntry.Validate if the designated constraints aren't met.

func (TCPAccessLogEntryValidationError) Error

Error satisfies the builtin error interface

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

[#not-implemented-hide:] Properties of a negotiated TLS connection.

func (*TLSProperties) Descriptor

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

func (*TLSProperties) GetTlsCipherSuite

func (m *TLSProperties) GetTlsCipherSuite() *types.UInt32Value

func (*TLSProperties) GetTlsSniHostname

func (m *TLSProperties) GetTlsSniHostname() string

func (*TLSProperties) GetTlsVersion

func (m *TLSProperties) GetTlsVersion() TLSProperties_TLSVersion

func (*TLSProperties) Marshal

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

func (*TLSProperties) MarshalTo

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

func (*TLSProperties) ProtoMessage

func (*TLSProperties) ProtoMessage()

func (*TLSProperties) Reset

func (m *TLSProperties) Reset()

func (*TLSProperties) Size

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

func (*TLSProperties) String

func (m *TLSProperties) String() string

func (*TLSProperties) Unmarshal

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

func (*TLSProperties) Validate

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.

func (*TLSProperties) XXX_DiscardUnknown

func (m *TLSProperties) XXX_DiscardUnknown()

func (*TLSProperties) XXX_Marshal

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

func (*TLSProperties) XXX_Merge

func (dst *TLSProperties) XXX_Merge(src proto.Message)

func (*TLSProperties) XXX_Size

func (m *TLSProperties) XXX_Size() int

func (*TLSProperties) XXX_Unmarshal

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

type TLSPropertiesValidationError

type TLSPropertiesValidationError struct {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

TLSPropertiesValidationError is the validation error returned by TLSProperties.Validate if the designated constraints aren't met.

func (TLSPropertiesValidationError) Error

Error satisfies the builtin error interface

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

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

func (TLSProperties_TLSVersion) String

func (x TLSProperties_TLSVersion) String() string

Jump to

Keyboard shortcuts

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