Documentation ¶
Index ¶
- Variables
- type ZooKeeperProxy
- func (*ZooKeeperProxy) Descriptor() ([]byte, []int)deprecated
- func (x *ZooKeeperProxy) GetAccessLog() string
- func (x *ZooKeeperProxy) GetMaxPacketBytes() *wrappers.UInt32Value
- func (x *ZooKeeperProxy) GetStatPrefix() string
- func (*ZooKeeperProxy) ProtoMessage()
- func (x *ZooKeeperProxy) ProtoReflect() protoreflect.Message
- func (x *ZooKeeperProxy) Reset()
- func (x *ZooKeeperProxy) String() string
- func (m *ZooKeeperProxy) Validate() error
- func (m *ZooKeeperProxy) ValidateAll() error
- type ZooKeeperProxyMultiError
- type ZooKeeperProxyValidationError
- func (e ZooKeeperProxyValidationError) Cause() error
- func (e ZooKeeperProxyValidationError) Error() string
- func (e ZooKeeperProxyValidationError) ErrorName() string
- func (e ZooKeeperProxyValidationError) Field() string
- func (e ZooKeeperProxyValidationError) Key() bool
- func (e ZooKeeperProxyValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var File_envoy_extensions_filters_network_zookeeper_proxy_v3_zookeeper_proxy_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ZooKeeperProxy ¶
type ZooKeeperProxy struct { // The human readable prefix to use when emitting :ref:`statistics // <config_network_filters_zookeeper_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 ZooKeeper 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"` // Messages — requests, responses and events — that are bigger than this value will // be ignored. If it is not set, the default value is 1Mb. // // The value here should match the jute.maxbuffer property in your cluster configuration: // // https://zookeeper.apache.org/doc/r3.4.10/zookeeperAdmin.html#Unsafe+Options // // if that is set. If it isn't, ZooKeeper's default is also 1Mb. MaxPacketBytes *wrappers.UInt32Value `protobuf:"bytes,3,opt,name=max_packet_bytes,json=maxPacketBytes,proto3" json:"max_packet_bytes,omitempty"` // contains filtered or unexported fields }
func (*ZooKeeperProxy) Descriptor
deprecated
func (*ZooKeeperProxy) Descriptor() ([]byte, []int)
Deprecated: Use ZooKeeperProxy.ProtoReflect.Descriptor instead.
func (*ZooKeeperProxy) GetAccessLog ¶
func (x *ZooKeeperProxy) GetAccessLog() string
func (*ZooKeeperProxy) GetMaxPacketBytes ¶
func (x *ZooKeeperProxy) GetMaxPacketBytes() *wrappers.UInt32Value
func (*ZooKeeperProxy) GetStatPrefix ¶
func (x *ZooKeeperProxy) GetStatPrefix() string
func (*ZooKeeperProxy) ProtoMessage ¶
func (*ZooKeeperProxy) ProtoMessage()
func (*ZooKeeperProxy) ProtoReflect ¶ added in v0.9.6
func (x *ZooKeeperProxy) ProtoReflect() protoreflect.Message
func (*ZooKeeperProxy) Reset ¶
func (x *ZooKeeperProxy) Reset()
func (*ZooKeeperProxy) String ¶
func (x *ZooKeeperProxy) String() string
func (*ZooKeeperProxy) Validate ¶
func (m *ZooKeeperProxy) Validate() error
Validate checks the field values on ZooKeeperProxy 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 (*ZooKeeperProxy) ValidateAll ¶ added in v0.10.0
func (m *ZooKeeperProxy) ValidateAll() error
ValidateAll checks the field values on ZooKeeperProxy 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 ZooKeeperProxyMultiError, or nil if none found.
type ZooKeeperProxyMultiError ¶ added in v0.10.0
type ZooKeeperProxyMultiError []error
ZooKeeperProxyMultiError is an error wrapping multiple validation errors returned by ZooKeeperProxy.ValidateAll() if the designated constraints aren't met.
func (ZooKeeperProxyMultiError) AllErrors ¶ added in v0.10.0
func (m ZooKeeperProxyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ZooKeeperProxyMultiError) Error ¶ added in v0.10.0
func (m ZooKeeperProxyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ZooKeeperProxyValidationError ¶
type ZooKeeperProxyValidationError struct {
// contains filtered or unexported fields
}
ZooKeeperProxyValidationError is the validation error returned by ZooKeeperProxy.Validate if the designated constraints aren't met.
func (ZooKeeperProxyValidationError) Cause ¶
func (e ZooKeeperProxyValidationError) Cause() error
Cause function returns cause value.
func (ZooKeeperProxyValidationError) Error ¶
func (e ZooKeeperProxyValidationError) Error() string
Error satisfies the builtin error interface
func (ZooKeeperProxyValidationError) ErrorName ¶
func (e ZooKeeperProxyValidationError) ErrorName() string
ErrorName returns error name.
func (ZooKeeperProxyValidationError) Field ¶
func (e ZooKeeperProxyValidationError) Field() string
Field function returns field value.
func (ZooKeeperProxyValidationError) Key ¶
func (e ZooKeeperProxyValidationError) Key() bool
Key function returns key value.
func (ZooKeeperProxyValidationError) Reason ¶
func (e ZooKeeperProxyValidationError) Reason() string
Reason function returns reason value.