v1alpha1

package
v0.7.1 Latest Latest
Warning

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

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

Documentation

Index

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

func (m *ZooKeeperProxy) MarshalTo(dAtA []byte) (int, 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

Cause function returns cause value.

func (ZooKeeperProxyValidationError) Error

Error satisfies the builtin error interface

func (ZooKeeperProxyValidationError) ErrorName

func (e ZooKeeperProxyValidationError) ErrorName() string

ErrorName returns error name.

func (ZooKeeperProxyValidationError) Field

Field function returns field value.

func (ZooKeeperProxyValidationError) Key

Key function returns key value.

func (ZooKeeperProxyValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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