kafka_brokerv3

package
v0.0.0-...-c499cad Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2022 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_contrib_envoy_extensions_filters_network_kafka_broker_v3_kafka_broker_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type KafkaBroker

type KafkaBroker struct {

	// The prefix to use when emitting :ref:`statistics <config_network_filters_kafka_broker_stats>`.
	StatPrefix string `protobuf:"bytes,1,opt,name=stat_prefix,json=statPrefix,proto3" json:"stat_prefix,omitempty"`
	// contains filtered or unexported fields
}

func (*KafkaBroker) Descriptor deprecated

func (*KafkaBroker) Descriptor() ([]byte, []int)

Deprecated: Use KafkaBroker.ProtoReflect.Descriptor instead.

func (*KafkaBroker) GetStatPrefix

func (x *KafkaBroker) GetStatPrefix() string

func (*KafkaBroker) ProtoMessage

func (*KafkaBroker) ProtoMessage()

func (*KafkaBroker) ProtoReflect

func (x *KafkaBroker) ProtoReflect() protoreflect.Message

func (*KafkaBroker) Reset

func (x *KafkaBroker) Reset()

func (*KafkaBroker) String

func (x *KafkaBroker) String() string

func (*KafkaBroker) Validate

func (m *KafkaBroker) Validate() error

Validate checks the field values on KafkaBroker 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 (*KafkaBroker) ValidateAll

func (m *KafkaBroker) ValidateAll() error

ValidateAll checks the field values on KafkaBroker 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 KafkaBrokerMultiError, or nil if none found.

type KafkaBrokerMultiError

type KafkaBrokerMultiError []error

KafkaBrokerMultiError is an error wrapping multiple validation errors returned by KafkaBroker.ValidateAll() if the designated constraints aren't met.

func (KafkaBrokerMultiError) AllErrors

func (m KafkaBrokerMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (KafkaBrokerMultiError) Error

func (m KafkaBrokerMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type KafkaBrokerValidationError

type KafkaBrokerValidationError struct {
	// contains filtered or unexported fields
}

KafkaBrokerValidationError is the validation error returned by KafkaBroker.Validate if the designated constraints aren't met.

func (KafkaBrokerValidationError) Cause

Cause function returns cause value.

func (KafkaBrokerValidationError) Error

Error satisfies the builtin error interface

func (KafkaBrokerValidationError) ErrorName

func (e KafkaBrokerValidationError) ErrorName() string

ErrorName returns error name.

func (KafkaBrokerValidationError) Field

Field function returns field value.

func (KafkaBrokerValidationError) Key

Key function returns key value.

func (KafkaBrokerValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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