accesslogv2

package
v0.11.0-radware2 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2023 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

Enum value maps for HTTPAccessLogEntry_HTTPVersion.

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

Enum value maps for ResponseFlags_Unauthorized_Reason.

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

Enum value maps for TLSProperties_TLSVersion.

View Source
var File_envoy_data_accesslog_v2_accesslog_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AccessLogCommon

type AccessLogCommon struct {

	// [#not-implemented-hide:]
	// This field indicates the rate at which this log entry was sampled.
	// Valid range is (0.0, 1.0].
	SampleRate float64 `protobuf:"fixed64,1,opt,name=sample_rate,json=sampleRate,proto3" json:"sample_rate,omitempty"`
	// This field is the remote/origin address on which the request from the user was received.
	// Note: This may not be the physical peer. E.g, if the remote address is inferred from for
	// example the x-forwarder-for header, proxy protocol, etc.
	DownstreamRemoteAddress *core.Address `` /* 132-byte string literal not displayed */
	// This field is the local/destination address on which the request from the user was received.
	DownstreamLocalAddress *core.Address `` /* 129-byte string literal not displayed */
	// If the connection is secure,S this field will contain TLS properties.
	TlsProperties *TLSProperties `protobuf:"bytes,4,opt,name=tls_properties,json=tlsProperties,proto3" json:"tls_properties,omitempty"`
	// The time that Envoy started servicing this request. This is effectively the time that the first
	// downstream byte is received.
	StartTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// Interval between the first downstream byte received and the last
	// downstream byte received (i.e. time it takes to receive a request).
	TimeToLastRxByte *duration.Duration `protobuf:"bytes,6,opt,name=time_to_last_rx_byte,json=timeToLastRxByte,proto3" json:"time_to_last_rx_byte,omitempty"`
	// Interval between the first downstream byte received and the first upstream byte sent. There may
	// by considerable delta between *time_to_last_rx_byte* and this value due to filters.
	// Additionally, the same caveats apply as documented in *time_to_last_downstream_tx_byte* about
	// not accounting for kernel socket buffer time, etc.
	TimeToFirstUpstreamTxByte *duration.Duration `` /* 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 *duration.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 *duration.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 *duration.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 *duration.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 *duration.Duration `` /* 148-byte string literal not displayed */
	// The upstream remote/destination address that handles this exchange. This does not include
	// retries.
	UpstreamRemoteAddress *core.Address `` /* 127-byte string literal not displayed */
	// The upstream local/origin address that handles this exchange. This does not include retries.
	UpstreamLocalAddress *core.Address `protobuf:"bytes,14,opt,name=upstream_local_address,json=upstreamLocalAddress,proto3" json:"upstream_local_address,omitempty"`
	// The upstream cluster that *upstream_remote_address* belongs to.
	UpstreamCluster string `protobuf:"bytes,15,opt,name=upstream_cluster,json=upstreamCluster,proto3" json:"upstream_cluster,omitempty"`
	// Flags indicating occurrences during request/response processing.
	ResponseFlags *ResponseFlags `protobuf:"bytes,16,opt,name=response_flags,json=responseFlags,proto3" json:"response_flags,omitempty"`
	// All metadata encountered during request processing, including endpoint
	// selection.
	//
	// This can be used to associate IDs attached to the various configurations
	// used to process this request with the access log entry. For example, a
	// route created from a higher level forwarding rule with some ID can place
	// that ID in this field and cross reference later. It can also be used to
	// determine if a canary endpoint was used or not.
	Metadata *core.Metadata `protobuf:"bytes,17,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// If upstream connection failed due to transport socket (e.g. TLS handshake), provides the
	// failure reason from the transport socket. The format of this field depends on the configured
	// upstream transport socket. Common TLS failures are in
	// :ref:`TLS trouble shooting <arch_overview_ssl_trouble_shooting>`.
	UpstreamTransportFailureReason string `` /* 156-byte string literal not displayed */
	// The name of the route
	RouteName string `protobuf:"bytes,19,opt,name=route_name,json=routeName,proto3" json:"route_name,omitempty"`
	// This field is the downstream direct remote address on which the request from the user was
	// received. Note: This is always the physical peer, even if the remote address is inferred from
	// for example the x-forwarder-for header, proxy protocol, etc.
	DownstreamDirectRemoteAddress *core.Address `` /* 153-byte string literal not displayed */
	// Map of filter state in stream info that have been configured to be logged. If the filter
	// state serialized to any message other than `google.protobuf.Any` it will be packed into
	// `google.protobuf.Any`.
	FilterStateObjects map[string]*any1.Any `` /* 206-byte string literal not displayed */
	// contains filtered or unexported fields
}

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

func (*AccessLogCommon) Descriptor deprecated

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

Deprecated: Use AccessLogCommon.ProtoReflect.Descriptor instead.

func (*AccessLogCommon) GetDownstreamDirectRemoteAddress

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

func (*AccessLogCommon) GetDownstreamLocalAddress

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

func (*AccessLogCommon) GetDownstreamRemoteAddress

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

func (*AccessLogCommon) GetFilterStateObjects

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

func (*AccessLogCommon) GetMetadata

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

func (*AccessLogCommon) GetResponseFlags

func (x *AccessLogCommon) GetResponseFlags() *ResponseFlags

func (*AccessLogCommon) GetRouteName

func (x *AccessLogCommon) GetRouteName() string

func (*AccessLogCommon) GetSampleRate

func (x *AccessLogCommon) GetSampleRate() float64

func (*AccessLogCommon) GetStartTime

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

func (*AccessLogCommon) GetTimeToFirstDownstreamTxByte

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

func (*AccessLogCommon) GetTimeToFirstUpstreamRxByte

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

func (*AccessLogCommon) GetTimeToFirstUpstreamTxByte

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

func (*AccessLogCommon) GetTimeToLastDownstreamTxByte

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

func (*AccessLogCommon) GetTimeToLastRxByte

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

func (*AccessLogCommon) GetTimeToLastUpstreamRxByte

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

func (*AccessLogCommon) GetTimeToLastUpstreamTxByte

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

func (*AccessLogCommon) GetTlsProperties

func (x *AccessLogCommon) GetTlsProperties() *TLSProperties

func (*AccessLogCommon) GetUpstreamCluster

func (x *AccessLogCommon) GetUpstreamCluster() string

func (*AccessLogCommon) GetUpstreamLocalAddress

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

func (*AccessLogCommon) GetUpstreamRemoteAddress

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

func (*AccessLogCommon) GetUpstreamTransportFailureReason

func (x *AccessLogCommon) GetUpstreamTransportFailureReason() string

func (*AccessLogCommon) ProtoMessage

func (*AccessLogCommon) ProtoMessage()

func (*AccessLogCommon) ProtoReflect

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

func (*AccessLogCommon) Reset

func (x *AccessLogCommon) Reset()

func (*AccessLogCommon) String

func (x *AccessLogCommon) String() string

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, the first error encountered is returned, or nil if there are no violations.

func (*AccessLogCommon) ValidateAll

func (m *AccessLogCommon) ValidateAll() error

ValidateAll checks the field values on AccessLogCommon with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AccessLogCommonMultiError, or nil if none found.

type AccessLogCommonMultiError

type AccessLogCommonMultiError []error

AccessLogCommonMultiError is an error wrapping multiple validation errors returned by AccessLogCommon.ValidateAll() if the designated constraints aren't met.

func (AccessLogCommonMultiError) AllErrors

func (m AccessLogCommonMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AccessLogCommonMultiError) Error

Error returns a concatenation of all the error messages it wraps.

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"`
	// contains filtered or unexported fields
}

