Documentation ¶
Index ¶
- Variables
- type CommonGrpcAccessLogConfig
- func (*CommonGrpcAccessLogConfig) Descriptor() ([]byte, []int)
- func (m *CommonGrpcAccessLogConfig) GetGrpcService() *core.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
- func (m *CommonGrpcAccessLogConfig) XXX_DiscardUnknown()
- func (m *CommonGrpcAccessLogConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *CommonGrpcAccessLogConfig) XXX_Merge(src proto.Message)
- func (m *CommonGrpcAccessLogConfig) XXX_Size() int
- func (m *CommonGrpcAccessLogConfig) XXX_Unmarshal(b []byte) error
- type CommonGrpcAccessLogConfigValidationError
- type FileAccessLog
- func (*FileAccessLog) Descriptor() ([]byte, []int)
- func (m *FileAccessLog) GetAccessLogFormat() isFileAccessLog_AccessLogFormat
- func (m *FileAccessLog) GetFormat() string
- func (m *FileAccessLog) GetJsonFormat() *types.Struct
- 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
- func (m *FileAccessLog) XXX_DiscardUnknown()
- func (m *FileAccessLog) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *FileAccessLog) XXX_Merge(src proto.Message)
- func (*FileAccessLog) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *FileAccessLog) XXX_Size() int
- func (m *FileAccessLog) XXX_Unmarshal(b []byte) error
- type FileAccessLogValidationError
- type FileAccessLog_Format
- type FileAccessLog_JsonFormat
- 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
- func (m *HttpGrpcAccessLogConfig) XXX_DiscardUnknown()
- func (m *HttpGrpcAccessLogConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *HttpGrpcAccessLogConfig) XXX_Merge(src proto.Message)
- func (m *HttpGrpcAccessLogConfig) XXX_Size() int
- func (m *HttpGrpcAccessLogConfig) XXX_Unmarshal(b []byte) 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
- func (m *TcpGrpcAccessLogConfig) XXX_DiscardUnknown()
- func (m *TcpGrpcAccessLogConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *TcpGrpcAccessLogConfig) XXX_Merge(src proto.Message)
- func (m *TcpGrpcAccessLogConfig) XXX_Size() int
- func (m *TcpGrpcAccessLogConfig) XXX_Unmarshal(b []byte) 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 *core.GrpcService `protobuf:"bytes,2,opt,name=grpc_service,json=grpcService" json:"grpc_service,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) GetGrpcService ¶
func (m *CommonGrpcAccessLogConfig) GetGrpcService() *core.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.
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 (dst *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 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>`. // // 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.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) GetAccessLogFormat ¶ added in v0.6.2
func (m *FileAccessLog) GetAccessLogFormat() isFileAccessLog_AccessLogFormat
func (*FileAccessLog) GetFormat ¶
func (m *FileAccessLog) GetFormat() string
func (*FileAccessLog) GetJsonFormat ¶ added in v0.6.2
func (m *FileAccessLog) GetJsonFormat() *types.Struct
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.
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 (dst *FileAccessLog) XXX_Merge(src proto.Message)
func (*FileAccessLog) XXX_OneofFuncs ¶ added in v0.6.2
func (*FileAccessLog) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs 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 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 FileAccessLog_Format ¶ added in v0.6.2
type FileAccessLog_Format struct {
Format string `protobuf:"bytes,2,opt,name=format,proto3,oneof"`
}
func (*FileAccessLog_Format) MarshalTo ¶ added in v0.6.2
func (m *FileAccessLog_Format) MarshalTo(dAtA []byte) (int, error)
func (*FileAccessLog_Format) Size ¶ added in v0.6.2
func (m *FileAccessLog_Format) Size() (n int)
type FileAccessLog_JsonFormat ¶ added in v0.6.2
type FileAccessLog_JsonFormat struct {
JsonFormat *types.Struct `protobuf:"bytes,3,opt,name=json_format,json=jsonFormat,oneof"`
}
func (*FileAccessLog_JsonFormat) MarshalTo ¶ added in v0.6.2
func (m *FileAccessLog_JsonFormat) MarshalTo(dAtA []byte) (int, error)
func (*FileAccessLog_JsonFormat) Size ¶ added in v0.6.2
func (m *FileAccessLog_JsonFormat) Size() (n int)
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 */ 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.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.
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 (dst *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 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"` 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*. [#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.
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 (dst *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
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