Documentation ¶
Index ¶
- Variables
- type MySQLProxy
- func (*MySQLProxy) Descriptor() ([]byte, []int)deprecated
- func (x *MySQLProxy) GetAccessLog() string
- func (x *MySQLProxy) GetStatPrefix() string
- func (*MySQLProxy) ProtoMessage()
- func (x *MySQLProxy) ProtoReflect() protoreflect.Message
- func (x *MySQLProxy) Reset()
- func (x *MySQLProxy) String() string
- func (m *MySQLProxy) Validate() error
- func (m *MySQLProxy) ValidateAll() error
- type MySQLProxyMultiError
- type MySQLProxyValidationError
Constants ¶
This section is empty.
Variables ¶
var File_envoy_config_filter_network_mysql_proxy_v1alpha1_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 ¶ added in v0.9.6
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 ¶ added in v0.10.0
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 ¶ added in v0.10.0
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 ¶ added in v0.10.0
func (m MySQLProxyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (MySQLProxyMultiError) Error ¶ added in v0.10.0
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 ¶
func (e MySQLProxyValidationError) Error() string
Error satisfies the builtin error interface
func (MySQLProxyValidationError) ErrorName ¶ added in v0.7.0
func (e MySQLProxyValidationError) ErrorName() string
ErrorName returns error name.
func (MySQLProxyValidationError) Field ¶
func (e MySQLProxyValidationError) Field() string
Field function returns field value.
func (MySQLProxyValidationError) Key ¶
func (e MySQLProxyValidationError) Key() bool
Key function returns key value.
func (MySQLProxyValidationError) Reason ¶
func (e MySQLProxyValidationError) Reason() string
Reason function returns reason value.