Defines fields for a connection

func (*ConnectionProperties) Descriptor deprecated

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

Deprecated: Use ConnectionProperties.ProtoReflect.Descriptor instead.

func (*ConnectionProperties) GetReceivedBytes

func (x *ConnectionProperties) GetReceivedBytes() uint64

func (*ConnectionProperties) GetSentBytes

func (x *ConnectionProperties) GetSentBytes() uint64

func (*ConnectionProperties) ProtoMessage

func (*ConnectionProperties) ProtoMessage()

func (*ConnectionProperties) ProtoReflect

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

func (*ConnectionProperties) Reset

func (x *ConnectionProperties) Reset()

func (*ConnectionProperties) String

func (x *ConnectionProperties) String() string

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, the first error encountered is returned, or nil if there are no violations.

func (*ConnectionProperties) ValidateAll

func (m *ConnectionProperties) ValidateAll() error

ValidateAll checks the field values on ConnectionProperties with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ConnectionPropertiesMultiError, or nil if none found.

type ConnectionPropertiesMultiError

type ConnectionPropertiesMultiError []error

ConnectionPropertiesMultiError is an error wrapping multiple validation errors returned by ConnectionProperties.ValidateAll() if the designated constraints aren't met.

func (ConnectionPropertiesMultiError) AllErrors

