v1alpha1

package
v0.6.9 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2019 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

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) MarshalTo

func (m *MySQLProxy) MarshalTo(dAtA []byte) (int, 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 {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

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

func (MySQLProxyValidationError) Error

Error satisfies the builtin error interface

Jump to

Keyboard shortcuts

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