Documentation ¶
Index ¶
- Variables
- type CommonGrpcAccessLogConfig
- func (x *CommonGrpcAccessLogConfig) ClearBufferFlushInterval()
- func (x *CommonGrpcAccessLogConfig) ClearBufferSizeBytes()
- func (x *CommonGrpcAccessLogConfig) ClearGrpcService()
- func (x *CommonGrpcAccessLogConfig) ClearGrpcStreamRetryPolicy()
- func (x *CommonGrpcAccessLogConfig) GetBufferFlushInterval() *durationpb.Duration
- func (x *CommonGrpcAccessLogConfig) GetBufferSizeBytes() *wrapperspb.UInt32Value
- func (x *CommonGrpcAccessLogConfig) GetCustomTags() []*v31.CustomTag
- func (x *CommonGrpcAccessLogConfig) GetFilterStateObjectsToLog() []string
- func (x *CommonGrpcAccessLogConfig) GetGrpcService() *v3.GrpcService
- func (x *CommonGrpcAccessLogConfig) GetGrpcStreamRetryPolicy() *v3.RetryPolicy
- func (x *CommonGrpcAccessLogConfig) GetLogName() string
- func (x *CommonGrpcAccessLogConfig) GetTransportApiVersion() v3.ApiVersion
- func (x *CommonGrpcAccessLogConfig) HasBufferFlushInterval() bool
- func (x *CommonGrpcAccessLogConfig) HasBufferSizeBytes() bool
- func (x *CommonGrpcAccessLogConfig) HasGrpcService() bool
- func (x *CommonGrpcAccessLogConfig) HasGrpcStreamRetryPolicy() bool
- func (*CommonGrpcAccessLogConfig) ProtoMessage()
- func (x *CommonGrpcAccessLogConfig) ProtoReflect() protoreflect.Message
- func (x *CommonGrpcAccessLogConfig) Reset()
- func (x *CommonGrpcAccessLogConfig) SetBufferFlushInterval(v *durationpb.Duration)
- func (x *CommonGrpcAccessLogConfig) SetBufferSizeBytes(v *wrapperspb.UInt32Value)
- func (x *CommonGrpcAccessLogConfig) SetCustomTags(v []*v31.CustomTag)
- func (x *CommonGrpcAccessLogConfig) SetFilterStateObjectsToLog(v []string)
- func (x *CommonGrpcAccessLogConfig) SetGrpcService(v *v3.GrpcService)
- func (x *CommonGrpcAccessLogConfig) SetGrpcStreamRetryPolicy(v *v3.RetryPolicy)
- func (x *CommonGrpcAccessLogConfig) SetLogName(v string)
- func (x *CommonGrpcAccessLogConfig) SetTransportApiVersion(v v3.ApiVersion)
- func (x *CommonGrpcAccessLogConfig) String() string
- type CommonGrpcAccessLogConfig_builder
- type HttpGrpcAccessLogConfig
- func (x *HttpGrpcAccessLogConfig) ClearCommonConfig()
- func (x *HttpGrpcAccessLogConfig) GetAdditionalRequestHeadersToLog() []string
- func (x *HttpGrpcAccessLogConfig) GetAdditionalResponseHeadersToLog() []string
- func (x *HttpGrpcAccessLogConfig) GetAdditionalResponseTrailersToLog() []string
- func (x *HttpGrpcAccessLogConfig) GetCommonConfig() *CommonGrpcAccessLogConfig
- func (x *HttpGrpcAccessLogConfig) HasCommonConfig() bool
- func (*HttpGrpcAccessLogConfig) ProtoMessage()
- func (x *HttpGrpcAccessLogConfig) ProtoReflect() protoreflect.Message
- func (x *HttpGrpcAccessLogConfig) Reset()
- func (x *HttpGrpcAccessLogConfig) SetAdditionalRequestHeadersToLog(v []string)
- func (x *HttpGrpcAccessLogConfig) SetAdditionalResponseHeadersToLog(v []string)
- func (x *HttpGrpcAccessLogConfig) SetAdditionalResponseTrailersToLog(v []string)
- func (x *HttpGrpcAccessLogConfig) SetCommonConfig(v *CommonGrpcAccessLogConfig)
- func (x *HttpGrpcAccessLogConfig) String() string
- type HttpGrpcAccessLogConfig_builder
- type TcpGrpcAccessLogConfig
- func (x *TcpGrpcAccessLogConfig) ClearCommonConfig()
- func (x *TcpGrpcAccessLogConfig) GetCommonConfig() *CommonGrpcAccessLogConfig
- func (x *TcpGrpcAccessLogConfig) HasCommonConfig() bool
- func (*TcpGrpcAccessLogConfig) ProtoMessage()
- func (x *TcpGrpcAccessLogConfig) ProtoReflect() protoreflect.Message
- func (x *TcpGrpcAccessLogConfig) Reset()
- func (x *TcpGrpcAccessLogConfig) SetCommonConfig(v *CommonGrpcAccessLogConfig)
- func (x *TcpGrpcAccessLogConfig) String() string
- type TcpGrpcAccessLogConfig_builder
Constants ¶
This section is empty.
Variables ¶
View Source
var File_envoy_extensions_access_loggers_grpc_v3_als_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type CommonGrpcAccessLogConfig ¶
type CommonGrpcAccessLogConfig struct { // The friendly name of the access log to be returned in :ref:`StreamAccessLogsMessage.Identifier // <envoy_v3_api_msg_service.accesslog.v3.StreamAccessLogsMessage.Identifier>`. This allows the // access log server to differentiate between different access logs coming from the same Envoy. LogName string `protobuf:"bytes,1,opt,name=log_name,json=logName,proto3" json:"log_name,omitempty"` // The gRPC service for the access log service. GrpcService *v3.GrpcService `protobuf:"bytes,2,opt,name=grpc_service,json=grpcService,proto3" json:"grpc_service,omitempty"` // API version for access logs service transport protocol. This describes the access logs service // gRPC endpoint and version of messages used on the wire. TransportApiVersion v3.ApiVersion `` /* 158-byte string literal not displayed */ // Interval for flushing access logs to the gRPC stream. Logger will flush requests every time // this interval is elapsed, or when batch size limit is hit, whichever comes first. Defaults to // 1 second. BufferFlushInterval *durationpb.Duration `protobuf:"bytes,3,opt,name=buffer_flush_interval,json=bufferFlushInterval,proto3" json:"buffer_flush_interval,omitempty"` // Soft size limit in bytes for access log entries buffer. Logger will buffer requests until // this limit it hit, or every time flush interval is elapsed, whichever comes first. Setting it // to zero effectively disables the batching. Defaults to 16384. BufferSizeBytes *wrapperspb.UInt32Value `protobuf:"bytes,4,opt,name=buffer_size_bytes,json=bufferSizeBytes,proto3" json:"buffer_size_bytes,omitempty"` // Additional filter state objects to log in :ref:`filter_state_objects // <envoy_v3_api_field_data.accesslog.v3.AccessLogCommon.filter_state_objects>`. // Logger will call “FilterState::Object::serializeAsProto“ to serialize the filter state object. FilterStateObjectsToLog []string `` /* 136-byte string literal not displayed */ // Sets the retry policy when the establishment of a gRPC stream fails. // If the stream succeeds at least once in establishing itself, // no retry will be performed no matter what gRPC status is received. // Note that only :ref:`num_retries <envoy_v3_api_field_config.core.v3.RetryPolicy.num_retries>` // will be used in this configuration. This feature is used only when you are using // :ref:`Envoy gRPC client <envoy_v3_api_field_config.core.v3.GrpcService.envoy_grpc>`. GrpcStreamRetryPolicy *v3.RetryPolicy `` /* 128-byte string literal not displayed */ // A list of custom tags with unique tag name to create tags for the logs. CustomTags []*v31.CustomTag `protobuf:"bytes,8,rep,name=custom_tags,json=customTags,proto3" json:"custom_tags,omitempty"` // contains filtered or unexported fields }
Common configuration for gRPC access logs. [#next-free-field: 9]
func (*CommonGrpcAccessLogConfig) ClearBufferFlushInterval ¶
func (x *CommonGrpcAccessLogConfig) ClearBufferFlushInterval()
func (*CommonGrpcAccessLogConfig) ClearBufferSizeBytes ¶
func (x *CommonGrpcAccessLogConfig) ClearBufferSizeBytes()
func (*CommonGrpcAccessLogConfig) ClearGrpcService ¶
func (x *CommonGrpcAccessLogConfig) ClearGrpcService()
func (*CommonGrpcAccessLogConfig) ClearGrpcStreamRetryPolicy ¶
func (x *CommonGrpcAccessLogConfig) ClearGrpcStreamRetryPolicy()
func (*CommonGrpcAccessLogConfig) GetBufferFlushInterval ¶
func (x *CommonGrpcAccessLogConfig) GetBufferFlushInterval() *durationpb.Duration
func (*CommonGrpcAccessLogConfig) GetBufferSizeBytes ¶
func (x *CommonGrpcAccessLogConfig) GetBufferSizeBytes() *wrapperspb.UInt32Value
func (*CommonGrpcAccessLogConfig) GetCustomTags ¶
func (x *CommonGrpcAccessLogConfig) GetCustomTags() []*v31.CustomTag
func (*CommonGrpcAccessLogConfig) GetFilterStateObjectsToLog ¶
func (x *CommonGrpcAccessLogConfig) GetFilterStateObjectsToLog() []string
func (*CommonGrpcAccessLogConfig) GetGrpcService ¶
func (x *CommonGrpcAccessLogConfig) GetGrpcService() *v3.GrpcService
func (*CommonGrpcAccessLogConfig) GetGrpcStreamRetryPolicy ¶
func (x *CommonGrpcAccessLogConfig) GetGrpcStreamRetryPolicy() *v3.RetryPolicy
func (*CommonGrpcAccessLogConfig) GetLogName ¶
func (x *CommonGrpcAccessLogConfig) GetLogName() string
func (*CommonGrpcAccessLogConfig) GetTransportApiVersion ¶
func (x *CommonGrpcAccessLogConfig) GetTransportApiVersion() v3.ApiVersion
func (*CommonGrpcAccessLogConfig) HasBufferFlushInterval ¶
func (x *CommonGrpcAccessLogConfig) HasBufferFlushInterval() bool
func (*CommonGrpcAccessLogConfig) HasBufferSizeBytes ¶
func (x *CommonGrpcAccessLogConfig) HasBufferSizeBytes() bool
func (*CommonGrpcAccessLogConfig) HasGrpcService ¶
func (x *CommonGrpcAccessLogConfig) HasGrpcService() bool
func (*CommonGrpcAccessLogConfig) HasGrpcStreamRetryPolicy ¶
func (x *CommonGrpcAccessLogConfig) HasGrpcStreamRetryPolicy() bool
func (*CommonGrpcAccessLogConfig) ProtoMessage ¶
func (*CommonGrpcAccessLogConfig) ProtoMessage()
func (*CommonGrpcAccessLogConfig) ProtoReflect ¶
func (x *CommonGrpcAccessLogConfig) ProtoReflect() protoreflect.Message
func (*CommonGrpcAccessLogConfig) Reset ¶
func (x *CommonGrpcAccessLogConfig) Reset()
func (*CommonGrpcAccessLogConfig) SetBufferFlushInterval ¶
func (x *CommonGrpcAccessLogConfig) SetBufferFlushInterval(v *durationpb.Duration)
func (*CommonGrpcAccessLogConfig) SetBufferSizeBytes ¶
func (x *CommonGrpcAccessLogConfig) SetBufferSizeBytes(v *wrapperspb.UInt32Value)
func (*CommonGrpcAccessLogConfig) SetCustomTags ¶
func (x *CommonGrpcAccessLogConfig) SetCustomTags(v []*v31.CustomTag)
func (*CommonGrpcAccessLogConfig) SetFilterStateObjectsToLog ¶
func (x *CommonGrpcAccessLogConfig) SetFilterStateObjectsToLog(v []string)
func (*CommonGrpcAccessLogConfig) SetGrpcService ¶
func (x *CommonGrpcAccessLogConfig) SetGrpcService(v *v3.GrpcService)
func (*CommonGrpcAccessLogConfig) SetGrpcStreamRetryPolicy ¶
func (x *CommonGrpcAccessLogConfig) SetGrpcStreamRetryPolicy(v *v3.RetryPolicy)
func (*CommonGrpcAccessLogConfig) SetLogName ¶
func (x *CommonGrpcAccessLogConfig) SetLogName(v string)
func (*CommonGrpcAccessLogConfig) SetTransportApiVersion ¶
func (x *CommonGrpcAccessLogConfig) SetTransportApiVersion(v v3.ApiVersion)
func (*CommonGrpcAccessLogConfig) String ¶
func (x *CommonGrpcAccessLogConfig) String() string
type CommonGrpcAccessLogConfig_builder ¶
type CommonGrpcAccessLogConfig_builder struct { // The friendly name of the access log to be returned in :ref:`StreamAccessLogsMessage.Identifier // <envoy_v3_api_msg_service.accesslog.v3.StreamAccessLogsMessage.Identifier>`. This allows the // access log server to differentiate between different access logs coming from the same Envoy. LogName string // The gRPC service for the access log service. GrpcService *v3.GrpcService // API version for access logs service transport protocol. This describes the access logs service // gRPC endpoint and version of messages used on the wire. TransportApiVersion v3.ApiVersion // Interval for flushing access logs to the gRPC stream. Logger will flush requests every time // this interval is elapsed, or when batch size limit is hit, whichever comes first. Defaults to // 1 second. BufferFlushInterval *durationpb.Duration // Soft size limit in bytes for access log entries buffer. Logger will buffer requests until // this limit it hit, or every time flush interval is elapsed, whichever comes first. Setting it // to zero effectively disables the batching. Defaults to 16384. BufferSizeBytes *wrapperspb.UInt32Value // Additional filter state objects to log in :ref:`filter_state_objects // <envoy_v3_api_field_data.accesslog.v3.AccessLogCommon.filter_state_objects>`. // Logger will call “FilterState::Object::serializeAsProto“ to serialize the filter state object. FilterStateObjectsToLog []string // Sets the retry policy when the establishment of a gRPC stream fails. // If the stream succeeds at least once in establishing itself, // no retry will be performed no matter what gRPC status is received. // Note that only :ref:`num_retries <envoy_v3_api_field_config.core.v3.RetryPolicy.num_retries>` // will be used in this configuration. This feature is used only when you are using // :ref:`Envoy gRPC client <envoy_v3_api_field_config.core.v3.GrpcService.envoy_grpc>`. GrpcStreamRetryPolicy *v3.RetryPolicy // A list of custom tags with unique tag name to create tags for the logs. CustomTags []*v31.CustomTag // contains filtered or unexported fields }
func (CommonGrpcAccessLogConfig_builder) Build ¶
func (b0 CommonGrpcAccessLogConfig_builder) Build() *CommonGrpcAccessLogConfig
type HttpGrpcAccessLogConfig ¶
type HttpGrpcAccessLogConfig struct { CommonConfig *CommonGrpcAccessLogConfig `protobuf:"bytes,1,opt,name=common_config,json=commonConfig,proto3" json:"common_config,omitempty"` // Additional request headers to log in :ref:`HTTPRequestProperties.request_headers // <envoy_v3_api_field_data.accesslog.v3.HTTPRequestProperties.request_headers>`. AdditionalRequestHeadersToLog []string `` /* 154-byte string literal not displayed */ // Additional response headers to log in :ref:`HTTPResponseProperties.response_headers // <envoy_v3_api_field_data.accesslog.v3.HTTPResponseProperties.response_headers>`. AdditionalResponseHeadersToLog []string `` /* 157-byte string literal not displayed */ // Additional response trailers to log in :ref:`HTTPResponseProperties.response_trailers // <envoy_v3_api_field_data.accesslog.v3.HTTPResponseProperties.response_trailers>`. AdditionalResponseTrailersToLog []string `` /* 160-byte string literal not displayed */ // contains filtered or unexported fields }
Configuration for the built-in “envoy.access_loggers.http_grpc“ :ref:`AccessLog <envoy_v3_api_msg_config.accesslog.v3.AccessLog>`. This configuration will populate :ref:`StreamAccessLogsMessage.http_logs <envoy_v3_api_field_service.accesslog.v3.StreamAccessLogsMessage.http_logs>`. [#extension: envoy.access_loggers.http_grpc]
func (*HttpGrpcAccessLogConfig) ClearCommonConfig ¶
func (x *HttpGrpcAccessLogConfig) ClearCommonConfig()
func (*HttpGrpcAccessLogConfig) GetAdditionalRequestHeadersToLog ¶
func (x *HttpGrpcAccessLogConfig) GetAdditionalRequestHeadersToLog() []string
func (*HttpGrpcAccessLogConfig) GetAdditionalResponseHeadersToLog ¶
func (x *HttpGrpcAccessLogConfig) GetAdditionalResponseHeadersToLog() []string
func (*HttpGrpcAccessLogConfig) GetAdditionalResponseTrailersToLog ¶
func (x *HttpGrpcAccessLogConfig) GetAdditionalResponseTrailersToLog() []string
func (*HttpGrpcAccessLogConfig) GetCommonConfig ¶
func (x *HttpGrpcAccessLogConfig) GetCommonConfig() *CommonGrpcAccessLogConfig
func (*HttpGrpcAccessLogConfig) HasCommonConfig ¶
func (x *HttpGrpcAccessLogConfig) HasCommonConfig() bool
func (*HttpGrpcAccessLogConfig) ProtoMessage ¶
func (*HttpGrpcAccessLogConfig) ProtoMessage()
func (*HttpGrpcAccessLogConfig) ProtoReflect ¶
func (x *HttpGrpcAccessLogConfig) ProtoReflect() protoreflect.Message
func (*HttpGrpcAccessLogConfig) Reset ¶
func (x *HttpGrpcAccessLogConfig) Reset()
func (*HttpGrpcAccessLogConfig) SetAdditionalRequestHeadersToLog ¶
func (x *HttpGrpcAccessLogConfig) SetAdditionalRequestHeadersToLog(v []string)
func (*HttpGrpcAccessLogConfig) SetAdditionalResponseHeadersToLog ¶
func (x *HttpGrpcAccessLogConfig) SetAdditionalResponseHeadersToLog(v []string)
func (*HttpGrpcAccessLogConfig) SetAdditionalResponseTrailersToLog ¶
func (x *HttpGrpcAccessLogConfig) SetAdditionalResponseTrailersToLog(v []string)
func (*HttpGrpcAccessLogConfig) SetCommonConfig ¶
func (x *HttpGrpcAccessLogConfig) SetCommonConfig(v *CommonGrpcAccessLogConfig)
func (*HttpGrpcAccessLogConfig) String ¶
func (x *HttpGrpcAccessLogConfig) String() string
type HttpGrpcAccessLogConfig_builder ¶
type HttpGrpcAccessLogConfig_builder struct { CommonConfig *CommonGrpcAccessLogConfig // Additional request headers to log in :ref:`HTTPRequestProperties.request_headers // <envoy_v3_api_field_data.accesslog.v3.HTTPRequestProperties.request_headers>`. AdditionalRequestHeadersToLog []string // Additional response headers to log in :ref:`HTTPResponseProperties.response_headers // <envoy_v3_api_field_data.accesslog.v3.HTTPResponseProperties.response_headers>`. AdditionalResponseHeadersToLog []string // Additional response trailers to log in :ref:`HTTPResponseProperties.response_trailers // <envoy_v3_api_field_data.accesslog.v3.HTTPResponseProperties.response_trailers>`. AdditionalResponseTrailersToLog []string // contains filtered or unexported fields }
func (HttpGrpcAccessLogConfig_builder) Build ¶
func (b0 HttpGrpcAccessLogConfig_builder) Build() *HttpGrpcAccessLogConfig
type TcpGrpcAccessLogConfig ¶
type TcpGrpcAccessLogConfig struct { CommonConfig *CommonGrpcAccessLogConfig `protobuf:"bytes,1,opt,name=common_config,json=commonConfig,proto3" json:"common_config,omitempty"` // contains filtered or unexported fields }
Configuration for the built-in “envoy.access_loggers.tcp_grpc“ type. This configuration will populate “StreamAccessLogsMessage.tcp_logs“. [#extension: envoy.access_loggers.tcp_grpc]
func (*TcpGrpcAccessLogConfig) ClearCommonConfig ¶
func (x *TcpGrpcAccessLogConfig) ClearCommonConfig()
func (*TcpGrpcAccessLogConfig) GetCommonConfig ¶
func (x *TcpGrpcAccessLogConfig) GetCommonConfig() *CommonGrpcAccessLogConfig
func (*TcpGrpcAccessLogConfig) HasCommonConfig ¶
func (x *TcpGrpcAccessLogConfig) HasCommonConfig() bool
func (*TcpGrpcAccessLogConfig) ProtoMessage ¶
func (*TcpGrpcAccessLogConfig) ProtoMessage()
func (*TcpGrpcAccessLogConfig) ProtoReflect ¶
func (x *TcpGrpcAccessLogConfig) ProtoReflect() protoreflect.Message
func (*TcpGrpcAccessLogConfig) Reset ¶
func (x *TcpGrpcAccessLogConfig) Reset()
func (*TcpGrpcAccessLogConfig) SetCommonConfig ¶
func (x *TcpGrpcAccessLogConfig) SetCommonConfig(v *CommonGrpcAccessLogConfig)
func (*TcpGrpcAccessLogConfig) String ¶
func (x *TcpGrpcAccessLogConfig) String() string
type TcpGrpcAccessLogConfig_builder ¶
type TcpGrpcAccessLogConfig_builder struct { CommonConfig *CommonGrpcAccessLogConfig // contains filtered or unexported fields }
func (TcpGrpcAccessLogConfig_builder) Build ¶
func (b0 TcpGrpcAccessLogConfig_builder) Build() *TcpGrpcAccessLogConfig
Click to show internal directories.
Click to hide internal directories.