func (m ConnectionPropertiesMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ConnectionPropertiesMultiError) Error

Error returns a concatenation of all the error messages it wraps.

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"`
	// contains filtered or unexported fields
}

func (*HTTPAccessLogEntry) Descriptor deprecated

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

Deprecated: Use HTTPAccessLogEntry.ProtoReflect.Descriptor instead.

func (*HTTPAccessLogEntry) GetCommonProperties

func (x *HTTPAccessLogEntry) GetCommonProperties() *AccessLogCommon

func (*HTTPAccessLogEntry) GetProtocolVersion

func (x *HTTPAccessLogEntry) GetProtocolVersion() HTTPAccessLogEntry_HTTPVersion

func (*HTTPAccessLogEntry) GetRequest

func (x *HTTPAccessLogEntry) GetRequest() *HTTPRequestProperties

func (*HTTPAccessLogEntry) GetResponse

func (x *HTTPAccessLogEntry) GetResponse() *HTTPResponseProperties

func (*HTTPAccessLogEntry) ProtoMessage

func (*HTTPAccessLogEntry) ProtoMessage()

func (*HTTPAccessLogEntry) ProtoReflect

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

func (*HTTPAccessLogEntry) Reset

func (x *HTTPAccessLogEntry) Reset()

func (*HTTPAccessLogEntry) String

func (x *HTTPAccessLogEntry) String() string

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, the first error encountered is returned, or nil if there are no violations.

func (*HTTPAccessLogEntry) ValidateAll

func (m *HTTPAccessLogEntry) ValidateAll() error

ValidateAll checks the field values on HTTPAccessLogEntry with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in HTTPAccessLogEntryMultiError, or nil if none found.

type HTTPAccessLogEntryMultiError

type HTTPAccessLogEntryMultiError []error

HTTPAccessLogEntryMultiError is an error wrapping multiple validation errors returned by HTTPAccessLogEntry.ValidateAll() if the designated constraints aren't met.

func (HTTPAccessLogEntryMultiError) AllErrors

func (m HTTPAccessLogEntryMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (HTTPAccessLogEntryMultiError) Error

Error returns a concatenation of all the error messages it wraps.

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
	HTTPAccessLogEntry_HTTP3                HTTPAccessLogEntry_HTTPVersion = 4
)

func (HTTPAccessLogEntry_HTTPVersion) Descriptor

func (HTTPAccessLogEntry_HTTPVersion) Enum

func (HTTPAccessLogEntry_HTTPVersion) EnumDescriptor deprecated

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

Deprecated: Use HTTPAccessLogEntry_HTTPVersion.Descriptor instead.

func (HTTPAccessLogEntry_HTTPVersion) Number

func (HTTPAccessLogEntry_HTTPVersion) String

func (HTTPAccessLogEntry_HTTPVersion) Type

type HTTPRequestProperties

