envoy_config_accesslog_v3alpha

package
v1.12.1 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

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_api_msg_service.accesslog.v3alpha.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 *core.GrpcService `protobuf:"bytes,2,opt,name=grpc_service,json=grpcService,proto3" json:"grpc_service,omitempty"`
	// 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 *types.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      *types.UInt32Value `protobuf:"bytes,4,opt,name=buffer_size_bytes,json=bufferSizeBytes,proto3" json:"buffer_size_bytes,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

Common configuration for gRPC access logs.

func (*CommonGrpcAccessLogConfig) Descriptor

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

func (*CommonGrpcAccessLogConfig) GetBufferFlushInterval

func (m *CommonGrpcAccessLogConfig) GetBufferFlushInterval() *types.Duration

func (*CommonGrpcAccessLogConfig) GetBufferSizeBytes

func (m *CommonGrpcAccessLogConfig) GetBufferSizeBytes() *types.UInt32Value

func (*CommonGrpcAccessLogConfig) GetGrpcService

func (m *CommonGrpcAccessLogConfig) GetGrpcService() *core.GrpcService

func (*CommonGrpcAccessLogConfig) GetLogName

func (m *CommonGrpcAccessLogConfig) GetLogName() string

func (*CommonGrpcAccessLogConfig) ProtoMessage

func (*CommonGrpcAccessLogConfig) ProtoMessage()

func (*CommonGrpcAccessLogConfig) Reset

func (m *CommonGrpcAccessLogConfig) Reset()

func (*CommonGrpcAccessLogConfig) String

func (m *CommonGrpcAccessLogConfig) String() string

func (*CommonGrpcAccessLogConfig) XXX_DiscardUnknown

func (m *CommonGrpcAccessLogConfig) XXX_DiscardUnknown()

func (*CommonGrpcAccessLogConfig) XXX_Marshal

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

func (*CommonGrpcAccessLogConfig) XXX_Merge

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

func (*CommonGrpcAccessLogConfig) XXX_Size

func (m *CommonGrpcAccessLogConfig) XXX_Size() int

func (*CommonGrpcAccessLogConfig) XXX_Unmarshal

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

type FileAccessLog

type FileAccessLog struct {
	// A path to a local file to which to write the access log entries.
	Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	// Access log format. Envoy supports :ref:`custom access log formats
	// <config_access_log_format>` as well as a :ref:`default format
	// <config_access_log_default_format>`.
	//
	// Types that are valid to be assigned to AccessLogFormat:
	//	*FileAccessLog_Format
	//	*FileAccessLog_JsonFormat
	AccessLogFormat      isFileAccessLog_AccessLogFormat `protobuf_oneof:"access_log_format"`
	XXX_NoUnkeyedLiteral struct{}                        `json:"-"`
	XXX_unrecognized     []byte                          `json:"-"`
	XXX_sizecache        int32                           `json:"-"`
}

Custom configuration for an :ref:`AccessLog <envoy_api_msg_config.filter.accesslog.v3alpha.AccessLog>` that writes log entries directly to a file. Configures the built-in *envoy.file_access_log* AccessLog.

func (*FileAccessLog) Descriptor

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

func (*FileAccessLog) GetAccessLogFormat

func (m *FileAccessLog) GetAccessLogFormat() isFileAccessLog_AccessLogFormat

func (*FileAccessLog) GetFormat

func (m *FileAccessLog) GetFormat() string

func (*FileAccessLog) GetJsonFormat

func (m *FileAccessLog) GetJsonFormat() *types.Struct

func (*FileAccessLog) GetPath

func (m *FileAccessLog) GetPath() string

func (*FileAccessLog) ProtoMessage

func (*FileAccessLog) ProtoMessage()

func (*FileAccessLog) Reset

func (m *FileAccessLog) Reset()

func (*FileAccessLog) String

func (m *FileAccessLog) String() string

func (*FileAccessLog) XXX_DiscardUnknown

func (m *FileAccessLog) XXX_DiscardUnknown()

func (*FileAccessLog) XXX_Marshal

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

func (*FileAccessLog) XXX_Merge

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

func (*FileAccessLog) XXX_OneofWrappers

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

XXX_OneofWrappers is for the internal use of the proto package.

func (*FileAccessLog) XXX_Size

func (m *FileAccessLog) XXX_Size() int

func (*FileAccessLog) XXX_Unmarshal

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

type FileAccessLog_Format

type FileAccessLog_Format struct {
	Format string `protobuf:"bytes,2,opt,name=format,proto3,oneof"`
}

type FileAccessLog_JsonFormat

