Documentation ¶
Overview ¶
Package v2 is a generated protocol buffer package.
It is generated from these files:
envoy/config/accesslog/v2/als.proto envoy/config/accesslog/v2/file.proto
It has these top-level messages:
HttpGrpcAccessLogConfig TcpGrpcAccessLogConfig CommonGrpcAccessLogConfig FileAccessLog
Index ¶
- Variables
- type CommonGrpcAccessLogConfig
- func (*CommonGrpcAccessLogConfig) Descriptor() ([]byte, []int)
- func (m *CommonGrpcAccessLogConfig) GetGrpcService() *envoy_api_v2_core1.GrpcService
- func (m *CommonGrpcAccessLogConfig) GetLogName() string
- func (m *CommonGrpcAccessLogConfig) Marshal() (dAtA []byte, err error)
- func (m *CommonGrpcAccessLogConfig) MarshalTo(dAtA []byte) (int, error)
- func (*CommonGrpcAccessLogConfig) ProtoMessage()
- func (m *CommonGrpcAccessLogConfig) Reset()
- func (m *CommonGrpcAccessLogConfig) Size() (n int)
- func (m *CommonGrpcAccessLogConfig) String() string
- func (m *CommonGrpcAccessLogConfig) Unmarshal(dAtA []byte) error
- func (m *CommonGrpcAccessLogConfig) Validate() error
- type CommonGrpcAccessLogConfigValidationError
- type FileAccessLog
- func (*FileAccessLog) Descriptor() ([]byte, []int)
- func (m *FileAccessLog) GetFormat() string
- func (m *FileAccessLog) GetPath() string
- func (m *FileAccessLog) Marshal() (dAtA []byte, err error)
- func (m *FileAccessLog) MarshalTo(dAtA []byte) (int, error)
- func (*FileAccessLog) ProtoMessage()
- func (m *FileAccessLog) Reset()
- func (m *FileAccessLog) Size() (n int)
- func (m *FileAccessLog) String() string
- func (m *FileAccessLog) Unmarshal(dAtA []byte) error
- func (m *FileAccessLog) Validate() error
- type FileAccessLogValidationError
- type HttpGrpcAccessLogConfig
- func (*HttpGrpcAccessLogConfig) Descriptor() ([]byte, []int)
- func (m *HttpGrpcAccessLogConfig) GetAdditionalRequestHeadersToLog() []string
- func (m *HttpGrpcAccessLogConfig) GetAdditionalResponseHeadersToLog() []string
- func (m *HttpGrpcAccessLogConfig) GetAdditionalResponseTrailersToLog() []string
- func (m *HttpGrpcAccessLogConfig) GetCommonConfig() *CommonGrpcAccessLogConfig
- func (m *HttpGrpcAccessLogConfig) Marshal() (dAtA []byte, err error)
- func (m *HttpGrpcAccessLogConfig) MarshalTo(dAtA []byte) (int, error)
- func (*HttpGrpcAccessLogConfig) ProtoMessage()
- func (m *HttpGrpcAccessLogConfig) Reset()
- func (m *HttpGrpcAccessLogConfig) Size() (n int)
- func (m *HttpGrpcAccessLogConfig) String() string
- func (m *HttpGrpcAccessLogConfig) Unmarshal(dAtA []byte) error
- func (m *HttpGrpcAccessLogConfig) Validate() error
- type HttpGrpcAccessLogConfigValidationError
- type TcpGrpcAccessLogConfig
- func (*TcpGrpcAccessLogConfig) Descriptor() ([]byte, []int)
- func (m *TcpGrpcAccessLogConfig) GetCommonConfig() *CommonGrpcAccessLogConfig
- func (m *TcpGrpcAccessLogConfig) Marshal() (dAtA []byte, err error)
- func (m *TcpGrpcAccessLogConfig) MarshalTo(dAtA []byte) (int, error)
- func (*TcpGrpcAccessLogConfig) ProtoMessage()
- func (m *TcpGrpcAccessLogConfig) Reset()
- func (m *TcpGrpcAccessLogConfig) Size() (n int)
- func (m *TcpGrpcAccessLogConfig) String() string
- func (m *TcpGrpcAccessLogConfig) Unmarshal(dAtA []byte) error
- func (m *TcpGrpcAccessLogConfig) Validate() error
- type TcpGrpcAccessLogConfigValidationError
Constants ¶
This section is empty.
Variables ¶
var ( ErrInvalidLengthAls = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowAls = fmt.Errorf("proto: integer overflow") )
var ( ErrInvalidLengthFile = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowFile = fmt.Errorf("proto: integer overflow") )
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.v2.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 *envoy_api_v2_core1.GrpcService `protobuf:"bytes,2,opt,name=grpc_service,json=grpcService" json:"grpc_service,omitempty"` }
Common configuration for gRPC access logs.
func (*CommonGrpcAccessLogConfig) Descriptor ¶
func (*CommonGrpcAccessLogConfig) Descriptor() ([]byte, []int)
func (*CommonGrpcAccessLogConfig) GetGrpcService ¶
func (m *CommonGrpcAccessLogConfig) GetGrpcService() *envoy_api_v2_core1.GrpcService
func (*CommonGrpcAccessLogConfig) GetLogName ¶
func (m *CommonGrpcAccessLogConfig) GetLogName() string
func (*CommonGrpcAccessLogConfig) Marshal ¶
func (m *CommonGrpcAccessLogConfig) Marshal() (dAtA []byte, err error)
func (*CommonGrpcAccessLogConfig) MarshalTo ¶
func (m *CommonGrpcAccessLogConfig) MarshalTo(dAtA []byte) (int, error)
func (*CommonGrpcAccessLogConfig) ProtoMessage ¶
func (*CommonGrpcAccessLogConfig) ProtoMessage()
func (*CommonGrpcAccessLogConfig) Reset ¶
func (m *CommonGrpcAccessLogConfig) Reset()
func (*CommonGrpcAccessLogConfig) Size ¶
func (m *CommonGrpcAccessLogConfig) Size() (n int)
func (*CommonGrpcAccessLogConfig) String ¶
func (m *CommonGrpcAccessLogConfig) String() string
func (*CommonGrpcAccessLogConfig) Unmarshal ¶
func (m *CommonGrpcAccessLogConfig) Unmarshal(dAtA []byte) error
func (*CommonGrpcAccessLogConfig) Validate ¶
func (m *CommonGrpcAccessLogConfig) Validate() error
Validate checks the field values on CommonGrpcAccessLogConfig with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type CommonGrpcAccessLogConfigValidationError ¶
type CommonGrpcAccessLogConfigValidationError struct { Field string Reason string Cause error Key bool }
CommonGrpcAccessLogConfigValidationError is the validation error returned by CommonGrpcAccessLogConfig.Validate if the designated constraints aren't met.
func (CommonGrpcAccessLogConfigValidationError) Error ¶
func (e CommonGrpcAccessLogConfigValidationError) Error() string
Error satisfies the builtin error interface
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>`. Format string `protobuf:"bytes,2,opt,name=format,proto3" json:"format,omitempty"` }
Custom configuration for an :ref:`AccessLog <envoy_api_msg_config.filter.accesslog.v2.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) GetFormat ¶
func (m *FileAccessLog) GetFormat() string
func (*FileAccessLog) GetPath ¶
func (m *FileAccessLog) GetPath() string
func (*FileAccessLog) Marshal ¶
func (m *FileAccessLog) Marshal() (dAtA []byte, err error)
func (*FileAccessLog) ProtoMessage ¶
func (*FileAccessLog) ProtoMessage()
func (*FileAccessLog) Reset ¶
func (m *FileAccessLog) Reset()
func (*FileAccessLog) Size ¶
func (m *FileAccessLog) Size() (n int)
func (*FileAccessLog) String ¶
func (m *FileAccessLog) String() string
func (*FileAccessLog) Unmarshal ¶
func (m *FileAccessLog) Unmarshal(dAtA []byte) error
func (*FileAccessLog) Validate ¶
func (m *FileAccessLog) Validate() error
Validate checks the field values on FileAccessLog with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type FileAccessLogValidationError ¶
FileAccessLogValidationError is the validation error returned by FileAccessLog.Validate if the designated constraints aren't met.
func (FileAccessLogValidationError) Error ¶
func (e FileAccessLogValidationError) Error() string
Error satisfies the builtin error interface
type HttpGrpcAccessLogConfig ¶
type HttpGrpcAccessLogConfig struct { CommonConfig *CommonGrpcAccessLogConfig `protobuf:"bytes,1,opt,name=common_config,json=commonConfig" json:"common_config,omitempty"` // Additional request headers to log in :ref:`HTTPRequestProperties.request_headers // <envoy_api_field_data.accesslog.v2.HTTPRequestProperties.request_headers>`. AdditionalRequestHeadersToLog []string `` /* 147-byte string literal not displayed */ // Additional response headers to log in :ref:`HTTPResponseProperties.response_headers // <envoy_api_field_data.accesslog.v2.HTTPResponseProperties.response_headers>`. AdditionalResponseHeadersToLog []string `` /* 150-byte string literal not displayed */ // Additional response trailers to log in :ref:`HTTPResponseProperties.response_trailers // <envoy_api_field_data.accesslog.v2.HTTPResponseProperties.response_trailers>`. AdditionalResponseTrailersToLog []string `` /* 153-byte string literal not displayed */ }
Configuration for the built-in *envoy.http_grpc_access_log* :ref:`AccessLog <envoy_api_msg_config.filter.accesslog.v2.AccessLog>`. This configuration will populate :ref:`StreamAccessLogsMessage.http_logs <envoy_api_field_service.accesslog.v2.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) Marshal ¶
func (m *HttpGrpcAccessLogConfig) Marshal() (dAtA []byte, err error)
func (*HttpGrpcAccessLogConfig) MarshalTo ¶
func (m *HttpGrpcAccessLogConfig) MarshalTo(dAtA []byte) (int, error)
func (*HttpGrpcAccessLogConfig) ProtoMessage ¶
func (*HttpGrpcAccessLogConfig) ProtoMessage()
func (*HttpGrpcAccessLogConfig) Reset ¶
func (m *HttpGrpcAccessLogConfig) Reset()
func (*HttpGrpcAccessLogConfig) Size ¶
func (m *HttpGrpcAccessLogConfig) Size() (n int)
func (*HttpGrpcAccessLogConfig) String ¶
func (m *HttpGrpcAccessLogConfig) String() string
func (*HttpGrpcAccessLogConfig) Unmarshal ¶
func (m *HttpGrpcAccessLogConfig) Unmarshal(dAtA []byte) error
func (*HttpGrpcAccessLogConfig) Validate ¶
func (m *HttpGrpcAccessLogConfig) Validate() error
Validate checks the field values on HttpGrpcAccessLogConfig with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type HttpGrpcAccessLogConfigValidationError ¶
type HttpGrpcAccessLogConfigValidationError struct { Field string Reason string Cause error Key bool }
HttpGrpcAccessLogConfigValidationError is the validation error returned by HttpGrpcAccessLogConfig.Validate if the designated constraints aren't met.
func (HttpGrpcAccessLogConfigValidationError) Error ¶
func (e HttpGrpcAccessLogConfigValidationError) Error() string
Error satisfies the builtin error interface
type TcpGrpcAccessLogConfig ¶
type TcpGrpcAccessLogConfig struct {
CommonConfig *CommonGrpcAccessLogConfig `protobuf:"bytes,1,opt,name=common_config,json=commonConfig" json:"common_config,omitempty"`
}
Configuration for the built-in *envoy.tcp_grpc_access_log* type. This configuration will populate *StreamAccessLogsMessage.tcp_logs*. [#not-implemented-hide:]
func (*TcpGrpcAccessLogConfig) Descriptor ¶
func (*TcpGrpcAccessLogConfig) Descriptor() ([]byte, []int)
func (*TcpGrpcAccessLogConfig) GetCommonConfig ¶
func (m *TcpGrpcAccessLogConfig) GetCommonConfig() *CommonGrpcAccessLogConfig
func (*TcpGrpcAccessLogConfig) Marshal ¶
func (m *TcpGrpcAccessLogConfig) Marshal() (dAtA []byte, err error)
func (*TcpGrpcAccessLogConfig) MarshalTo ¶
func (m *TcpGrpcAccessLogConfig) MarshalTo(dAtA []byte) (int, error)
func (*TcpGrpcAccessLogConfig) ProtoMessage ¶
func (*TcpGrpcAccessLogConfig) ProtoMessage()
func (*TcpGrpcAccessLogConfig) Reset ¶
func (m *TcpGrpcAccessLogConfig) Reset()
func (*TcpGrpcAccessLogConfig) Size ¶
func (m *TcpGrpcAccessLogConfig) Size() (n int)
func (*TcpGrpcAccessLogConfig) String ¶
func (m *TcpGrpcAccessLogConfig) String() string
func (*TcpGrpcAccessLogConfig) Unmarshal ¶
func (m *TcpGrpcAccessLogConfig) Unmarshal(dAtA []byte) error
func (*TcpGrpcAccessLogConfig) Validate ¶
func (m *TcpGrpcAccessLogConfig) Validate() error
Validate checks the field values on TcpGrpcAccessLogConfig with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type TcpGrpcAccessLogConfigValidationError ¶
type TcpGrpcAccessLogConfigValidationError struct { Field string Reason string Cause error Key bool }
TcpGrpcAccessLogConfigValidationError is the validation error returned by TcpGrpcAccessLogConfig.Validate if the designated constraints aren't met.
func (TcpGrpcAccessLogConfigValidationError) Error ¶
func (e TcpGrpcAccessLogConfigValidationError) Error() string
Error satisfies the builtin error interface