envoy_data_accesslog_v2

package
v0.83.1-ea1 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2019 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 */
	// 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 *types.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 *types.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 *types.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 *types.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 *types.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 *types.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 *types.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 *types.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"`
	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) GetRouteName

func (m *AccessLogCommon) GetRouteName() string

func (*AccessLogCommon) GetSampleRate

func (m *AccessLogCommon) GetSampleRate() float64

func (*AccessLogCommon) GetStartTime

func (m *AccessLogCommon) GetStartTime() *types.Timestamp

func (*AccessLogCommon) GetTimeToFirstDownstreamTxByte

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

func (*AccessLogCommon) GetTimeToFirstUpstreamRxByte

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

func (*AccessLogCommon) GetTimeToFirstUpstreamTxByte

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

func (*AccessLogCommon) GetTimeToLastDownstreamTxByte

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

func (*AccessLogCommon) GetTimeToLastRxByte

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

func (*AccessLogCommon) GetTimeToLastUpstreamRxByte

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

func (*AccessLogCommon) GetTimeToLastUpstreamTxByte

func (m *AccessLogCommon) GetTimeToLastUpstreamTxByte() *types.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) GetUpstreamTransportFailureReason

func (m *AccessLogCommon) GetUpstreamTransportFailureReason() string

func (*AccessLogCommon) Marshal

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

func (*AccessLogCommon) MarshalTo

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

func (*AccessLogCommon) MarshalToSizedBuffer

