package v3alpha

import "github.com/envoyproxy/go-control-plane/contrib/envoy/extensions/tap_sinks/udp_sink/v3alpha"

Index

Variables

var File_contrib_envoy_extensions_tap_sinks_udp_sink_v3alpha_udp_sink_proto protoreflect.FileDescriptor

Types

type UdpSink

type UdpSink struct {

	// Configure UDP Address.
	UdpAddress *v3.SocketAddress `protobuf:"bytes,1,opt,name=udp_address,json=udpAddress,proto3" json:"udp_address,omitempty"`
	// contains filtered or unexported fields
}

Udp sink configuration.

func (*UdpSink) Descriptor

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

Deprecated: Use UdpSink.ProtoReflect.Descriptor instead.

func (*UdpSink) GetUdpAddress

func (x *UdpSink) GetUdpAddress() *v3.SocketAddress

func (*UdpSink) ProtoMessage

func (*UdpSink) ProtoMessage()

func (*UdpSink) ProtoReflect

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

func (*UdpSink) Reset

func (x *UdpSink) Reset()

func (*UdpSink) String

func (x *UdpSink) String() string

func (*UdpSink) Validate

func (m *UdpSink) Validate() error

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

func (m *UdpSink) ValidateAll() error

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

type UdpSinkMultiError

type UdpSinkMultiError []error

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

func (UdpSinkMultiError) AllErrors

func (m UdpSinkMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UdpSinkMultiError) Error

func (m UdpSinkMultiError) Error() string

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

type UdpSinkValidationError

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

UdpSinkValidationError is the validation error returned by UdpSink.Validate if the designated constraints aren't met.

func (UdpSinkValidationError) Cause

func (e UdpSinkValidationError) Cause() error

Cause function returns cause value.

func (UdpSinkValidationError) Error

func (e UdpSinkValidationError) Error() string

Error satisfies the builtin error interface

func (UdpSinkValidationError) ErrorName

func (e UdpSinkValidationError) ErrorName() string

ErrorName returns error name.

func (UdpSinkValidationError) Field

func (e UdpSinkValidationError) Field() string

Field function returns field value.

func (UdpSinkValidationError) Key

func (e UdpSinkValidationError) Key() bool

Key function returns key value.

func (UdpSinkValidationError) Reason

func (e UdpSinkValidationError) Reason() string

Reason function returns reason value.

Source Files

udp_sink.pb.go udp_sink.pb.validate.go

Version
v1.32.4 (latest)
Published
Feb 3, 2025
Platform
linux/amd64
Imports
18 packages
Last checked
3 days ago

Tools for package owners.