Documentation ¶
Index ¶
- Variables
- type KafkaBroker
- func (*KafkaBroker) Descriptor() ([]byte, []int)deprecated
- func (x *KafkaBroker) GetStatPrefix() string
- func (*KafkaBroker) ProtoMessage()
- func (x *KafkaBroker) ProtoReflect() protoreflect.Message
- func (x *KafkaBroker) Reset()
- func (x *KafkaBroker) String() string
- func (m *KafkaBroker) Validate() error
- func (m *KafkaBroker) ValidateAll() error
- type KafkaBrokerMultiError
- type KafkaBrokerValidationError
- func (e KafkaBrokerValidationError) Cause() error
- func (e KafkaBrokerValidationError) Error() string
- func (e KafkaBrokerValidationError) ErrorName() string
- func (e KafkaBrokerValidationError) Field() string
- func (e KafkaBrokerValidationError) Key() bool
- func (e KafkaBrokerValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var File_envoy_config_filter_network_kafka_broker_v2alpha1_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 ¶
func (e KafkaBrokerValidationError) Cause() error
Cause function returns cause value.
func (KafkaBrokerValidationError) Error ¶
func (e KafkaBrokerValidationError) Error() string
Error satisfies the builtin error interface
func (KafkaBrokerValidationError) ErrorName ¶
func (e KafkaBrokerValidationError) ErrorName() string
ErrorName returns error name.
func (KafkaBrokerValidationError) Field ¶
func (e KafkaBrokerValidationError) Field() string
Field function returns field value.
func (KafkaBrokerValidationError) Key ¶
func (e KafkaBrokerValidationError) Key() bool
Key function returns key value.
func (KafkaBrokerValidationError) Reason ¶
func (e KafkaBrokerValidationError) Reason() string
Reason function returns reason value.