func (m *AccessLogCommon) MarshalToSizedBuffer(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 (m *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 {
	// contains filtered or unexported fields
}

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

func (AccessLogCommonValidationError) Cause

Cause function returns cause value.

func (AccessLogCommonValidationError) Error

Error satisfies the builtin error interface

func (AccessLogCommonValidationError) ErrorName

func (e AccessLogCommonValidationError) ErrorName() string

ErrorName returns error name.

func (AccessLogCommonValidationError) Field

Field function returns field value.

func (AccessLogCommonValidationError) Key

Key function returns key value.

func (AccessLogCommonValidationError) Reason

Reason function returns reason value.

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

Defines fields for a connection

func (*ConnectionProperties) Descriptor

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

func (*ConnectionProperties) GetReceivedBytes

func (m *ConnectionProperties) GetReceivedBytes() uint64

func (*ConnectionProperties) GetSentBytes

func (m *ConnectionProperties) GetSentBytes() uint64

func (*ConnectionProperties) Marshal

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

func (*ConnectionProperties) MarshalTo

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

func (*ConnectionProperties) MarshalToSizedBuffer

func (m *ConnectionProperties) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ConnectionProperties) ProtoMessage

func (*ConnectionProperties) ProtoMessage()

func (*ConnectionProperties) Reset

func (m *ConnectionProperties) Reset()

func (*ConnectionProperties) Size

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

func (*ConnectionProperties) String

func (m *ConnectionProperties) String() string

func (*ConnectionProperties) Unmarshal

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

func (*ConnectionProperties) Validate

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.

func (*ConnectionProperties) XXX_DiscardUnknown

func (m *ConnectionProperties) XXX_DiscardUnknown()

func (*ConnectionProperties) XXX_Marshal

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

func (*ConnectionProperties) XXX_Merge

func (m *ConnectionProperties) XXX_Merge(src proto.Message)

func (*ConnectionProperties) XXX_Size

func (m *ConnectionProperties) XXX_Size() int

func (*ConnectionProperties) XXX_Unmarshal

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

type ConnectionPropertiesValidationError

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 (ConnectionPropertiesValidationError) Cause

Cause function returns cause value.

func (ConnectionPropertiesValidationError) Error

Error satisfies the builtin error interface

func (ConnectionPropertiesValidationError) ErrorName

ErrorName returns error name.

func (ConnectionPropertiesValidationError) Field

Field function returns field value.

func (ConnectionPropertiesValidationError) Key

Key function returns key value.

func (ConnectionPropertiesValidationError) Reason

Reason function returns reason value.

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

func (m *HTTPAccessLogEntry) MarshalToSizedBuffer(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 (m *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 {
	// contains filtered or unexported fields
}

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

func (HTTPAccessLogEntryValidationError) Cause

Cause function returns cause value.

func (HTTPAccessLogEntryValidationError) Error

Error satisfies the builtin error interface

func (HTTPAccessLogEntryValidationError) ErrorName

ErrorName returns error name.

func (HTTPAccessLogEntryValidationError) Field

Field function returns field value.

func (HTTPAccessLogEntryValidationError) Key

Key function returns key value.

func (HTTPAccessLogEntryValidationError) Reason

Reason function returns reason value.

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

func (m *HTTPRequestProperties) MarshalToSizedBuffer(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 (m *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 {
	// contains filtered or unexported fields
}

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

func (HTTPRequestPropertiesValidationError) Cause

Cause function returns cause value.

func (HTTPRequestPropertiesValidationError) Error

Error satisfies the builtin error interface

func (HTTPRequestPropertiesValidationError) ErrorName

ErrorName returns error name.

func (HTTPRequestPropertiesValidationError) Field

Field function returns field value.

func (HTTPRequestPropertiesValidationError) Key

Key function returns key value.

func (HTTPRequestPropertiesValidationError) Reason

Reason function returns reason value.

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 */
	// The HTTP response code details.
	ResponseCodeDetails  string   `protobuf:"bytes,6,opt,name=response_code_details,json=responseCodeDetails,proto3" json:"response_code_details,omitempty"`
	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) GetResponseCodeDetails

func (m *HTTPResponseProperties) GetResponseCodeDetails() string

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

func (m *HTTPResponseProperties) MarshalToSizedBuffer(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 (m *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 {
	// contains filtered or unexported fields
}

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

func (HTTPResponsePropertiesValidationError) Cause

Cause function returns cause value.

func (HTTPResponsePropertiesValidationError) Error

Error satisfies the builtin error interface

func (HTTPResponsePropertiesValidationError) ErrorName

ErrorName returns error name.

func (HTTPResponsePropertiesValidationError) Field

Field function returns field value.

func (HTTPResponsePropertiesValidationError) Key

Key function returns key value.

func (HTTPResponsePropertiesValidationError) Reason

Reason function returns reason value.

type ResponseFlags

type ResponseFlags struct {
	// Indicates local server healthcheck failed.
	FailedLocalHealthcheck bool `` /* 130-byte string literal not displayed */
	// Indicates there was no healthy upstream.
	NoHealthyUpstream bool `protobuf:"varint,2,opt,name=no_healthy_upstream,json=noHealthyUpstream,proto3" json:"no_healthy_upstream,omitempty"`
	// Indicates an there was an upstream request timeout.
	UpstreamRequestTimeout bool `` /* 130-byte string literal not displayed */
	// Indicates local codec level reset was sent on the stream.
	LocalReset bool `protobuf:"varint,4,opt,name=local_reset,json=localReset,proto3" json:"local_reset,omitempty"`
	// Indicates remote codec level reset was received on the stream.
	UpstreamRemoteReset bool `protobuf:"varint,5,opt,name=upstream_remote_reset,json=upstreamRemoteReset,proto3" json:"upstream_remote_reset,omitempty"`
	// Indicates there was a local reset by a connection pool due to an initial connection failure.
	UpstreamConnectionFailure bool `` /* 139-byte string literal not displayed */
	// Indicates the stream was reset due to an upstream connection termination.
	UpstreamConnectionTermination bool `` /* 151-byte string literal not displayed */
	// Indicates the stream was reset because of a resource overflow.
	UpstreamOverflow bool `protobuf:"varint,8,opt,name=upstream_overflow,json=upstreamOverflow,proto3" json:"upstream_overflow,omitempty"`
	// Indicates no route was found for the request.
	NoRouteFound bool `protobuf:"varint,9,opt,name=no_route_found,json=noRouteFound,proto3" json:"no_route_found,omitempty"`
	// Indicates that the request was delayed before proxying.
	DelayInjected bool `protobuf:"varint,10,opt,name=delay_injected,json=delayInjected,proto3" json:"delay_injected,omitempty"`
	// Indicates that the request was aborted with an injected error code.
	FaultInjected bool `protobuf:"varint,11,opt,name=fault_injected,json=faultInjected,proto3" json:"fault_injected,omitempty"`
	// Indicates that the request was rate-limited locally.
	RateLimited bool `protobuf:"varint,12,opt,name=rate_limited,json=rateLimited,proto3" json:"rate_limited,omitempty"`
	// Indicates if the request was deemed unauthorized and the reason for it.
	UnauthorizedDetails *ResponseFlags_Unauthorized `protobuf:"bytes,13,opt,name=unauthorized_details,json=unauthorizedDetails,proto3" json:"unauthorized_details,omitempty"`
	// Indicates that the request was rejected because there was an error in rate limit service.
	RateLimitServiceError bool `` /* 130-byte string literal not displayed */
	// Indicates the stream was reset due to a downstream connection termination.
	DownstreamConnectionTermination bool `` /* 158-byte string literal not displayed */
	// Indicates that the upstream retry limit was exceeded, resulting in a downstream error.
	UpstreamRetryLimitExceeded bool `` /* 145-byte string literal not displayed */
	// Indicates that the stream idle timeout was hit, resulting in a downstream 408.
	StreamIdleTimeout bool `protobuf:"varint,17,opt,name=stream_idle_timeout,json=streamIdleTimeout,proto3" json:"stream_idle_timeout,omitempty"`
	// Indicates that the request was rejected because an envoy request header failed strict
	// validation.
	InvalidEnvoyRequestHeaders bool     `` /* 145-byte string literal not displayed */
	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

func (m *ResponseFlags) GetDownstreamConnectionTermination() bool

func (*ResponseFlags) GetFailedLocalHealthcheck

func (m *ResponseFlags) GetFailedLocalHealthcheck() bool

func (*ResponseFlags) GetFaultInjected

func (m *ResponseFlags) GetFaultInjected() bool

func (*ResponseFlags) GetInvalidEnvoyRequestHeaders

func (m *ResponseFlags) GetInvalidEnvoyRequestHeaders() 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

func (m *ResponseFlags) GetRateLimitServiceError() bool

func (*ResponseFlags) GetRateLimited

func (m *ResponseFlags) GetRateLimited() bool

func (*ResponseFlags) GetStreamIdleTimeout

func (m *ResponseFlags) GetStreamIdleTimeout() 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) GetUpstreamRetryLimitExceeded

func (m *ResponseFlags) GetUpstreamRetryLimitExceeded() 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) MarshalToSizedBuffer

func (m *ResponseFlags) MarshalToSizedBuffer(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 (m *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 {
	// contains filtered or unexported fields
}

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

func (ResponseFlagsValidationError) Cause

Cause function returns cause value.

func (ResponseFlagsValidationError) Error

Error satisfies the builtin error interface

func (ResponseFlagsValidationError) ErrorName

func (e ResponseFlagsValidationError) ErrorName() string

ErrorName returns error name.

func (ResponseFlagsValidationError) Field

Field function returns field value.

func (ResponseFlagsValidationError) Key

Key function returns key value.

func (ResponseFlagsValidationError) Reason

Reason function returns reason value.

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

func (m *ResponseFlags_Unauthorized) MarshalToSizedBuffer(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 (m *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 {
	// contains filtered or unexported fields
}

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

func (ResponseFlags_UnauthorizedValidationError) Cause

Cause function returns cause value.

func (ResponseFlags_UnauthorizedValidationError) Error

Error satisfies the builtin error interface

func (ResponseFlags_UnauthorizedValidationError) ErrorName

ErrorName returns error name.

func (ResponseFlags_UnauthorizedValidationError) Field

Field function returns field value.

func (ResponseFlags_UnauthorizedValidationError) Key

Key function returns key value.

func (ResponseFlags_UnauthorizedValidationError) Reason

Reason function returns reason value.

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"`
	// Properties of the TCP connection.
	ConnectionProperties *ConnectionProperties `protobuf:"bytes,2,opt,name=connection_properties,json=connectionProperties,proto3" json:"connection_properties,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (*TCPAccessLogEntry) Descriptor

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

func (*TCPAccessLogEntry) GetCommonProperties

func (m *TCPAccessLogEntry) GetCommonProperties() *AccessLogCommon

func (*TCPAccessLogEntry) GetConnectionProperties

func (m *TCPAccessLogEntry) GetConnectionProperties() *ConnectionProperties

func (*TCPAccessLogEntry) Marshal

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

func (*TCPAccessLogEntry) MarshalTo

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

func (*TCPAccessLogEntry) MarshalToSizedBuffer

func (m *TCPAccessLogEntry) MarshalToSizedBuffer(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 (m *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 {
	// contains filtered or unexported fields
}

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

func (TCPAccessLogEntryValidationError) Cause

Cause function returns cause value.

func (TCPAccessLogEntryValidationError) Error

Error satisfies the builtin error interface

func (TCPAccessLogEntryValidationError) ErrorName

ErrorName returns error name.

func (TCPAccessLogEntryValidationError) Field

Field function returns field value.

func (TCPAccessLogEntryValidationError) Key

Key function returns key value.

func (TCPAccessLogEntryValidationError) Reason

Reason function returns reason value.

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

Properties of a negotiated TLS connection.

func (*TLSProperties) Descriptor

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

func (*TLSProperties) GetLocalCertificateProperties

func (m *TLSProperties) GetLocalCertificateProperties() *TLSProperties_CertificateProperties

func (*TLSProperties) GetPeerCertificateProperties

func (m *TLSProperties) GetPeerCertificateProperties() *TLSProperties_CertificateProperties

func (*TLSProperties) GetTlsCipherSuite

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

func (*TLSProperties) GetTlsSessionId

func (m *TLSProperties) GetTlsSessionId() string

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

func (m *TLSProperties) MarshalToSizedBuffer(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 (m *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 {
	// contains filtered or unexported fields
}

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

func (TLSPropertiesValidationError) Cause

Cause function returns cause value.

func (TLSPropertiesValidationError) Error

Error satisfies the builtin error interface

func (TLSPropertiesValidationError) ErrorName

func (e TLSPropertiesValidationError) ErrorName() string

ErrorName returns error name.

func (TLSPropertiesValidationError) Field

Field function returns field value.

func (TLSPropertiesValidationError) Key

Key function returns key value.

func (TLSPropertiesValidationError) Reason

Reason function returns reason value.

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

func (*TLSProperties_CertificateProperties) Descriptor

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

func (*TLSProperties_CertificateProperties) GetSubject

func (*TLSProperties_CertificateProperties) GetSubjectAltName

func (*TLSProperties_CertificateProperties) Marshal

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

func (*TLSProperties_CertificateProperties) MarshalTo

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

func (*TLSProperties_CertificateProperties) MarshalToSizedBuffer

func (m *TLSProperties_CertificateProperties) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TLSProperties_CertificateProperties) ProtoMessage

func (*TLSProperties_CertificateProperties) ProtoMessage()

func (*TLSProperties_CertificateProperties) Reset

func (*TLSProperties_CertificateProperties) Size

func (*TLSProperties_CertificateProperties) String

func (*TLSProperties_CertificateProperties) Unmarshal

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

func (*TLSProperties_CertificateProperties) Validate

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.

func (*TLSProperties_CertificateProperties) XXX_DiscardUnknown

func (m *TLSProperties_CertificateProperties) XXX_DiscardUnknown()

func (*TLSProperties_CertificateProperties) XXX_Marshal

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

func (*TLSProperties_CertificateProperties) XXX_Merge

func (*TLSProperties_CertificateProperties) XXX_Size

func (*TLSProperties_CertificateProperties) XXX_Unmarshal

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

type TLSProperties_CertificatePropertiesValidationError

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 (TLSProperties_CertificatePropertiesValidationError) Cause

Cause function returns cause value.

func (TLSProperties_CertificatePropertiesValidationError) Error

Error satisfies the builtin error interface

func (TLSProperties_CertificatePropertiesValidationError) ErrorName

ErrorName returns error name.

func (TLSProperties_CertificatePropertiesValidationError) Field

Field function returns field value.

func (TLSProperties_CertificatePropertiesValidationError) Key

Key function returns key value.

func (TLSProperties_CertificatePropertiesValidationError) Reason

Reason function returns reason value.

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

func (*TLSProperties_CertificateProperties_SubjectAltName) Descriptor

func (*TLSProperties_CertificateProperties_SubjectAltName) GetDns

func (*TLSProperties_CertificateProperties_SubjectAltName) GetSan

func (m *TLSProperties_CertificateProperties_SubjectAltName) GetSan() isTLSProperties_CertificateProperties_SubjectAltName_San

func (*TLSProperties_CertificateProperties_SubjectAltName) GetUri

func (*TLSProperties_CertificateProperties_SubjectAltName) Marshal

func (*TLSProperties_CertificateProperties_SubjectAltName) MarshalTo

func (*TLSProperties_CertificateProperties_SubjectAltName) MarshalToSizedBuffer

func (m *TLSProperties_CertificateProperties_SubjectAltName) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TLSProperties_CertificateProperties_SubjectAltName) ProtoMessage

func (*TLSProperties_CertificateProperties_SubjectAltName) Reset

func (*TLSProperties_CertificateProperties_SubjectAltName) Size

func (*TLSProperties_CertificateProperties_SubjectAltName) String

func (*TLSProperties_CertificateProperties_SubjectAltName) Unmarshal

func (*TLSProperties_CertificateProperties_SubjectAltName) Validate

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.

func (*TLSProperties_CertificateProperties_SubjectAltName) XXX_DiscardUnknown

func (*TLSProperties_CertificateProperties_SubjectAltName) XXX_Marshal

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

func (*TLSProperties_CertificateProperties_SubjectAltName) XXX_Merge

func (*TLSProperties_CertificateProperties_SubjectAltName) XXX_OneofWrappers

func (*TLSProperties_CertificateProperties_SubjectAltName) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*TLSProperties_CertificateProperties_SubjectAltName) XXX_Size

func (*TLSProperties_CertificateProperties_SubjectAltName) XXX_Unmarshal

type TLSProperties_CertificateProperties_SubjectAltNameValidationError

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 (TLSProperties_CertificateProperties_SubjectAltNameValidationError) Cause

Cause function returns cause value.

func (TLSProperties_CertificateProperties_SubjectAltNameValidationError) Error

Error satisfies the builtin error interface

func (TLSProperties_CertificateProperties_SubjectAltNameValidationError) ErrorName

ErrorName returns error name.

func (TLSProperties_CertificateProperties_SubjectAltNameValidationError) Field

Field function returns field value.

func (TLSProperties_CertificateProperties_SubjectAltNameValidationError) Key

Key function returns key value.

func (TLSProperties_CertificateProperties_SubjectAltNameValidationError) Reason

Reason function returns reason value.

type TLSProperties_CertificateProperties_SubjectAltName_Dns

type TLSProperties_CertificateProperties_SubjectAltName_Dns struct {
	Dns string `protobuf:"bytes,2,opt,name=dns,proto3,oneof"`
}

func (*TLSProperties_CertificateProperties_SubjectAltName_Dns) MarshalTo

func (*TLSProperties_CertificateProperties_SubjectAltName_Dns) MarshalToSizedBuffer

func (m *TLSProperties_CertificateProperties_SubjectAltName_Dns) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TLSProperties_CertificateProperties_SubjectAltName_Dns) Size

type TLSProperties_CertificateProperties_SubjectAltName_Uri

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

func (*TLSProperties_CertificateProperties_SubjectAltName_Uri) MarshalTo

func (*TLSProperties_CertificateProperties_SubjectAltName_Uri) MarshalToSizedBuffer

func (m *TLSProperties_CertificateProperties_SubjectAltName_Uri) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TLSProperties_CertificateProperties_SubjectAltName_Uri) Size

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