Documentation ¶
Index ¶
- Variables
- type PostgresProxy
- func (*PostgresProxy) Descriptor() ([]byte, []int)deprecated
- func (x *PostgresProxy) GetEnableSqlParsing() *wrappers.BoolValue
- func (x *PostgresProxy) GetStatPrefix() string
- func (*PostgresProxy) ProtoMessage()
- func (x *PostgresProxy) ProtoReflect() protoreflect.Message
- func (x *PostgresProxy) Reset()
- func (x *PostgresProxy) String() string
- func (m *PostgresProxy) Validate() error
- type PostgresProxyValidationError
- func (e PostgresProxyValidationError) Cause() error
- func (e PostgresProxyValidationError) Error() string
- func (e PostgresProxyValidationError) ErrorName() string
- func (e PostgresProxyValidationError) Field() string
- func (e PostgresProxyValidationError) Key() bool
- func (e PostgresProxyValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_envoy_extensions_filters_network_postgres_proxy_v3alpha_postgres_proxy_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type PostgresProxy ¶
type PostgresProxy struct { // The human readable prefix to use when emitting :ref:`statistics // <config_network_filters_postgres_proxy_stats>`. StatPrefix string `protobuf:"bytes,1,opt,name=stat_prefix,json=statPrefix,proto3" json:"stat_prefix,omitempty"` // Controls whether SQL statements received in Frontend Query messages // are parsed. Parsing is required to produce Postgres proxy filter // metadata. Defaults to true. EnableSqlParsing *wrappers.BoolValue `protobuf:"bytes,2,opt,name=enable_sql_parsing,json=enableSqlParsing,proto3" json:"enable_sql_parsing,omitempty"` // contains filtered or unexported fields }
func (*PostgresProxy) Descriptor
deprecated
func (*PostgresProxy) Descriptor() ([]byte, []int)
Deprecated: Use PostgresProxy.ProtoReflect.Descriptor instead.
func (*PostgresProxy) GetEnableSqlParsing ¶
func (x *PostgresProxy) GetEnableSqlParsing() *wrappers.BoolValue
func (*PostgresProxy) GetStatPrefix ¶
func (x *PostgresProxy) GetStatPrefix() string
func (*PostgresProxy) ProtoMessage ¶
func (*PostgresProxy) ProtoMessage()
func (*PostgresProxy) ProtoReflect ¶
func (x *PostgresProxy) ProtoReflect() protoreflect.Message
func (*PostgresProxy) Reset ¶
func (x *PostgresProxy) Reset()
func (*PostgresProxy) String ¶
func (x *PostgresProxy) String() string
func (*PostgresProxy) Validate ¶
func (m *PostgresProxy) Validate() error
Validate checks the field values on PostgresProxy with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type PostgresProxyValidationError ¶
type PostgresProxyValidationError struct {
// contains filtered or unexported fields
}
PostgresProxyValidationError is the validation error returned by PostgresProxy.Validate if the designated constraints aren't met.
func (PostgresProxyValidationError) Cause ¶
func (e PostgresProxyValidationError) Cause() error
Cause function returns cause value.
func (PostgresProxyValidationError) Error ¶
func (e PostgresProxyValidationError) Error() string
Error satisfies the builtin error interface
func (PostgresProxyValidationError) ErrorName ¶
func (e PostgresProxyValidationError) ErrorName() string
ErrorName returns error name.
func (PostgresProxyValidationError) Field ¶
func (e PostgresProxyValidationError) Field() string
Field function returns field value.
func (PostgresProxyValidationError) Key ¶
func (e PostgresProxyValidationError) Key() bool
Key function returns key value.
func (PostgresProxyValidationError) Reason ¶
func (e PostgresProxyValidationError) Reason() string
Reason function returns reason value.
Click to show internal directories.
Click to hide internal directories.