type HTTPRequestProperties struct {

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

[#next-free-field: 14]

func (*HTTPRequestProperties) Descriptor deprecated

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

Deprecated: Use HTTPRequestProperties.ProtoReflect.Descriptor instead.

func (*HTTPRequestProperties) GetAuthority

func (x *HTTPRequestProperties) GetAuthority() string

func (*HTTPRequestProperties) GetForwardedFor

func (x *HTTPRequestProperties) GetForwardedFor() string

func (*HTTPRequestProperties) GetOriginalPath

func (x *HTTPRequestProperties) GetOriginalPath() string

func (*HTTPRequestProperties) GetPath

func (x *HTTPRequestProperties) GetPath() string

func (*HTTPRequestProperties) GetPort

func (*HTTPRequestProperties) GetReferer

func (x *HTTPRequestProperties) GetReferer() string

func (*HTTPRequestProperties) GetRequestBodyBytes

func (x *HTTPRequestProperties) GetRequestBodyBytes() uint64

func (*HTTPRequestProperties) GetRequestHeaders

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

func (*HTTPRequestProperties) GetRequestHeadersBytes

func (x *HTTPRequestProperties) GetRequestHeadersBytes() uint64

func (*HTTPRequestProperties) GetRequestId

func (x *HTTPRequestProperties) GetRequestId() string

func (*HTTPRequestProperties) GetRequestMethod

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

func (*HTTPRequestProperties) GetScheme

func (x *HTTPRequestProperties) GetScheme() string

func (*HTTPRequestProperties) GetUserAgent

func (x *HTTPRequestProperties) GetUserAgent() string

func (*HTTPRequestProperties) ProtoMessage

func (*HTTPRequestProperties) ProtoMessage()

func (*HTTPRequestProperties) ProtoReflect

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

func (*HTTPRequestProperties) Reset

func (x *HTTPRequestProperties) Reset()

func (*HTTPRequestProperties) String

func (x *HTTPRequestProperties) String() string

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, the first error encountered is returned, or nil if there are no violations.

func (*HTTPRequestProperties) ValidateAll

func (m *HTTPRequestProperties) ValidateAll() error

ValidateAll checks the field values on HTTPRequestProperties with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in HTTPRequestPropertiesMultiError, or nil if none found.

type HTTPRequestPropertiesMultiError

type HTTPRequestPropertiesMultiError []error

HTTPRequestPropertiesMultiError is an error wrapping multiple validation errors returned by HTTPRequestProperties.ValidateAll() if the designated constraints aren't met.

func (HTTPRequestPropertiesMultiError) AllErrors

func (m HTTPRequestPropertiesMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (HTTPRequestPropertiesMultiError) Error

Error returns a concatenation of all the error messages it wraps.

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 *wrappers.UInt32Value `protobuf:"bytes,1,opt,name=response_code,json=responseCode,proto3" json:"response_code,omitempty"`
	// Size of the HTTP response headers in bytes.
	//
	// This value is captured from the OSI layer 7 perspective, i.e. it does not
	// include overhead from framing or encoding at other networking layers.
	ResponseHeadersBytes uint64 `protobuf:"varint,2,opt,name=response_headers_bytes,json=responseHeadersBytes,proto3" json:"response_headers_bytes,omitempty"`
	// Size of the HTTP response body in bytes.
	//
	// This value is captured from the OSI layer 7 perspective, i.e. it does not
	// include overhead from framing or encoding at other networking layers.
	ResponseBodyBytes uint64 `protobuf:"varint,3,opt,name=response_body_bytes,json=responseBodyBytes,proto3" json:"response_body_bytes,omitempty"`
	// Map of additional headers configured to be logged.
	ResponseHeaders map[string]string `` /* 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"`
	// contains filtered or unexported fields
}

[#next-free-field: 7]

func (*HTTPResponseProperties) Descriptor deprecated

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

Deprecated: Use HTTPResponseProperties.ProtoReflect.Descriptor instead.

func (*HTTPResponseProperties) GetResponseBodyBytes

func (x *HTTPResponseProperties) GetResponseBodyBytes() uint64

func (*HTTPResponseProperties) GetResponseCode

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

func (*HTTPResponseProperties) GetResponseCodeDetails

func (x *HTTPResponseProperties) GetResponseCodeDetails() string

func (*HTTPResponseProperties) GetResponseHeaders

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

func (*HTTPResponseProperties) GetResponseHeadersBytes

func (x *HTTPResponseProperties) GetResponseHeadersBytes() uint64

func (*HTTPResponseProperties) GetResponseTrailers

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

func (*HTTPResponseProperties) ProtoMessage

func (*HTTPResponseProperties) ProtoMessage()

func (*HTTPResponseProperties) ProtoReflect

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

func (*HTTPResponseProperties) Reset

func (x *HTTPResponseProperties) Reset()

func (*HTTPResponseProperties) String

func (x *HTTPResponseProperties) String() string

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, the first error encountered is returned, or nil if there are no violations.

func (*HTTPResponseProperties) ValidateAll

func (m *HTTPResponseProperties) ValidateAll() error

ValidateAll checks the field values on HTTPResponseProperties with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in HTTPResponsePropertiesMultiError, or nil if none found.

type HTTPResponsePropertiesMultiError

type HTTPResponsePropertiesMultiError []error

HTTPResponsePropertiesMultiError is an error wrapping multiple validation errors returned by HTTPResponseProperties.ValidateAll() if the designated constraints aren't met.

func (HTTPResponsePropertiesMultiError) AllErrors

func (m HTTPResponsePropertiesMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (HTTPResponsePropertiesMultiError) Error

Error returns a concatenation of all the error messages it wraps.

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 */
	// Indicates there was an HTTP protocol error on the downstream request.
	DownstreamProtocolError bool `` /* 134-byte string literal not displayed */
	// contains filtered or unexported fields
}

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

func (*ResponseFlags) Descriptor deprecated

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

Deprecated: Use ResponseFlags.ProtoReflect.Descriptor instead.

func (*ResponseFlags) GetDelayInjected

func (x *ResponseFlags) GetDelayInjected() bool

func (*ResponseFlags) GetDownstreamConnectionTermination

func (x *ResponseFlags) GetDownstreamConnectionTermination() bool

func (*ResponseFlags) GetDownstreamProtocolError

func (x *ResponseFlags) GetDownstreamProtocolError() bool

func (*ResponseFlags) GetFailedLocalHealthcheck

func (x *ResponseFlags) GetFailedLocalHealthcheck() bool

func (*ResponseFlags) GetFaultInjected

func (x *ResponseFlags) GetFaultInjected() bool

func (*ResponseFlags) GetInvalidEnvoyRequestHeaders

func (x *ResponseFlags) GetInvalidEnvoyRequestHeaders() bool

func (*ResponseFlags) GetLocalReset

func (x *ResponseFlags) GetLocalReset() bool

func (*ResponseFlags) GetNoHealthyUpstream

func (x *ResponseFlags) GetNoHealthyUpstream() bool

func (*ResponseFlags) GetNoRouteFound

func (x *ResponseFlags) GetNoRouteFound() bool

func (*ResponseFlags) GetRateLimitServiceError

func (x *ResponseFlags) GetRateLimitServiceError() bool

func (*ResponseFlags) GetRateLimited

func (x *ResponseFlags) GetRateLimited() bool

func (*ResponseFlags) GetStreamIdleTimeout

func (x *ResponseFlags) GetStreamIdleTimeout() bool

func (*ResponseFlags) GetUnauthorizedDetails

func (x *ResponseFlags) GetUnauthorizedDetails() *ResponseFlags_Unauthorized

func (*ResponseFlags) GetUpstreamConnectionFailure

func (x *ResponseFlags) GetUpstreamConnectionFailure() bool

func (*ResponseFlags) GetUpstreamConnectionTermination

func (x *ResponseFlags) GetUpstreamConnectionTermination() bool

func (*ResponseFlags) GetUpstreamOverflow

func (x *ResponseFlags) GetUpstreamOverflow() bool

func (*ResponseFlags) GetUpstreamRemoteReset

func (x *ResponseFlags) GetUpstreamRemoteReset() bool

func (*ResponseFlags) GetUpstreamRequestTimeout

func (x *ResponseFlags) GetUpstreamRequestTimeout() bool

func (*ResponseFlags) GetUpstreamRetryLimitExceeded

func (x *ResponseFlags) GetUpstreamRetryLimitExceeded() bool

func (*ResponseFlags) ProtoMessage

func (*ResponseFlags) ProtoMessage()

func (*ResponseFlags) ProtoReflect

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

func (*ResponseFlags) Reset

func (x *ResponseFlags) Reset()

func (*ResponseFlags) String

func (x *ResponseFlags) String() string

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, the first error encountered is returned, or nil if there are no violations.

func (*ResponseFlags) ValidateAll

func (m *ResponseFlags) ValidateAll() error

ValidateAll checks the field values on ResponseFlags with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ResponseFlagsMultiError, or nil if none found.

type ResponseFlagsMultiError

type ResponseFlagsMultiError []error

ResponseFlagsMultiError is an error wrapping multiple validation errors returned by ResponseFlags.ValidateAll() if the designated constraints aren't met.

func (ResponseFlagsMultiError) AllErrors

func (m ResponseFlagsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ResponseFlagsMultiError) Error

func (m ResponseFlagsMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

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 */
	// contains filtered or unexported fields
}

func (*ResponseFlags_Unauthorized) Descriptor deprecated

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

Deprecated: Use ResponseFlags_Unauthorized.ProtoReflect.Descriptor instead.

func (*ResponseFlags_Unauthorized) GetReason

func (*ResponseFlags_Unauthorized) ProtoMessage

func (*ResponseFlags_Unauthorized) ProtoMessage()

func (*ResponseFlags_Unauthorized) ProtoReflect

func (*ResponseFlags_Unauthorized) Reset

func (x *ResponseFlags_Unauthorized) Reset()

func (*ResponseFlags_Unauthorized) String

func (x *ResponseFlags_Unauthorized) String() string

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, the first error encountered is returned, or nil if there are no violations.

func (*ResponseFlags_Unauthorized) ValidateAll

func (m *ResponseFlags_Unauthorized) ValidateAll() error

ValidateAll checks the field values on ResponseFlags_Unauthorized with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ResponseFlags_UnauthorizedMultiError, or nil if none found.

type ResponseFlags_UnauthorizedMultiError

type ResponseFlags_UnauthorizedMultiError []error

ResponseFlags_UnauthorizedMultiError is an error wrapping multiple validation errors returned by ResponseFlags_Unauthorized.ValidateAll() if the designated constraints aren't met.

func (ResponseFlags_UnauthorizedMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (ResponseFlags_UnauthorizedMultiError) Error

Error returns a concatenation of all the error messages it wraps.

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

func (ResponseFlags_Unauthorized_Reason) Enum

func (ResponseFlags_Unauthorized_Reason) EnumDescriptor deprecated

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

Deprecated: Use ResponseFlags_Unauthorized_Reason.Descriptor instead.

func (ResponseFlags_Unauthorized_Reason) Number

func (ResponseFlags_Unauthorized_Reason) String

func (ResponseFlags_Unauthorized_Reason) Type

type TCPAccessLogEntry

type TCPAccessLogEntry struct {

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

func (*TCPAccessLogEntry) Descriptor deprecated

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

Deprecated: Use TCPAccessLogEntry.ProtoReflect.Descriptor instead.

func (*TCPAccessLogEntry) GetCommonProperties

func (x *TCPAccessLogEntry) GetCommonProperties() *AccessLogCommon

func (*TCPAccessLogEntry) GetConnectionProperties

func (x *TCPAccessLogEntry) GetConnectionProperties() *ConnectionProperties

func (*TCPAccessLogEntry) ProtoMessage

func (*TCPAccessLogEntry) ProtoMessage()

func (*TCPAccessLogEntry) ProtoReflect

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

func (*TCPAccessLogEntry) Reset

func (x *TCPAccessLogEntry) Reset()

func (*TCPAccessLogEntry) String

func (x *TCPAccessLogEntry) String() string

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, the first error encountered is returned, or nil if there are no violations.

func (*TCPAccessLogEntry) ValidateAll

func (m *TCPAccessLogEntry) ValidateAll() error

ValidateAll checks the field values on TCPAccessLogEntry with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in TCPAccessLogEntryMultiError, or nil if none found.

type TCPAccessLogEntryMultiError

type TCPAccessLogEntryMultiError []error

TCPAccessLogEntryMultiError is an error wrapping multiple validation errors returned by TCPAccessLogEntry.ValidateAll() if the designated constraints aren't met.

func (TCPAccessLogEntryMultiError) AllErrors

func (m TCPAccessLogEntryMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (TCPAccessLogEntryMultiError) Error

Error returns a concatenation of all the error messages it wraps.

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 *wrappers.UInt32Value `protobuf:"bytes,2,opt,name=tls_cipher_suite,json=tlsCipherSuite,proto3" json:"tls_cipher_suite,omitempty"`
	// SNI hostname from handshake.
	TlsSniHostname string `protobuf:"bytes,3,opt,name=tls_sni_hostname,json=tlsSniHostname,proto3" json:"tls_sni_hostname,omitempty"`
	// Properties of the local certificate used to negotiate TLS.
	LocalCertificateProperties *TLSProperties_CertificateProperties `` /* 141-byte string literal not displayed */
	// Properties of the peer certificate used to negotiate TLS.
	PeerCertificateProperties *TLSProperties_CertificateProperties `` /* 138-byte string literal not displayed */
	// The TLS session ID.
	TlsSessionId string `protobuf:"bytes,6,opt,name=tls_session_id,json=tlsSessionId,proto3" json:"tls_session_id,omitempty"`
	// contains filtered or unexported fields
}

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

func (*TLSProperties) Descriptor deprecated

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

Deprecated: Use TLSProperties.ProtoReflect.Descriptor instead.

func (*TLSProperties) GetLocalCertificateProperties

func (x *TLSProperties) GetLocalCertificateProperties() *TLSProperties_CertificateProperties

func (*TLSProperties) GetPeerCertificateProperties

func (x *TLSProperties) GetPeerCertificateProperties() *TLSProperties_CertificateProperties

func (*TLSProperties) GetTlsCipherSuite

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

func (*TLSProperties) GetTlsSessionId

func (x *TLSProperties) GetTlsSessionId() string

func (*TLSProperties) GetTlsSniHostname

func (x *TLSProperties) GetTlsSniHostname() string

func (*TLSProperties) GetTlsVersion

func (x *TLSProperties) GetTlsVersion() TLSProperties_TLSVersion

func (*TLSProperties) ProtoMessage

func (*TLSProperties) ProtoMessage()

func (*TLSProperties) ProtoReflect

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

func (*TLSProperties) Reset

func (x *TLSProperties) Reset()

func (*TLSProperties) String

func (x *TLSProperties) String() string

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, the first error encountered is returned, or nil if there are no violations.

func (*TLSProperties) ValidateAll

func (m *TLSProperties) ValidateAll() error

ValidateAll checks the field values on TLSProperties with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in TLSPropertiesMultiError, or nil if none found.

type TLSPropertiesMultiError

type TLSPropertiesMultiError []error

TLSPropertiesMultiError is an error wrapping multiple validation errors returned by TLSProperties.ValidateAll() if the designated constraints aren't met.

func (TLSPropertiesMultiError) AllErrors

func (m TLSPropertiesMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (TLSPropertiesMultiError) Error

func (m TLSPropertiesMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

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"`
	// contains filtered or unexported fields
}

func (*TLSProperties_CertificateProperties) Descriptor deprecated

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

Deprecated: Use TLSProperties_CertificateProperties.ProtoReflect.Descriptor instead.

func (*TLSProperties_CertificateProperties) GetSubject

func (*TLSProperties_CertificateProperties) GetSubjectAltName

func (*TLSProperties_CertificateProperties) ProtoMessage

func (*TLSProperties_CertificateProperties) ProtoMessage()

func (*TLSProperties_CertificateProperties) ProtoReflect

func (*TLSProperties_CertificateProperties) Reset

func (*TLSProperties_CertificateProperties) String

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, the first error encountered is returned, or nil if there are no violations.

func (*TLSProperties_CertificateProperties) ValidateAll

func (m *TLSProperties_CertificateProperties) ValidateAll() error

ValidateAll checks the field values on TLSProperties_CertificateProperties with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in TLSProperties_CertificatePropertiesMultiError, or nil if none found.

type TLSProperties_CertificatePropertiesMultiError

type TLSProperties_CertificatePropertiesMultiError []error

TLSProperties_CertificatePropertiesMultiError is an error wrapping multiple validation errors returned by TLSProperties_CertificateProperties.ValidateAll() if the designated constraints aren't met.

func (TLSProperties_CertificatePropertiesMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (TLSProperties_CertificatePropertiesMultiError) Error

Error returns a concatenation of all the error messages it wraps.

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 assignable to San:
	//	*TLSProperties_CertificateProperties_SubjectAltName_Uri
	//	*TLSProperties_CertificateProperties_SubjectAltName_Dns
	San isTLSProperties_CertificateProperties_SubjectAltName_San `protobuf_oneof:"san"`
	// contains filtered or unexported fields
}

func (*TLSProperties_CertificateProperties_SubjectAltName) Descriptor deprecated

Deprecated: Use TLSProperties_CertificateProperties_SubjectAltName.ProtoReflect.Descriptor instead.

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

func (*TLSProperties_CertificateProperties_SubjectAltName) ProtoReflect

func (*TLSProperties_CertificateProperties_SubjectAltName) Reset

func (*TLSProperties_CertificateProperties_SubjectAltName) String

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, the first error encountered is returned, or nil if there are no violations.

func (*TLSProperties_CertificateProperties_SubjectAltName) ValidateAll

ValidateAll checks the field values on TLSProperties_CertificateProperties_SubjectAltName with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in TLSProperties_CertificateProperties_SubjectAltNameMultiError, or nil if none found.

type TLSProperties_CertificateProperties_SubjectAltNameMultiError

type TLSProperties_CertificateProperties_SubjectAltNameMultiError []error

TLSProperties_CertificateProperties_SubjectAltNameMultiError is an error wrapping multiple validation errors returned by TLSProperties_CertificateProperties_SubjectAltName.ValidateAll() if the designated constraints aren't met.

func (TLSProperties_CertificateProperties_SubjectAltNameMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (TLSProperties_CertificateProperties_SubjectAltNameMultiError) Error

Error returns a concatenation of all the error messages it wraps.

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 {
	// [#not-implemented-hide:]
	Dns string `protobuf:"bytes,2,opt,name=dns,proto3,oneof"`
}

type TLSProperties_CertificateProperties_SubjectAltName_Uri

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

type TLSProperties_TLSVersion

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

func (TLSProperties_TLSVersion) Descriptor

func (TLSProperties_TLSVersion) Enum

func (TLSProperties_TLSVersion) EnumDescriptor deprecated

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

Deprecated: Use TLSProperties_TLSVersion.Descriptor instead.

func (TLSProperties_TLSVersion) Number

func (TLSProperties_TLSVersion) String

func (x TLSProperties_TLSVersion) String() string

func (TLSProperties_TLSVersion) Type

Jump to

Keyboard shortcuts

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