go-control-plane: github.com/envoyproxy/go-control-plane/envoy/config/filter/network/mysql_proxy/v1alpha1 Index | Files

package envoy_config_filter_network_mysql_proxy_v1alpha1

import "github.com/envoyproxy/go-control-plane/envoy/config/filter/network/mysql_proxy/v1alpha1"


Package Files

mysql_proxy.pb.go mysql_proxy.pb.validate.go


var File_envoy_config_filter_network_mysql_proxy_v1alpha1_mysql_proxy_proto protoreflect.FileDescriptor

type MySQLProxy Uses

type MySQLProxy struct {

    // The human readable prefix to use when emitting :ref:`statistics
    // <config_network_filters_mysql_proxy_stats>`.
    StatPrefix string `protobuf:"bytes,1,opt,name=stat_prefix,json=statPrefix,proto3" json:"stat_prefix,omitempty"`
    // [#not-implemented-hide:] The optional path to use for writing MySQL access logs.
    // If the access log field is empty, access logs will not be written.
    AccessLog string `protobuf:"bytes,2,opt,name=access_log,json=accessLog,proto3" json:"access_log,omitempty"`
    // contains filtered or unexported fields

func (*MySQLProxy) Descriptor Uses

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

Deprecated: Use MySQLProxy.ProtoReflect.Descriptor instead.

func (*MySQLProxy) GetAccessLog Uses

func (x *MySQLProxy) GetAccessLog() string

func (*MySQLProxy) GetStatPrefix Uses

func (x *MySQLProxy) GetStatPrefix() string

func (*MySQLProxy) ProtoMessage Uses

func (*MySQLProxy) ProtoMessage()

func (*MySQLProxy) ProtoReflect Uses

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

func (*MySQLProxy) Reset Uses

func (x *MySQLProxy) Reset()

func (*MySQLProxy) String Uses

func (x *MySQLProxy) String() string

func (*MySQLProxy) Validate Uses

func (m *MySQLProxy) Validate() error

Validate checks the field values on MySQLProxy with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type MySQLProxyValidationError Uses

type MySQLProxyValidationError struct {
    // contains filtered or unexported fields

MySQLProxyValidationError is the validation error returned by MySQLProxy.Validate if the designated constraints aren't met.

func (MySQLProxyValidationError) Cause Uses

func (e MySQLProxyValidationError) Cause() error

Cause function returns cause value.

func (MySQLProxyValidationError) Error Uses

func (e MySQLProxyValidationError) Error() string

Error satisfies the builtin error interface

func (MySQLProxyValidationError) ErrorName Uses

func (e MySQLProxyValidationError) ErrorName() string

ErrorName returns error name.

func (MySQLProxyValidationError) Field Uses

func (e MySQLProxyValidationError) Field() string

Field function returns field value.

func (MySQLProxyValidationError) Key Uses

func (e MySQLProxyValidationError) Key() bool

Key function returns key value.

func (MySQLProxyValidationError) Reason Uses

func (e MySQLProxyValidationError) Reason() string

Reason function returns reason value.

Package envoy_config_filter_network_mysql_proxy_v1alpha1 imports 18 packages (graph) and is imported by 3 packages. Updated 2021-01-19. Refresh now. Tools for package owners.