Documentation ¶
Index ¶
- Variables
- type MethodLogging
- func (*MethodLogging) Descriptor() ([]byte, []int)deprecated
- func (x *MethodLogging) GetRequestLoggingByField() map[string]MethodLogging_LogDirective
- func (x *MethodLogging) GetResponseLoggingByField() map[string]MethodLogging_LogDirective
- func (*MethodLogging) ProtoMessage()
- func (x *MethodLogging) ProtoReflect() protoreflect.Message
- func (x *MethodLogging) Reset()
- func (x *MethodLogging) String() string
- type MethodLogging_LogDirective
- func (MethodLogging_LogDirective) Descriptor() protoreflect.EnumDescriptor
- func (x MethodLogging_LogDirective) Enum() *MethodLogging_LogDirective
- func (MethodLogging_LogDirective) EnumDescriptor() ([]byte, []int)deprecated
- func (x MethodLogging_LogDirective) Number() protoreflect.EnumNumber
- func (x MethodLogging_LogDirective) String() string
- func (MethodLogging_LogDirective) Type() protoreflect.EnumType
- type ProtoMessageLoggingConfig
- func (*ProtoMessageLoggingConfig) Descriptor() ([]byte, []int)deprecated
- func (x *ProtoMessageLoggingConfig) GetDataSource() *v3.DataSource
- func (m *ProtoMessageLoggingConfig) GetDescriptorSet() isProtoMessageLoggingConfig_DescriptorSet
- func (x *ProtoMessageLoggingConfig) GetLoggingByMethod() map[string]*MethodLogging
- func (x *ProtoMessageLoggingConfig) GetMode() ProtoMessageLoggingConfig_LogMode
- func (x *ProtoMessageLoggingConfig) GetProtoDescriptorTypedMetadata() string
- func (*ProtoMessageLoggingConfig) ProtoMessage()
- func (x *ProtoMessageLoggingConfig) ProtoReflect() protoreflect.Message
- func (x *ProtoMessageLoggingConfig) Reset()
- func (x *ProtoMessageLoggingConfig) String() string
- type ProtoMessageLoggingConfig_DataSource
- type ProtoMessageLoggingConfig_LogMode
- func (ProtoMessageLoggingConfig_LogMode) Descriptor() protoreflect.EnumDescriptor
- func (x ProtoMessageLoggingConfig_LogMode) Enum() *ProtoMessageLoggingConfig_LogMode
- func (ProtoMessageLoggingConfig_LogMode) EnumDescriptor() ([]byte, []int)deprecated
- func (x ProtoMessageLoggingConfig_LogMode) Number() protoreflect.EnumNumber
- func (x ProtoMessageLoggingConfig_LogMode) String() string
- func (ProtoMessageLoggingConfig_LogMode) Type() protoreflect.EnumType
- type ProtoMessageLoggingConfig_ProtoDescriptorTypedMetadata
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ProtoMessageLoggingConfig_LogMode_name = map[int32]string{ 0: "LogMode_UNSPECIFIED", 1: "FIRST_AND_LAST", } ProtoMessageLoggingConfig_LogMode_value = map[string]int32{ "LogMode_UNSPECIFIED": 0, "FIRST_AND_LAST": 1, } )
Enum value maps for ProtoMessageLoggingConfig_LogMode.
View Source
var ( MethodLogging_LogDirective_name = map[int32]string{ 0: "LogDirective_UNSPECIFIED", 1: "LOG", 2: "LOG_REDACT", } MethodLogging_LogDirective_value = map[string]int32{ "LogDirective_UNSPECIFIED": 0, "LOG": 1, "LOG_REDACT": 2, } )
Enum value maps for MethodLogging_LogDirective.
View Source
var File_envoy_extensions_filters_http_proto_message_logging_v3_config_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type MethodLogging ¶
type MethodLogging struct { // The mapping of field path to its LogDirective for request messages RequestLoggingByField map[string]MethodLogging_LogDirective `` /* 304-byte string literal not displayed */ // The mapping of field path to its LogDirective for response messages ResponseLoggingByField map[string]MethodLogging_LogDirective `` /* 307-byte string literal not displayed */ // contains filtered or unexported fields }
This message can be used to support per route config approach later even though the Istio doesn't support that so far.
func (*MethodLogging) Descriptor
deprecated
func (*MethodLogging) Descriptor() ([]byte, []int)
Deprecated: Use MethodLogging.ProtoReflect.Descriptor instead.
func (*MethodLogging) GetRequestLoggingByField ¶
func (x *MethodLogging) GetRequestLoggingByField() map[string]MethodLogging_LogDirective
func (*MethodLogging) GetResponseLoggingByField ¶
func (x *MethodLogging) GetResponseLoggingByField() map[string]MethodLogging_LogDirective
func (*MethodLogging) ProtoMessage ¶
func (*MethodLogging) ProtoMessage()
func (*MethodLogging) ProtoReflect ¶
func (x *MethodLogging) ProtoReflect() protoreflect.Message
func (*MethodLogging) Reset ¶
func (x *MethodLogging) Reset()
func (*MethodLogging) String ¶
func (x *MethodLogging) String() string
type MethodLogging_LogDirective ¶
type MethodLogging_LogDirective int32
const ( MethodLogging_LogDirective_UNSPECIFIED MethodLogging_LogDirective = 0 // The value of this field will be logged. MethodLogging_LOG MethodLogging_LogDirective = 1 // It should be only annotated on Message type fields so if the field isn't // empty, an empty Struct will be logged. MethodLogging_LOG_REDACT MethodLogging_LogDirective = 2 )
func (MethodLogging_LogDirective) Descriptor ¶
func (MethodLogging_LogDirective) Descriptor() protoreflect.EnumDescriptor
func (MethodLogging_LogDirective) Enum ¶
func (x MethodLogging_LogDirective) Enum() *MethodLogging_LogDirective
func (MethodLogging_LogDirective) EnumDescriptor
deprecated
func (MethodLogging_LogDirective) EnumDescriptor() ([]byte, []int)
Deprecated: Use MethodLogging_LogDirective.Descriptor instead.
func (MethodLogging_LogDirective) Number ¶
func (x MethodLogging_LogDirective) Number() protoreflect.EnumNumber
func (MethodLogging_LogDirective) String ¶
func (x MethodLogging_LogDirective) String() string
func (MethodLogging_LogDirective) Type ¶
func (MethodLogging_LogDirective) Type() protoreflect.EnumType
type ProtoMessageLoggingConfig ¶
type ProtoMessageLoggingConfig struct { // The proto descriptor set binary for the gRPC services. // // Types that are assignable to DescriptorSet: // // *ProtoMessageLoggingConfig_DataSource // *ProtoMessageLoggingConfig_ProtoDescriptorTypedMetadata DescriptorSet isProtoMessageLoggingConfig_DescriptorSet `protobuf_oneof:"descriptor_set"` Mode ProtoMessageLoggingConfig_LogMode `` /* 156-byte string literal not displayed */ // Specify the message logging info. // The key is the fully qualified gRPC method name. // “${package}.${Service}.${Method}“, like // “endpoints.examples.bookstore.BookStore.GetShelf“ // // The value is the message logging information for individual gRPC methods. LoggingByMethod map[string]*MethodLogging `` /* 196-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ProtoMessageLoggingConfig) Descriptor
deprecated
func (*ProtoMessageLoggingConfig) Descriptor() ([]byte, []int)
Deprecated: Use ProtoMessageLoggingConfig.ProtoReflect.Descriptor instead.
func (*ProtoMessageLoggingConfig) GetDataSource ¶
func (x *ProtoMessageLoggingConfig) GetDataSource() *v3.DataSource
func (*ProtoMessageLoggingConfig) GetDescriptorSet ¶
func (m *ProtoMessageLoggingConfig) GetDescriptorSet() isProtoMessageLoggingConfig_DescriptorSet
func (*ProtoMessageLoggingConfig) GetLoggingByMethod ¶
func (x *ProtoMessageLoggingConfig) GetLoggingByMethod() map[string]*MethodLogging
func (*ProtoMessageLoggingConfig) GetMode ¶
func (x *ProtoMessageLoggingConfig) GetMode() ProtoMessageLoggingConfig_LogMode
func (*ProtoMessageLoggingConfig) GetProtoDescriptorTypedMetadata ¶
func (x *ProtoMessageLoggingConfig) GetProtoDescriptorTypedMetadata() string
func (*ProtoMessageLoggingConfig) ProtoMessage ¶
func (*ProtoMessageLoggingConfig) ProtoMessage()
func (*ProtoMessageLoggingConfig) ProtoReflect ¶
func (x *ProtoMessageLoggingConfig) ProtoReflect() protoreflect.Message
func (*ProtoMessageLoggingConfig) Reset ¶
func (x *ProtoMessageLoggingConfig) Reset()
func (*ProtoMessageLoggingConfig) String ¶
func (x *ProtoMessageLoggingConfig) String() string
type ProtoMessageLoggingConfig_DataSource ¶
type ProtoMessageLoggingConfig_DataSource struct { // It could be passed by a local file through “Datasource.filename“ or // embedded in the “Datasource.inline_bytes“. DataSource *v3.DataSource `protobuf:"bytes,1,opt,name=data_source,json=dataSource,proto3,oneof"` }
type ProtoMessageLoggingConfig_LogMode ¶
type ProtoMessageLoggingConfig_LogMode int32
const ( ProtoMessageLoggingConfig_LogMode_UNSPECIFIED ProtoMessageLoggingConfig_LogMode = 0 // The filter will log the first and the last message for // for streaming cases, containing // client-side streaming, server-side streaming or bi-directional streaming. ProtoMessageLoggingConfig_FIRST_AND_LAST ProtoMessageLoggingConfig_LogMode = 1 )
func (ProtoMessageLoggingConfig_LogMode) Descriptor ¶
func (ProtoMessageLoggingConfig_LogMode) Descriptor() protoreflect.EnumDescriptor
func (ProtoMessageLoggingConfig_LogMode) Enum ¶
func (x ProtoMessageLoggingConfig_LogMode) Enum() *ProtoMessageLoggingConfig_LogMode
func (ProtoMessageLoggingConfig_LogMode) EnumDescriptor
deprecated
func (ProtoMessageLoggingConfig_LogMode) EnumDescriptor() ([]byte, []int)
Deprecated: Use ProtoMessageLoggingConfig_LogMode.Descriptor instead.
func (ProtoMessageLoggingConfig_LogMode) Number ¶
func (x ProtoMessageLoggingConfig_LogMode) Number() protoreflect.EnumNumber
func (ProtoMessageLoggingConfig_LogMode) String ¶
func (x ProtoMessageLoggingConfig_LogMode) String() string
func (ProtoMessageLoggingConfig_LogMode) Type ¶
func (ProtoMessageLoggingConfig_LogMode) Type() protoreflect.EnumType
type ProtoMessageLoggingConfig_ProtoDescriptorTypedMetadata ¶
type ProtoMessageLoggingConfig_ProtoDescriptorTypedMetadata struct { // Unimplemented, the key of proto descriptor TypedMetadata. // Among filters depending on the proto descriptor, we can have a TypedMetadata // for proto descriptors, so that these filters can share one copy of proto // descriptor in memory. ProtoDescriptorTypedMetadata string `protobuf:"bytes,2,opt,name=proto_descriptor_typed_metadata,json=protoDescriptorTypedMetadata,proto3,oneof"` }
Click to show internal directories.
Click to hide internal directories.