envoy_extensions_filters_network_mysql_proxy_v3

package
v0.10.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 15, 2021 License: Apache-2.0 Imports: 19 Imported by: 9

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_contrib_envoy_extensions_filters_network_mysql_proxy_v3_mysql_proxy_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type MySQLProxy

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 deprecated

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

Deprecated: Use MySQLProxy.ProtoReflect.Descriptor instead.

func (*MySQLProxy) GetAccessLog

func (x *MySQLProxy) GetAccessLog() string

func (*MySQLProxy) GetStatPrefix

func (x *MySQLProxy) GetStatPrefix() string

func (*MySQLProxy) ProtoMessage

func (*MySQLProxy) ProtoMessage()

func (*MySQLProxy) ProtoReflect

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

func (*MySQLProxy) Reset

func (x *MySQLProxy) Reset()

func (*MySQLProxy) String

func (x *MySQLProxy) String() string

func (*MySQLProxy) Validate

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, the first error encountered is returned, or nil if there are no violations.

func (*MySQLProxy) ValidateAll

func (m *MySQLProxy) ValidateAll() error

ValidateAll checks the field values on MySQLProxy with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in MySQLProxyMultiError, or nil if none found.

type MySQLProxyMultiError

type MySQLProxyMultiError []error

MySQLProxyMultiError is an error wrapping multiple validation errors returned by MySQLProxy.ValidateAll() if the designated constraints aren't met.

func (MySQLProxyMultiError) AllErrors

func (m MySQLProxyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (MySQLProxyMultiError) Error

func (m MySQLProxyMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type MySQLProxyValidationError

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

func (e MySQLProxyValidationError) Cause() error

Cause function returns cause value.

func (MySQLProxyValidationError) Error

Error satisfies the builtin error interface

func (MySQLProxyValidationError) ErrorName

func (e MySQLProxyValidationError) ErrorName() string

ErrorName returns error name.

func (MySQLProxyValidationError) Field

Field function returns field value.

func (MySQLProxyValidationError) Key

Key function returns key value.

func (MySQLProxyValidationError) Reason

func (e MySQLProxyValidationError) Reason() string

Reason function returns reason value.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL