Documentation ¶
Index ¶
- Variables
- type MySQLProxy
- func (*MySQLProxy) Descriptor() ([]byte, []int)
- func (m *MySQLProxy) GetAccessLog() string
- func (m *MySQLProxy) GetStatPrefix() string
- func (m *MySQLProxy) Marshal() (dAtA []byte, err error)
- func (m *MySQLProxy) MarshalTo(dAtA []byte) (int, error)
- func (*MySQLProxy) ProtoMessage()
- func (m *MySQLProxy) Reset()
- func (m *MySQLProxy) Size() (n int)
- func (m *MySQLProxy) String() string
- func (m *MySQLProxy) Unmarshal(dAtA []byte) error
- func (m *MySQLProxy) Validate() error
- func (m *MySQLProxy) XXX_DiscardUnknown()
- func (m *MySQLProxy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MySQLProxy) XXX_Merge(src proto.Message)
- func (m *MySQLProxy) XXX_Size() int
- func (m *MySQLProxy) XXX_Unmarshal(b []byte) error
- type MySQLProxyValidationError
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthMysqlProxy = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowMysqlProxy = fmt.Errorf("proto: integer overflow") )
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
[#protodoc-title: MySQL proxy] MySQL Proxy :ref:`configuration overview <config_network_filters_mysql_proxy>`.
func (*MySQLProxy) Descriptor ¶
func (*MySQLProxy) Descriptor() ([]byte, []int)
func (*MySQLProxy) GetAccessLog ¶
func (m *MySQLProxy) GetAccessLog() string
func (*MySQLProxy) GetStatPrefix ¶
func (m *MySQLProxy) GetStatPrefix() string
func (*MySQLProxy) Marshal ¶
func (m *MySQLProxy) Marshal() (dAtA []byte, err error)
func (*MySQLProxy) ProtoMessage ¶
func (*MySQLProxy) ProtoMessage()
func (*MySQLProxy) Reset ¶
func (m *MySQLProxy) Reset()
func (*MySQLProxy) Size ¶
func (m *MySQLProxy) Size() (n int)
func (*MySQLProxy) String ¶
func (m *MySQLProxy) String() string
func (*MySQLProxy) Unmarshal ¶
func (m *MySQLProxy) Unmarshal(dAtA []byte) error
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, an error is returned.
func (*MySQLProxy) XXX_DiscardUnknown ¶
func (m *MySQLProxy) XXX_DiscardUnknown()
func (*MySQLProxy) XXX_Marshal ¶
func (m *MySQLProxy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MySQLProxy) XXX_Merge ¶
func (m *MySQLProxy) XXX_Merge(src proto.Message)
func (*MySQLProxy) XXX_Size ¶
func (m *MySQLProxy) XXX_Size() int
func (*MySQLProxy) XXX_Unmarshal ¶
func (m *MySQLProxy) XXX_Unmarshal(b []byte) error
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.
Click to show internal directories.
Click to hide internal directories.