Documentation ¶
Index ¶
- Variables
- type ZooKeeperProxy
- func (*ZooKeeperProxy) Descriptor() ([]byte, []int)
- func (m *ZooKeeperProxy) GetAccessLog() string
- func (m *ZooKeeperProxy) GetMaxPacketBytes() *types.UInt32Value
- func (m *ZooKeeperProxy) GetStatPrefix() string
- func (m *ZooKeeperProxy) Marshal() (dAtA []byte, err error)
- func (m *ZooKeeperProxy) MarshalTo(dAtA []byte) (int, error)
- func (*ZooKeeperProxy) ProtoMessage()
- func (m *ZooKeeperProxy) Reset()
- func (m *ZooKeeperProxy) Size() (n int)
- func (m *ZooKeeperProxy) String() string
- func (m *ZooKeeperProxy) Unmarshal(dAtA []byte) error
- func (m *ZooKeeperProxy) Validate() error
- func (m *ZooKeeperProxy) XXX_DiscardUnknown()
- func (m *ZooKeeperProxy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ZooKeeperProxy) XXX_Merge(src proto.Message)
- func (m *ZooKeeperProxy) XXX_Size() int
- func (m *ZooKeeperProxy) XXX_Unmarshal(b []byte) error
- 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 ¶
View Source
var ( ErrInvalidLengthZookeeperProxy = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowZookeeperProxy = fmt.Errorf("proto: integer overflow") )
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 *types.UInt32Value `protobuf:"bytes,3,opt,name=max_packet_bytes,json=maxPacketBytes,proto3" json:"max_packet_bytes,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
[#protodoc-title: ZooKeeper proxy] ZooKeeper Proxy :ref:`configuration overview <config_network_filters_zookeeper_proxy>`.
func (*ZooKeeperProxy) Descriptor ¶
func (*ZooKeeperProxy) Descriptor() ([]byte, []int)
func (*ZooKeeperProxy) GetAccessLog ¶
func (m *ZooKeeperProxy) GetAccessLog() string
func (*ZooKeeperProxy) GetMaxPacketBytes ¶
func (m *ZooKeeperProxy) GetMaxPacketBytes() *types.UInt32Value
func (*ZooKeeperProxy) GetStatPrefix ¶
func (m *ZooKeeperProxy) GetStatPrefix() string
func (*ZooKeeperProxy) Marshal ¶
func (m *ZooKeeperProxy) Marshal() (dAtA []byte, err error)
func (*ZooKeeperProxy) ProtoMessage ¶
func (*ZooKeeperProxy) ProtoMessage()
func (*ZooKeeperProxy) Reset ¶
func (m *ZooKeeperProxy) Reset()
func (*ZooKeeperProxy) Size ¶
func (m *ZooKeeperProxy) Size() (n int)
func (*ZooKeeperProxy) String ¶
func (m *ZooKeeperProxy) String() string
func (*ZooKeeperProxy) Unmarshal ¶
func (m *ZooKeeperProxy) Unmarshal(dAtA []byte) error
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, an error is returned.
func (*ZooKeeperProxy) XXX_DiscardUnknown ¶
func (m *ZooKeeperProxy) XXX_DiscardUnknown()
func (*ZooKeeperProxy) XXX_Marshal ¶
func (m *ZooKeeperProxy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ZooKeeperProxy) XXX_Merge ¶
func (m *ZooKeeperProxy) XXX_Merge(src proto.Message)
func (*ZooKeeperProxy) XXX_Size ¶
func (m *ZooKeeperProxy) XXX_Size() int
func (*ZooKeeperProxy) XXX_Unmarshal ¶
func (m *ZooKeeperProxy) XXX_Unmarshal(b []byte) error
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.
Click to show internal directories.
Click to hide internal directories.