Documentation ¶
Index ¶
- Variables
- type MongoProxy
- func (*MongoProxy) Descriptor() ([]byte, []int)deprecated
- func (x *MongoProxy) GetAccessLog() string
- func (x *MongoProxy) GetDelay() *v3.FaultDelay
- func (x *MongoProxy) GetEmitDynamicMetadata() bool
- func (x *MongoProxy) GetStatPrefix() string
- func (*MongoProxy) ProtoMessage()
- func (x *MongoProxy) ProtoReflect() protoreflect.Message
- func (x *MongoProxy) Reset()
- func (x *MongoProxy) String() string
- func (m *MongoProxy) Validate() error
- type MongoProxyValidationError
Constants ¶
This section is empty.
Variables ¶
View Source
var File_envoy_extensions_filters_network_mongo_proxy_v3_mongo_proxy_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type MongoProxy ¶
type MongoProxy struct { StatPrefix string `protobuf:"bytes,1,opt,name=stat_prefix,json=statPrefix,proto3" json:"stat_prefix,omitempty"` AccessLog string `protobuf:"bytes,2,opt,name=access_log,json=accessLog,proto3" json:"access_log,omitempty"` Delay *v3.FaultDelay `protobuf:"bytes,3,opt,name=delay,proto3" json:"delay,omitempty"` EmitDynamicMetadata bool `protobuf:"varint,4,opt,name=emit_dynamic_metadata,json=emitDynamicMetadata,proto3" json:"emit_dynamic_metadata,omitempty"` // contains filtered or unexported fields }
func (*MongoProxy) Descriptor
deprecated
func (*MongoProxy) Descriptor() ([]byte, []int)
Deprecated: Use MongoProxy.ProtoReflect.Descriptor instead.
func (*MongoProxy) GetAccessLog ¶
func (x *MongoProxy) GetAccessLog() string
func (*MongoProxy) GetDelay ¶
func (x *MongoProxy) GetDelay() *v3.FaultDelay
func (*MongoProxy) GetEmitDynamicMetadata ¶
func (x *MongoProxy) GetEmitDynamicMetadata() bool
func (*MongoProxy) GetStatPrefix ¶
func (x *MongoProxy) GetStatPrefix() string
func (*MongoProxy) ProtoMessage ¶
func (*MongoProxy) ProtoMessage()
func (*MongoProxy) ProtoReflect ¶ added in v1.7.0
func (x *MongoProxy) ProtoReflect() protoreflect.Message
func (*MongoProxy) Reset ¶
func (x *MongoProxy) Reset()
func (*MongoProxy) String ¶
func (x *MongoProxy) String() string
func (*MongoProxy) Validate ¶
func (m *MongoProxy) Validate() error
Validate checks the field values on MongoProxy with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type MongoProxyValidationError ¶
type MongoProxyValidationError struct {
// contains filtered or unexported fields
}
MongoProxyValidationError is the validation error returned by MongoProxy.Validate if the designated constraints aren't met.
func (MongoProxyValidationError) Cause ¶
func (e MongoProxyValidationError) Cause() error
Cause function returns cause value.
func (MongoProxyValidationError) Error ¶
func (e MongoProxyValidationError) Error() string
Error satisfies the builtin error interface
func (MongoProxyValidationError) ErrorName ¶
func (e MongoProxyValidationError) ErrorName() string
ErrorName returns error name.
func (MongoProxyValidationError) Field ¶
func (e MongoProxyValidationError) Field() string
Field function returns field value.
func (MongoProxyValidationError) Key ¶
func (e MongoProxyValidationError) Key() bool
Key function returns key value.
func (MongoProxyValidationError) Reason ¶
func (e MongoProxyValidationError) Reason() string
Reason function returns reason value.
Click to show internal directories.
Click to hide internal directories.