v2alpha

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2024 License: Apache-2.0 Imports: 19 Imported by: 12

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_envoy_config_filter_udp_udp_proxy_v2alpha_udp_proxy_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type UdpProxyConfig

type UdpProxyConfig struct {

	// The stat prefix used when emitting UDP proxy filter stats.
	StatPrefix string `protobuf:"bytes,1,opt,name=stat_prefix,json=statPrefix,proto3" json:"stat_prefix,omitempty"`
	// Types that are assignable to RouteSpecifier:
	//
	//	*UdpProxyConfig_Cluster
	RouteSpecifier isUdpProxyConfig_RouteSpecifier `protobuf_oneof:"route_specifier"`
	// The idle timeout for sessions. Idle is defined as no datagrams between received or sent by
	// the session. The default if not specified is 1 minute.
	IdleTimeout *duration.Duration `protobuf:"bytes,3,opt,name=idle_timeout,json=idleTimeout,proto3" json:"idle_timeout,omitempty"`
	// contains filtered or unexported fields
}

Configuration for the UDP proxy filter.

func (*UdpProxyConfig) Descriptor deprecated

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

Deprecated: Use UdpProxyConfig.ProtoReflect.Descriptor instead.

func (*UdpProxyConfig) GetCluster

func (x *UdpProxyConfig) GetCluster() string

func (*UdpProxyConfig) GetIdleTimeout

func (x *UdpProxyConfig) GetIdleTimeout() *duration.Duration

func (*UdpProxyConfig) GetRouteSpecifier

func (m *UdpProxyConfig) GetRouteSpecifier() isUdpProxyConfig_RouteSpecifier

func (*UdpProxyConfig) GetStatPrefix

func (x *UdpProxyConfig) GetStatPrefix() string

func (*UdpProxyConfig) ProtoMessage

func (*UdpProxyConfig) ProtoMessage()

func (*UdpProxyConfig) ProtoReflect added in v0.9.6

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

func (*UdpProxyConfig) Reset

func (x *UdpProxyConfig) Reset()

func (*UdpProxyConfig) String

func (x *UdpProxyConfig) String() string

func (*UdpProxyConfig) Validate

func (m *UdpProxyConfig) Validate() error

Validate checks the field values on UdpProxyConfig 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 (*UdpProxyConfig) ValidateAll added in v0.10.0

func (m *UdpProxyConfig) ValidateAll() error

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

type UdpProxyConfigMultiError added in v0.10.0

type UdpProxyConfigMultiError []error

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

func (UdpProxyConfigMultiError) AllErrors added in v0.10.0

func (m UdpProxyConfigMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UdpProxyConfigMultiError) Error added in v0.10.0

func (m UdpProxyConfigMultiError) Error() string

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

type UdpProxyConfigValidationError

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

UdpProxyConfigValidationError is the validation error returned by UdpProxyConfig.Validate if the designated constraints aren't met.

func (UdpProxyConfigValidationError) Cause

Cause function returns cause value.

func (UdpProxyConfigValidationError) Error

Error satisfies the builtin error interface

func (UdpProxyConfigValidationError) ErrorName

func (e UdpProxyConfigValidationError) ErrorName() string

ErrorName returns error name.

func (UdpProxyConfigValidationError) Field

Field function returns field value.

func (UdpProxyConfigValidationError) Key

Key function returns key value.

func (UdpProxyConfigValidationError) Reason

Reason function returns reason value.

type UdpProxyConfig_Cluster

type UdpProxyConfig_Cluster struct {
	// The upstream cluster to connect to.
	Cluster string `protobuf:"bytes,2,opt,name=cluster,proto3,oneof"`
}

Jump to

Keyboard shortcuts

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