type FileAccessLog_JsonFormat struct {
	JsonFormat *types.Struct `protobuf:"bytes,3,opt,name=json_format,json=jsonFormat,proto3,oneof"`
}

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_api_field_data.accesslog.v3alpha.HTTPRequestProperties.request_headers>`.
	AdditionalRequestHeadersToLog []string `` /* 154-byte string literal not displayed */
	// Additional response headers to log in :ref:`HTTPResponseProperties.response_headers
	// <envoy_api_field_data.accesslog.v3alpha.HTTPResponseProperties.response_headers>`.
	AdditionalResponseHeadersToLog []string `` /* 157-byte string literal not displayed */
	// Additional response trailers to log in :ref:`HTTPResponseProperties.response_trailers
	// <envoy_api_field_data.accesslog.v3alpha.HTTPResponseProperties.response_trailers>`.
	AdditionalResponseTrailersToLog []string `` /* 160-byte string literal not displayed */
	XXX_NoUnkeyedLiteral            struct{} `json:"-"`
	XXX_unrecognized                []byte   `json:"-"`
	XXX_sizecache                   int32    `json:"-"`
}

Configuration for the built-in *envoy.http_grpc_access_log* :ref:`AccessLog <envoy_api_msg_config.filter.accesslog.v3alpha.AccessLog>`. This configuration will populate :ref:`StreamAccessLogsMessage.http_logs <envoy_api_field_service.accesslog.v3alpha.StreamAccessLogsMessage.http_logs>`.

func (*HttpGrpcAccessLogConfig) Descriptor

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

func (*HttpGrpcAccessLogConfig) GetAdditionalRequestHeadersToLog

func (m *HttpGrpcAccessLogConfig) GetAdditionalRequestHeadersToLog() []string

func (*HttpGrpcAccessLogConfig) GetAdditionalResponseHeadersToLog

func (m *HttpGrpcAccessLogConfig) GetAdditionalResponseHeadersToLog() []string

func (*HttpGrpcAccessLogConfig) GetAdditionalResponseTrailersToLog

func (m *HttpGrpcAccessLogConfig) GetAdditionalResponseTrailersToLog() []string

func (*HttpGrpcAccessLogConfig) GetCommonConfig

func (m *HttpGrpcAccessLogConfig) GetCommonConfig() *CommonGrpcAccessLogConfig

func (*HttpGrpcAccessLogConfig) ProtoMessage

func (*HttpGrpcAccessLogConfig) ProtoMessage()

func (*HttpGrpcAccessLogConfig) Reset

func (m *HttpGrpcAccessLogConfig) Reset()

func (*HttpGrpcAccessLogConfig) String

func (m *HttpGrpcAccessLogConfig) String() string

func (*HttpGrpcAccessLogConfig) XXX_DiscardUnknown

func (m *HttpGrpcAccessLogConfig) XXX_DiscardUnknown()

func (*HttpGrpcAccessLogConfig) XXX_Marshal

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

func (*HttpGrpcAccessLogConfig) XXX_Merge

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

func (*HttpGrpcAccessLogConfig) XXX_Size

func (m *HttpGrpcAccessLogConfig) XXX_Size() int

func (*HttpGrpcAccessLogConfig) XXX_Unmarshal

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

type TcpGrpcAccessLogConfig

type TcpGrpcAccessLogConfig struct {
	CommonConfig         *CommonGrpcAccessLogConfig `protobuf:"bytes,1,opt,name=common_config,json=commonConfig,proto3" json:"common_config,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                   `json:"-"`
	XXX_unrecognized     []byte                     `json:"-"`
	XXX_sizecache        int32                      `json:"-"`
}

Configuration for the built-in *envoy.tcp_grpc_access_log* type. This configuration will populate *StreamAccessLogsMessage.tcp_logs*.

func (*TcpGrpcAccessLogConfig) Descriptor

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

func (*TcpGrpcAccessLogConfig) GetCommonConfig

func (m *TcpGrpcAccessLogConfig) GetCommonConfig() *CommonGrpcAccessLogConfig

func (*TcpGrpcAccessLogConfig) ProtoMessage

func (*TcpGrpcAccessLogConfig) ProtoMessage()

func (*TcpGrpcAccessLogConfig) Reset

func (m *TcpGrpcAccessLogConfig) Reset()

func (*TcpGrpcAccessLogConfig) String

func (m *TcpGrpcAccessLogConfig) String() string

func (*TcpGrpcAccessLogConfig) XXX_DiscardUnknown

func (m *TcpGrpcAccessLogConfig) XXX_DiscardUnknown()

func (*TcpGrpcAccessLogConfig) XXX_Marshal

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

func (*TcpGrpcAccessLogConfig) XXX_Merge

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

func (*TcpGrpcAccessLogConfig) XXX_Size

func (m *TcpGrpcAccessLogConfig) XXX_Size() int

func (*TcpGrpcAccessLogConfig) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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