go-control-plane: github.com/envoyproxy/go-control-plane/envoy/extensions/filters/network/postgres_proxy/v3alpha Index | Files

package envoy_extensions_filters_network_postgres_proxy_v3alpha

import "github.com/envoyproxy/go-control-plane/envoy/extensions/filters/network/postgres_proxy/v3alpha"


Package Files

postgres_proxy.pb.go postgres_proxy.pb.validate.go


var File_envoy_extensions_filters_network_postgres_proxy_v3alpha_postgres_proxy_proto protoreflect.FileDescriptor

type PostgresProxy Uses

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 Uses

func (*PostgresProxy) Descriptor() ([]byte, []int)

Deprecated: Use PostgresProxy.ProtoReflect.Descriptor instead.

func (*PostgresProxy) GetEnableSqlParsing Uses

func (x *PostgresProxy) GetEnableSqlParsing() *wrappers.BoolValue

func (*PostgresProxy) GetStatPrefix Uses

func (x *PostgresProxy) GetStatPrefix() string

func (*PostgresProxy) ProtoMessage Uses

func (*PostgresProxy) ProtoMessage()

func (*PostgresProxy) ProtoReflect Uses

func (x *PostgresProxy) ProtoReflect() protoreflect.Message

func (*PostgresProxy) Reset Uses

func (x *PostgresProxy) Reset()

func (*PostgresProxy) String Uses

func (x *PostgresProxy) String() string

func (*PostgresProxy) Validate Uses

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 Uses

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 Uses

func (e PostgresProxyValidationError) Cause() error

Cause function returns cause value.

func (PostgresProxyValidationError) Error Uses

func (e PostgresProxyValidationError) Error() string

Error satisfies the builtin error interface

func (PostgresProxyValidationError) ErrorName Uses

func (e PostgresProxyValidationError) ErrorName() string

ErrorName returns error name.

func (PostgresProxyValidationError) Field Uses

func (e PostgresProxyValidationError) Field() string

Field function returns field value.

func (PostgresProxyValidationError) Key Uses

func (e PostgresProxyValidationError) Key() bool

Key function returns key value.

func (PostgresProxyValidationError) Reason Uses

func (e PostgresProxyValidationError) Reason() string

Reason function returns reason value.

Package envoy_extensions_filters_network_postgres_proxy_v3alpha imports 19 packages (graph) and is imported by 6 packages. Updated 2021-01-07. Refresh now. Tools for package owners.