Documentation ¶
Index ¶
- Variables
- type Route
- type RouteMultiError
- type RouteValidationError
- type UdpProxyConfig
- func (*UdpProxyConfig) Descriptor() ([]byte, []int)deprecated
- func (x *UdpProxyConfig) GetAccessLog() []*v31.AccessLog
- func (x *UdpProxyConfig) GetAccessLogOptions() *UdpProxyConfig_UdpAccessLogOptions
- func (x *UdpProxyConfig) GetCluster() stringdeprecated
- func (x *UdpProxyConfig) GetHashPolicies() []*UdpProxyConfig_HashPolicy
- func (x *UdpProxyConfig) GetIdleTimeout() *duration.Duration
- func (x *UdpProxyConfig) GetMatcher() *v32.Matcher
- func (x *UdpProxyConfig) GetProxyAccessLog() []*v31.AccessLog
- func (m *UdpProxyConfig) GetRouteSpecifier() isUdpProxyConfig_RouteSpecifier
- func (x *UdpProxyConfig) GetSessionFilters() []*UdpProxyConfig_SessionFilter
- func (x *UdpProxyConfig) GetStatPrefix() string
- func (x *UdpProxyConfig) GetTunnelingConfig() *UdpProxyConfig_UdpTunnelingConfig
- func (x *UdpProxyConfig) GetUpstreamSocketConfig() *v3.UdpSocketConfig
- func (x *UdpProxyConfig) GetUseOriginalSrcIp() bool
- func (x *UdpProxyConfig) GetUsePerPacketLoadBalancing() bool
- func (*UdpProxyConfig) ProtoMessage()
- func (x *UdpProxyConfig) ProtoReflect() protoreflect.Message
- func (x *UdpProxyConfig) Reset()
- func (x *UdpProxyConfig) String() string
- func (m *UdpProxyConfig) Validate() error
- func (m *UdpProxyConfig) ValidateAll() error
- type UdpProxyConfigMultiError
- type UdpProxyConfigValidationError
- func (e UdpProxyConfigValidationError) Cause() error
- func (e UdpProxyConfigValidationError) Error() string
- func (e UdpProxyConfigValidationError) ErrorName() string
- func (e UdpProxyConfigValidationError) Field() string
- func (e UdpProxyConfigValidationError) Key() bool
- func (e UdpProxyConfigValidationError) Reason() string
- type UdpProxyConfig_Cluster
- type UdpProxyConfig_HashPolicy
- func (*UdpProxyConfig_HashPolicy) Descriptor() ([]byte, []int)deprecated
- func (x *UdpProxyConfig_HashPolicy) GetKey() string
- func (m *UdpProxyConfig_HashPolicy) GetPolicySpecifier() isUdpProxyConfig_HashPolicy_PolicySpecifier
- func (x *UdpProxyConfig_HashPolicy) GetSourceIp() bool
- func (*UdpProxyConfig_HashPolicy) ProtoMessage()
- func (x *UdpProxyConfig_HashPolicy) ProtoReflect() protoreflect.Message
- func (x *UdpProxyConfig_HashPolicy) Reset()
- func (x *UdpProxyConfig_HashPolicy) String() string
- func (m *UdpProxyConfig_HashPolicy) Validate() error
- func (m *UdpProxyConfig_HashPolicy) ValidateAll() error
- type UdpProxyConfig_HashPolicyMultiError
- type UdpProxyConfig_HashPolicyValidationError
- func (e UdpProxyConfig_HashPolicyValidationError) Cause() error
- func (e UdpProxyConfig_HashPolicyValidationError) Error() string
- func (e UdpProxyConfig_HashPolicyValidationError) ErrorName() string
- func (e UdpProxyConfig_HashPolicyValidationError) Field() string
- func (e UdpProxyConfig_HashPolicyValidationError) Key() bool
- func (e UdpProxyConfig_HashPolicyValidationError) Reason() string
- type UdpProxyConfig_HashPolicy_Key
- type UdpProxyConfig_HashPolicy_SourceIp
- type UdpProxyConfig_Matcher
- type UdpProxyConfig_SessionFilter
- func (*UdpProxyConfig_SessionFilter) Descriptor() ([]byte, []int)deprecated
- func (m *UdpProxyConfig_SessionFilter) GetConfigType() isUdpProxyConfig_SessionFilter_ConfigType
- func (x *UdpProxyConfig_SessionFilter) GetName() string
- func (x *UdpProxyConfig_SessionFilter) GetTypedConfig() *any1.Any
- func (*UdpProxyConfig_SessionFilter) ProtoMessage()
- func (x *UdpProxyConfig_SessionFilter) ProtoReflect() protoreflect.Message
- func (x *UdpProxyConfig_SessionFilter) Reset()
- func (x *UdpProxyConfig_SessionFilter) String() string
- func (m *UdpProxyConfig_SessionFilter) Validate() error
- func (m *UdpProxyConfig_SessionFilter) ValidateAll() error
- type UdpProxyConfig_SessionFilterMultiError
- type UdpProxyConfig_SessionFilterValidationError
- func (e UdpProxyConfig_SessionFilterValidationError) Cause() error
- func (e UdpProxyConfig_SessionFilterValidationError) Error() string
- func (e UdpProxyConfig_SessionFilterValidationError) ErrorName() string
- func (e UdpProxyConfig_SessionFilterValidationError) Field() string
- func (e UdpProxyConfig_SessionFilterValidationError) Key() bool
- func (e UdpProxyConfig_SessionFilterValidationError) Reason() string
- type UdpProxyConfig_SessionFilter_TypedConfig
- type UdpProxyConfig_UdpAccessLogOptions
- func (*UdpProxyConfig_UdpAccessLogOptions) Descriptor() ([]byte, []int)deprecated
- func (x *UdpProxyConfig_UdpAccessLogOptions) GetAccessLogFlushInterval() *duration.Duration
- func (x *UdpProxyConfig_UdpAccessLogOptions) GetFlushAccessLogOnTunnelConnected() bool
- func (*UdpProxyConfig_UdpAccessLogOptions) ProtoMessage()
- func (x *UdpProxyConfig_UdpAccessLogOptions) ProtoReflect() protoreflect.Message
- func (x *UdpProxyConfig_UdpAccessLogOptions) Reset()
- func (x *UdpProxyConfig_UdpAccessLogOptions) String() string
- func (m *UdpProxyConfig_UdpAccessLogOptions) Validate() error
- func (m *UdpProxyConfig_UdpAccessLogOptions) ValidateAll() error
- type UdpProxyConfig_UdpAccessLogOptionsMultiError
- type UdpProxyConfig_UdpAccessLogOptionsValidationError
- func (e UdpProxyConfig_UdpAccessLogOptionsValidationError) Cause() error
- func (e UdpProxyConfig_UdpAccessLogOptionsValidationError) Error() string
- func (e UdpProxyConfig_UdpAccessLogOptionsValidationError) ErrorName() string
- func (e UdpProxyConfig_UdpAccessLogOptionsValidationError) Field() string
- func (e UdpProxyConfig_UdpAccessLogOptionsValidationError) Key() bool
- func (e UdpProxyConfig_UdpAccessLogOptionsValidationError) Reason() string
- type UdpProxyConfig_UdpTunnelingConfig
- func (*UdpProxyConfig_UdpTunnelingConfig) Descriptor() ([]byte, []int)deprecated
- func (x *UdpProxyConfig_UdpTunnelingConfig) GetBufferOptions() *UdpProxyConfig_UdpTunnelingConfig_BufferOptions
- func (x *UdpProxyConfig_UdpTunnelingConfig) GetDefaultTargetPort() uint32
- func (x *UdpProxyConfig_UdpTunnelingConfig) GetHeadersToAdd() []*v3.HeaderValueOption
- func (x *UdpProxyConfig_UdpTunnelingConfig) GetPostPath() string
- func (x *UdpProxyConfig_UdpTunnelingConfig) GetPropagateResponseHeaders() bool
- func (x *UdpProxyConfig_UdpTunnelingConfig) GetPropagateResponseTrailers() bool
- func (x *UdpProxyConfig_UdpTunnelingConfig) GetProxyHost() string
- func (x *UdpProxyConfig_UdpTunnelingConfig) GetProxyPort() *wrappers.UInt32Value
- func (x *UdpProxyConfig_UdpTunnelingConfig) GetRetryOptions() *UdpProxyConfig_UdpTunnelingConfig_RetryOptions
- func (x *UdpProxyConfig_UdpTunnelingConfig) GetTargetHost() string
- func (x *UdpProxyConfig_UdpTunnelingConfig) GetUsePost() bool
- func (*UdpProxyConfig_UdpTunnelingConfig) ProtoMessage()
- func (x *UdpProxyConfig_UdpTunnelingConfig) ProtoReflect() protoreflect.Message
- func (x *UdpProxyConfig_UdpTunnelingConfig) Reset()
- func (x *UdpProxyConfig_UdpTunnelingConfig) String() string
- func (m *UdpProxyConfig_UdpTunnelingConfig) Validate() error
- func (m *UdpProxyConfig_UdpTunnelingConfig) ValidateAll() error
- type UdpProxyConfig_UdpTunnelingConfigMultiError
- type UdpProxyConfig_UdpTunnelingConfigValidationError
- func (e UdpProxyConfig_UdpTunnelingConfigValidationError) Cause() error
- func (e UdpProxyConfig_UdpTunnelingConfigValidationError) Error() string
- func (e UdpProxyConfig_UdpTunnelingConfigValidationError) ErrorName() string
- func (e UdpProxyConfig_UdpTunnelingConfigValidationError) Field() string
- func (e UdpProxyConfig_UdpTunnelingConfigValidationError) Key() bool
- func (e UdpProxyConfig_UdpTunnelingConfigValidationError) Reason() string
- type UdpProxyConfig_UdpTunnelingConfig_BufferOptions
- func (*UdpProxyConfig_UdpTunnelingConfig_BufferOptions) Descriptor() ([]byte, []int)deprecated
- func (x *UdpProxyConfig_UdpTunnelingConfig_BufferOptions) GetMaxBufferedBytes() *wrappers.UInt64Value
- func (x *UdpProxyConfig_UdpTunnelingConfig_BufferOptions) GetMaxBufferedDatagrams() *wrappers.UInt32Value
- func (*UdpProxyConfig_UdpTunnelingConfig_BufferOptions) ProtoMessage()
- func (x *UdpProxyConfig_UdpTunnelingConfig_BufferOptions) ProtoReflect() protoreflect.Message
- func (x *UdpProxyConfig_UdpTunnelingConfig_BufferOptions) Reset()
- func (x *UdpProxyConfig_UdpTunnelingConfig_BufferOptions) String() string
- func (m *UdpProxyConfig_UdpTunnelingConfig_BufferOptions) Validate() error
- func (m *UdpProxyConfig_UdpTunnelingConfig_BufferOptions) ValidateAll() error
- type UdpProxyConfig_UdpTunnelingConfig_BufferOptionsMultiError
- type UdpProxyConfig_UdpTunnelingConfig_BufferOptionsValidationError
- func (e UdpProxyConfig_UdpTunnelingConfig_BufferOptionsValidationError) Cause() error
- func (e UdpProxyConfig_UdpTunnelingConfig_BufferOptionsValidationError) Error() string
- func (e UdpProxyConfig_UdpTunnelingConfig_BufferOptionsValidationError) ErrorName() string
- func (e UdpProxyConfig_UdpTunnelingConfig_BufferOptionsValidationError) Field() string
- func (e UdpProxyConfig_UdpTunnelingConfig_BufferOptionsValidationError) Key() bool
- func (e UdpProxyConfig_UdpTunnelingConfig_BufferOptionsValidationError) Reason() string
- type UdpProxyConfig_UdpTunnelingConfig_RetryOptions
- func (*UdpProxyConfig_UdpTunnelingConfig_RetryOptions) Descriptor() ([]byte, []int)deprecated
- func (x *UdpProxyConfig_UdpTunnelingConfig_RetryOptions) GetMaxConnectAttempts() *wrappers.UInt32Value
- func (*UdpProxyConfig_UdpTunnelingConfig_RetryOptions) ProtoMessage()
- func (x *UdpProxyConfig_UdpTunnelingConfig_RetryOptions) ProtoReflect() protoreflect.Message
- func (x *UdpProxyConfig_UdpTunnelingConfig_RetryOptions) Reset()
- func (x *UdpProxyConfig_UdpTunnelingConfig_RetryOptions) String() string
- func (m *UdpProxyConfig_UdpTunnelingConfig_RetryOptions) Validate() error
- func (m *UdpProxyConfig_UdpTunnelingConfig_RetryOptions) ValidateAll() error
- type UdpProxyConfig_UdpTunnelingConfig_RetryOptionsMultiError
- type UdpProxyConfig_UdpTunnelingConfig_RetryOptionsValidationError
- func (e UdpProxyConfig_UdpTunnelingConfig_RetryOptionsValidationError) Cause() error
- func (e UdpProxyConfig_UdpTunnelingConfig_RetryOptionsValidationError) Error() string
- func (e UdpProxyConfig_UdpTunnelingConfig_RetryOptionsValidationError) ErrorName() string
- func (e UdpProxyConfig_UdpTunnelingConfig_RetryOptionsValidationError) Field() string
- func (e UdpProxyConfig_UdpTunnelingConfig_RetryOptionsValidationError) Key() bool
- func (e UdpProxyConfig_UdpTunnelingConfig_RetryOptionsValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var File_envoy_extensions_filters_udp_udp_proxy_v3_route_proto protoreflect.FileDescriptor
var File_envoy_extensions_filters_udp_udp_proxy_v3_udp_proxy_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Route ¶ added in v0.10.2
type Route struct { // Indicates the upstream cluster to which the request should be routed. Cluster string `protobuf:"bytes,1,opt,name=cluster,proto3" json:"cluster,omitempty"` // contains filtered or unexported fields }
func (*Route) Descriptor
deprecated
added in
v0.10.2
func (*Route) GetCluster ¶ added in v0.10.2
func (*Route) ProtoMessage ¶ added in v0.10.2
func (*Route) ProtoMessage()
func (*Route) ProtoReflect ¶ added in v0.10.2
func (x *Route) ProtoReflect() protoreflect.Message
func (*Route) Validate ¶ added in v0.10.2
Validate checks the field values on Route 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 (*Route) ValidateAll ¶ added in v0.10.2
ValidateAll checks the field values on Route 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 RouteMultiError, or nil if none found.
type RouteMultiError ¶ added in v0.10.2
type RouteMultiError []error
RouteMultiError is an error wrapping multiple validation errors returned by Route.ValidateAll() if the designated constraints aren't met.
func (RouteMultiError) AllErrors ¶ added in v0.10.2
func (m RouteMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RouteMultiError) Error ¶ added in v0.10.2
func (m RouteMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RouteValidationError ¶ added in v0.10.2
type RouteValidationError struct {
// contains filtered or unexported fields
}
RouteValidationError is the validation error returned by Route.Validate if the designated constraints aren't met.
func (RouteValidationError) Cause ¶ added in v0.10.2
func (e RouteValidationError) Cause() error
Cause function returns cause value.
func (RouteValidationError) Error ¶ added in v0.10.2
func (e RouteValidationError) Error() string
Error satisfies the builtin error interface
func (RouteValidationError) ErrorName ¶ added in v0.10.2
func (e RouteValidationError) ErrorName() string
ErrorName returns error name.
func (RouteValidationError) Field ¶ added in v0.10.2
func (e RouteValidationError) Field() string
Field function returns field value.
func (RouteValidationError) Key ¶ added in v0.10.2
func (e RouteValidationError) Key() bool
Key function returns key value.
func (RouteValidationError) Reason ¶ added in v0.10.2
func (e RouteValidationError) Reason() string
Reason function returns reason value.
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 // *UdpProxyConfig_Matcher 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"` // Use the remote downstream IP address as the sender IP address when sending packets to upstream hosts. // This option requires Envoy to be run with the “CAP_NET_ADMIN“ capability on Linux. // And the IPv6 stack must be enabled on Linux kernel. // This option does not preserve the remote downstream port. // If this option is enabled, the IP address of sent datagrams will be changed to the remote downstream IP address. // This means that Envoy will not receive packets that are sent by upstream hosts because the upstream hosts // will send the packets with the remote downstream IP address as the destination. All packets will be routed // to the remote downstream directly if there are route rules on the upstream host side. // There are two options to return the packets back to the remote downstream. // The first one is to use DSR (Direct Server Return). // The other one is to configure routing rules on the upstream hosts to forward // all packets back to Envoy and configure iptables rules on the host running Envoy to // forward all packets from upstream hosts to the Envoy process so that Envoy can forward the packets to the downstream. // If the platform does not support this option, Envoy will raise a configuration error. UseOriginalSrcIp bool `protobuf:"varint,4,opt,name=use_original_src_ip,json=useOriginalSrcIp,proto3" json:"use_original_src_ip,omitempty"` // Optional configuration for UDP proxy hash policies. If hash_policies is not set, the hash-based // load balancing algorithms will select a host randomly. Currently the number of hash policies is // limited to 1. HashPolicies []*UdpProxyConfig_HashPolicy `protobuf:"bytes,5,rep,name=hash_policies,json=hashPolicies,proto3" json:"hash_policies,omitempty"` // UDP socket configuration for upstream sockets. The default for // :ref:`prefer_gro <envoy_v3_api_field_config.core.v3.UdpSocketConfig.prefer_gro>` is true for upstream // sockets as the assumption is datagrams will be received from a single source. UpstreamSocketConfig *v3.UdpSocketConfig `protobuf:"bytes,6,opt,name=upstream_socket_config,json=upstreamSocketConfig,proto3" json:"upstream_socket_config,omitempty"` // Perform per packet load balancing (upstream host selection) on each received data chunk. // The default if not specified is false, that means each data chunk is forwarded // to upstream host selected on first chunk receival for that "session" (identified by source IP/port and local IP/port). // Only one of use_per_packet_load_balancing or session_filters can be used. UsePerPacketLoadBalancing bool `` /* 143-byte string literal not displayed */ // Configuration for session access logs emitted by the UDP proxy. Note that certain UDP specific data is emitted as :ref:`Dynamic Metadata <config_access_log_format_dynamic_metadata>`. AccessLog []*v31.AccessLog `protobuf:"bytes,8,rep,name=access_log,json=accessLog,proto3" json:"access_log,omitempty"` // Configuration for proxy access logs emitted by the UDP proxy. Note that certain UDP specific data is emitted as :ref:`Dynamic Metadata <config_access_log_format_dynamic_metadata>`. ProxyAccessLog []*v31.AccessLog `protobuf:"bytes,10,rep,name=proxy_access_log,json=proxyAccessLog,proto3" json:"proxy_access_log,omitempty"` // Optional session filters that will run for each UDP session. // Only one of use_per_packet_load_balancing or session_filters can be used. // [#extension-category: envoy.filters.udp.session] SessionFilters []*UdpProxyConfig_SessionFilter `protobuf:"bytes,11,rep,name=session_filters,json=sessionFilters,proto3" json:"session_filters,omitempty"` // If set, this configures UDP tunneling. See `Proxying UDP in HTTP <https://www.rfc-editor.org/rfc/rfc9298.html>`_. // More information can be found in the UDP Proxy and HTTP upgrade documentation. TunnelingConfig *UdpProxyConfig_UdpTunnelingConfig `protobuf:"bytes,12,opt,name=tunneling_config,json=tunnelingConfig,proto3" json:"tunneling_config,omitempty"` // Additional access log options for UDP Proxy. AccessLogOptions *UdpProxyConfig_UdpAccessLogOptions `protobuf:"bytes,13,opt,name=access_log_options,json=accessLogOptions,proto3" json:"access_log_options,omitempty"` // contains filtered or unexported fields }
Configuration for the UDP proxy filter. [#next-free-field: 14]
func (*UdpProxyConfig) Descriptor
deprecated
func (*UdpProxyConfig) Descriptor() ([]byte, []int)
Deprecated: Use UdpProxyConfig.ProtoReflect.Descriptor instead.
func (*UdpProxyConfig) GetAccessLog ¶ added in v0.10.2
func (x *UdpProxyConfig) GetAccessLog() []*v31.AccessLog
func (*UdpProxyConfig) GetAccessLogOptions ¶ added in v0.12.0
func (x *UdpProxyConfig) GetAccessLogOptions() *UdpProxyConfig_UdpAccessLogOptions
func (*UdpProxyConfig) GetCluster
deprecated
func (x *UdpProxyConfig) GetCluster() string
Deprecated: Marked as deprecated in envoy/extensions/filters/udp/udp_proxy/v3/udp_proxy.proto.
func (*UdpProxyConfig) GetHashPolicies ¶ added in v0.9.7
func (x *UdpProxyConfig) GetHashPolicies() []*UdpProxyConfig_HashPolicy
func (*UdpProxyConfig) GetIdleTimeout ¶
func (x *UdpProxyConfig) GetIdleTimeout() *duration.Duration
func (*UdpProxyConfig) GetMatcher ¶ added in v0.10.2
func (x *UdpProxyConfig) GetMatcher() *v32.Matcher
func (*UdpProxyConfig) GetProxyAccessLog ¶ added in v0.11.0
func (x *UdpProxyConfig) GetProxyAccessLog() []*v31.AccessLog
func (*UdpProxyConfig) GetRouteSpecifier ¶
func (m *UdpProxyConfig) GetRouteSpecifier() isUdpProxyConfig_RouteSpecifier
func (*UdpProxyConfig) GetSessionFilters ¶ added in v0.12.0
func (x *UdpProxyConfig) GetSessionFilters() []*UdpProxyConfig_SessionFilter
func (*UdpProxyConfig) GetStatPrefix ¶
func (x *UdpProxyConfig) GetStatPrefix() string
func (*UdpProxyConfig) GetTunnelingConfig ¶ added in v0.12.0
func (x *UdpProxyConfig) GetTunnelingConfig() *UdpProxyConfig_UdpTunnelingConfig
func (*UdpProxyConfig) GetUpstreamSocketConfig ¶ added in v0.9.9
func (x *UdpProxyConfig) GetUpstreamSocketConfig() *v3.UdpSocketConfig
func (*UdpProxyConfig) GetUseOriginalSrcIp ¶ added in v0.9.7
func (x *UdpProxyConfig) GetUseOriginalSrcIp() bool
func (*UdpProxyConfig) GetUsePerPacketLoadBalancing ¶ added in v0.10.2
func (x *UdpProxyConfig) GetUsePerPacketLoadBalancing() bool
func (*UdpProxyConfig) ProtoMessage ¶
func (*UdpProxyConfig) ProtoMessage()
func (*UdpProxyConfig) ProtoReflect ¶
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 ¶
func (e UdpProxyConfigValidationError) Cause() error
Cause function returns cause value.
func (UdpProxyConfigValidationError) Error ¶
func (e UdpProxyConfigValidationError) Error() string
Error satisfies the builtin error interface
func (UdpProxyConfigValidationError) ErrorName ¶
func (e UdpProxyConfigValidationError) ErrorName() string
ErrorName returns error name.
func (UdpProxyConfigValidationError) Field ¶
func (e UdpProxyConfigValidationError) Field() string
Field function returns field value.
func (UdpProxyConfigValidationError) Key ¶
func (e UdpProxyConfigValidationError) Key() bool
Key function returns key value.
func (UdpProxyConfigValidationError) Reason ¶
func (e UdpProxyConfigValidationError) Reason() string
Reason function returns reason value.
type UdpProxyConfig_Cluster ¶
type UdpProxyConfig_Cluster struct { // The upstream cluster to connect to. // This field is deprecated in favor of // :ref:`matcher <envoy_v3_api_field_extensions.filters.udp.udp_proxy.v3.UdpProxyConfig.matcher>`. // // Deprecated: Marked as deprecated in envoy/extensions/filters/udp/udp_proxy/v3/udp_proxy.proto. Cluster string `protobuf:"bytes,2,opt,name=cluster,proto3,oneof"` }
type UdpProxyConfig_HashPolicy ¶ added in v0.9.7
type UdpProxyConfig_HashPolicy struct { // Types that are assignable to PolicySpecifier: // // *UdpProxyConfig_HashPolicy_SourceIp // *UdpProxyConfig_HashPolicy_Key PolicySpecifier isUdpProxyConfig_HashPolicy_PolicySpecifier `protobuf_oneof:"policy_specifier"` // contains filtered or unexported fields }
Specifies the UDP hash policy. The packets can be routed by hash policy.
func (*UdpProxyConfig_HashPolicy) Descriptor
deprecated
added in
v0.9.7
func (*UdpProxyConfig_HashPolicy) Descriptor() ([]byte, []int)
Deprecated: Use UdpProxyConfig_HashPolicy.ProtoReflect.Descriptor instead.
func (*UdpProxyConfig_HashPolicy) GetKey ¶ added in v0.9.9
func (x *UdpProxyConfig_HashPolicy) GetKey() string
func (*UdpProxyConfig_HashPolicy) GetPolicySpecifier ¶ added in v0.9.7
func (m *UdpProxyConfig_HashPolicy) GetPolicySpecifier() isUdpProxyConfig_HashPolicy_PolicySpecifier
func (*UdpProxyConfig_HashPolicy) GetSourceIp ¶ added in v0.9.7
func (x *UdpProxyConfig_HashPolicy) GetSourceIp() bool
func (*UdpProxyConfig_HashPolicy) ProtoMessage ¶ added in v0.9.7
func (*UdpProxyConfig_HashPolicy) ProtoMessage()
func (*UdpProxyConfig_HashPolicy) ProtoReflect ¶ added in v0.9.7
func (x *UdpProxyConfig_HashPolicy) ProtoReflect() protoreflect.Message
func (*UdpProxyConfig_HashPolicy) Reset ¶ added in v0.9.7
func (x *UdpProxyConfig_HashPolicy) Reset()
func (*UdpProxyConfig_HashPolicy) String ¶ added in v0.9.7
func (x *UdpProxyConfig_HashPolicy) String() string
func (*UdpProxyConfig_HashPolicy) Validate ¶ added in v0.9.7
func (m *UdpProxyConfig_HashPolicy) Validate() error
Validate checks the field values on UdpProxyConfig_HashPolicy 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_HashPolicy) ValidateAll ¶ added in v0.10.0
func (m *UdpProxyConfig_HashPolicy) ValidateAll() error
ValidateAll checks the field values on UdpProxyConfig_HashPolicy 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 UdpProxyConfig_HashPolicyMultiError, or nil if none found.
type UdpProxyConfig_HashPolicyMultiError ¶ added in v0.10.0
type UdpProxyConfig_HashPolicyMultiError []error
UdpProxyConfig_HashPolicyMultiError is an error wrapping multiple validation errors returned by UdpProxyConfig_HashPolicy.ValidateAll() if the designated constraints aren't met.
func (UdpProxyConfig_HashPolicyMultiError) AllErrors ¶ added in v0.10.0
func (m UdpProxyConfig_HashPolicyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UdpProxyConfig_HashPolicyMultiError) Error ¶ added in v0.10.0
func (m UdpProxyConfig_HashPolicyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UdpProxyConfig_HashPolicyValidationError ¶ added in v0.9.7
type UdpProxyConfig_HashPolicyValidationError struct {
// contains filtered or unexported fields
}
UdpProxyConfig_HashPolicyValidationError is the validation error returned by UdpProxyConfig_HashPolicy.Validate if the designated constraints aren't met.
func (UdpProxyConfig_HashPolicyValidationError) Cause ¶ added in v0.9.7
func (e UdpProxyConfig_HashPolicyValidationError) Cause() error
Cause function returns cause value.
func (UdpProxyConfig_HashPolicyValidationError) Error ¶ added in v0.9.7
func (e UdpProxyConfig_HashPolicyValidationError) Error() string
Error satisfies the builtin error interface
func (UdpProxyConfig_HashPolicyValidationError) ErrorName ¶ added in v0.9.7
func (e UdpProxyConfig_HashPolicyValidationError) ErrorName() string
ErrorName returns error name.
func (UdpProxyConfig_HashPolicyValidationError) Field ¶ added in v0.9.7
func (e UdpProxyConfig_HashPolicyValidationError) Field() string
Field function returns field value.
func (UdpProxyConfig_HashPolicyValidationError) Key ¶ added in v0.9.7
func (e UdpProxyConfig_HashPolicyValidationError) Key() bool
Key function returns key value.
func (UdpProxyConfig_HashPolicyValidationError) Reason ¶ added in v0.9.7
func (e UdpProxyConfig_HashPolicyValidationError) Reason() string
Reason function returns reason value.
type UdpProxyConfig_HashPolicy_Key ¶ added in v0.9.9
type UdpProxyConfig_HashPolicy_Key struct { // A given key will be used to compute the hash used by hash-based load balancing algorithms. // In certain cases there is a need to direct different UDP streams jointly towards the selected set of endpoints. // A possible use-case is VoIP telephony, where media (RTP) and its corresponding control (RTCP) belong to the same logical session, // although they travel in separate streams. To ensure that these pair of streams are load-balanced on session level // (instead of individual stream level), dynamically created listeners can use the same hash key for each stream in the session. Key string `protobuf:"bytes,2,opt,name=key,proto3,oneof"` }
type UdpProxyConfig_HashPolicy_SourceIp ¶ added in v0.9.7
type UdpProxyConfig_HashPolicy_SourceIp struct { // The source IP will be used to compute the hash used by hash-based load balancing algorithms. SourceIp bool `protobuf:"varint,1,opt,name=source_ip,json=sourceIp,proto3,oneof"` }
type UdpProxyConfig_Matcher ¶ added in v0.10.2
type UdpProxyConfig_SessionFilter ¶ added in v0.12.0
type UdpProxyConfig_SessionFilter struct { // The name of the filter configuration. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Types that are assignable to ConfigType: // // *UdpProxyConfig_SessionFilter_TypedConfig ConfigType isUdpProxyConfig_SessionFilter_ConfigType `protobuf_oneof:"config_type"` // contains filtered or unexported fields }
Configuration for UDP session filters.
func (*UdpProxyConfig_SessionFilter) Descriptor
deprecated
added in
v0.12.0
func (*UdpProxyConfig_SessionFilter) Descriptor() ([]byte, []int)
Deprecated: Use UdpProxyConfig_SessionFilter.ProtoReflect.Descriptor instead.
func (*UdpProxyConfig_SessionFilter) GetConfigType ¶ added in v0.12.0
func (m *UdpProxyConfig_SessionFilter) GetConfigType() isUdpProxyConfig_SessionFilter_ConfigType
func (*UdpProxyConfig_SessionFilter) GetName ¶ added in v0.12.0
func (x *UdpProxyConfig_SessionFilter) GetName() string
func (*UdpProxyConfig_SessionFilter) GetTypedConfig ¶ added in v0.12.0
func (x *UdpProxyConfig_SessionFilter) GetTypedConfig() *any1.Any
func (*UdpProxyConfig_SessionFilter) ProtoMessage ¶ added in v0.12.0
func (*UdpProxyConfig_SessionFilter) ProtoMessage()
func (*UdpProxyConfig_SessionFilter) ProtoReflect ¶ added in v0.12.0
func (x *UdpProxyConfig_SessionFilter) ProtoReflect() protoreflect.Message
func (*UdpProxyConfig_SessionFilter) Reset ¶ added in v0.12.0
func (x *UdpProxyConfig_SessionFilter) Reset()
func (*UdpProxyConfig_SessionFilter) String ¶ added in v0.12.0
func (x *UdpProxyConfig_SessionFilter) String() string
func (*UdpProxyConfig_SessionFilter) Validate ¶ added in v0.12.0
func (m *UdpProxyConfig_SessionFilter) Validate() error
Validate checks the field values on UdpProxyConfig_SessionFilter 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_SessionFilter) ValidateAll ¶ added in v0.12.0
func (m *UdpProxyConfig_SessionFilter) ValidateAll() error
ValidateAll checks the field values on UdpProxyConfig_SessionFilter 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 UdpProxyConfig_SessionFilterMultiError, or nil if none found.
type UdpProxyConfig_SessionFilterMultiError ¶ added in v0.12.0
type UdpProxyConfig_SessionFilterMultiError []error
UdpProxyConfig_SessionFilterMultiError is an error wrapping multiple validation errors returned by UdpProxyConfig_SessionFilter.ValidateAll() if the designated constraints aren't met.
func (UdpProxyConfig_SessionFilterMultiError) AllErrors ¶ added in v0.12.0
func (m UdpProxyConfig_SessionFilterMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UdpProxyConfig_SessionFilterMultiError) Error ¶ added in v0.12.0
func (m UdpProxyConfig_SessionFilterMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UdpProxyConfig_SessionFilterValidationError ¶ added in v0.12.0
type UdpProxyConfig_SessionFilterValidationError struct {
// contains filtered or unexported fields
}
UdpProxyConfig_SessionFilterValidationError is the validation error returned by UdpProxyConfig_SessionFilter.Validate if the designated constraints aren't met.
func (UdpProxyConfig_SessionFilterValidationError) Cause ¶ added in v0.12.0
func (e UdpProxyConfig_SessionFilterValidationError) Cause() error
Cause function returns cause value.
func (UdpProxyConfig_SessionFilterValidationError) Error ¶ added in v0.12.0
func (e UdpProxyConfig_SessionFilterValidationError) Error() string
Error satisfies the builtin error interface
func (UdpProxyConfig_SessionFilterValidationError) ErrorName ¶ added in v0.12.0
func (e UdpProxyConfig_SessionFilterValidationError) ErrorName() string
ErrorName returns error name.
func (UdpProxyConfig_SessionFilterValidationError) Field ¶ added in v0.12.0
func (e UdpProxyConfig_SessionFilterValidationError) Field() string
Field function returns field value.
func (UdpProxyConfig_SessionFilterValidationError) Key ¶ added in v0.12.0
func (e UdpProxyConfig_SessionFilterValidationError) Key() bool
Key function returns key value.
func (UdpProxyConfig_SessionFilterValidationError) Reason ¶ added in v0.12.0
func (e UdpProxyConfig_SessionFilterValidationError) Reason() string
Reason function returns reason value.
type UdpProxyConfig_SessionFilter_TypedConfig ¶ added in v0.12.0
type UdpProxyConfig_UdpAccessLogOptions ¶ added in v0.12.0
type UdpProxyConfig_UdpAccessLogOptions struct { // The interval to flush access log. The UDP proxy will flush only one access log when the session // is ended by default. If this field is set, the UDP proxy will flush access log periodically with // the specified interval. // This field does not require on-tunnel-connected access logging enabled, and the other way around. // The interval must be at least 1ms. AccessLogFlushInterval *duration.Duration `` /* 131-byte string literal not displayed */ // If set to true and UDP tunneling is configured, access log will be flushed when the UDP proxy has successfully // established a connection tunnel with the upstream. If the connection failed, the access log will not be flushed. FlushAccessLogOnTunnelConnected bool `` /* 163-byte string literal not displayed */ // contains filtered or unexported fields }
func (*UdpProxyConfig_UdpAccessLogOptions) Descriptor
deprecated
added in
v0.12.0
func (*UdpProxyConfig_UdpAccessLogOptions) Descriptor() ([]byte, []int)
Deprecated: Use UdpProxyConfig_UdpAccessLogOptions.ProtoReflect.Descriptor instead.
func (*UdpProxyConfig_UdpAccessLogOptions) GetAccessLogFlushInterval ¶ added in v0.12.0
func (x *UdpProxyConfig_UdpAccessLogOptions) GetAccessLogFlushInterval() *duration.Duration
func (*UdpProxyConfig_UdpAccessLogOptions) GetFlushAccessLogOnTunnelConnected ¶ added in v0.12.0
func (x *UdpProxyConfig_UdpAccessLogOptions) GetFlushAccessLogOnTunnelConnected() bool
func (*UdpProxyConfig_UdpAccessLogOptions) ProtoMessage ¶ added in v0.12.0
func (*UdpProxyConfig_UdpAccessLogOptions) ProtoMessage()
func (*UdpProxyConfig_UdpAccessLogOptions) ProtoReflect ¶ added in v0.12.0
func (x *UdpProxyConfig_UdpAccessLogOptions) ProtoReflect() protoreflect.Message
func (*UdpProxyConfig_UdpAccessLogOptions) Reset ¶ added in v0.12.0
func (x *UdpProxyConfig_UdpAccessLogOptions) Reset()
func (*UdpProxyConfig_UdpAccessLogOptions) String ¶ added in v0.12.0
func (x *UdpProxyConfig_UdpAccessLogOptions) String() string
func (*UdpProxyConfig_UdpAccessLogOptions) Validate ¶ added in v0.12.0
func (m *UdpProxyConfig_UdpAccessLogOptions) Validate() error
Validate checks the field values on UdpProxyConfig_UdpAccessLogOptions 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_UdpAccessLogOptions) ValidateAll ¶ added in v0.12.0
func (m *UdpProxyConfig_UdpAccessLogOptions) ValidateAll() error
ValidateAll checks the field values on UdpProxyConfig_UdpAccessLogOptions 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 UdpProxyConfig_UdpAccessLogOptionsMultiError, or nil if none found.
type UdpProxyConfig_UdpAccessLogOptionsMultiError ¶ added in v0.12.0
type UdpProxyConfig_UdpAccessLogOptionsMultiError []error
UdpProxyConfig_UdpAccessLogOptionsMultiError is an error wrapping multiple validation errors returned by UdpProxyConfig_UdpAccessLogOptions.ValidateAll() if the designated constraints aren't met.
func (UdpProxyConfig_UdpAccessLogOptionsMultiError) AllErrors ¶ added in v0.12.0
func (m UdpProxyConfig_UdpAccessLogOptionsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UdpProxyConfig_UdpAccessLogOptionsMultiError) Error ¶ added in v0.12.0
func (m UdpProxyConfig_UdpAccessLogOptionsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UdpProxyConfig_UdpAccessLogOptionsValidationError ¶ added in v0.12.0
type UdpProxyConfig_UdpAccessLogOptionsValidationError struct {
// contains filtered or unexported fields
}
UdpProxyConfig_UdpAccessLogOptionsValidationError is the validation error returned by UdpProxyConfig_UdpAccessLogOptions.Validate if the designated constraints aren't met.
func (UdpProxyConfig_UdpAccessLogOptionsValidationError) Cause ¶ added in v0.12.0
func (e UdpProxyConfig_UdpAccessLogOptionsValidationError) Cause() error
Cause function returns cause value.
func (UdpProxyConfig_UdpAccessLogOptionsValidationError) Error ¶ added in v0.12.0
func (e UdpProxyConfig_UdpAccessLogOptionsValidationError) Error() string
Error satisfies the builtin error interface
func (UdpProxyConfig_UdpAccessLogOptionsValidationError) ErrorName ¶ added in v0.12.0
func (e UdpProxyConfig_UdpAccessLogOptionsValidationError) ErrorName() string
ErrorName returns error name.
func (UdpProxyConfig_UdpAccessLogOptionsValidationError) Field ¶ added in v0.12.0
func (e UdpProxyConfig_UdpAccessLogOptionsValidationError) Field() string
Field function returns field value.
func (UdpProxyConfig_UdpAccessLogOptionsValidationError) Key ¶ added in v0.12.0
func (e UdpProxyConfig_UdpAccessLogOptionsValidationError) Key() bool
Key function returns key value.
func (UdpProxyConfig_UdpAccessLogOptionsValidationError) Reason ¶ added in v0.12.0
func (e UdpProxyConfig_UdpAccessLogOptionsValidationError) Reason() string
Reason function returns reason value.
type UdpProxyConfig_UdpTunnelingConfig ¶ added in v0.12.0
type UdpProxyConfig_UdpTunnelingConfig struct { // The hostname to send in the synthesized CONNECT headers to the upstream proxy. // This field evaluates command operators if set, otherwise returns hostname as is. // // Example: dynamically set hostname using filter state // // .. code-block:: yaml // // tunneling_config: // proxy_host: "%FILTER_STATE(proxy.host.key:PLAIN)%" ProxyHost string `protobuf:"bytes,1,opt,name=proxy_host,json=proxyHost,proto3" json:"proxy_host,omitempty"` // Optional port value to add to the HTTP request URI. // This value can be overridden per-session by setting the required port value for // the filter state key “udp.connect.proxy_port“. ProxyPort *wrappers.UInt32Value `protobuf:"bytes,2,opt,name=proxy_port,json=proxyPort,proto3" json:"proxy_port,omitempty"` // The target host to send in the synthesized CONNECT headers to the upstream proxy. // This field evaluates command operators if set, otherwise returns hostname as is. // // Example: dynamically set target host using filter state // // .. code-block:: yaml // // tunneling_config: // target_host: "%FILTER_STATE(target.host.key:PLAIN)%" TargetHost string `protobuf:"bytes,3,opt,name=target_host,json=targetHost,proto3" json:"target_host,omitempty"` // The default target port to send in the CONNECT headers to the upstream proxy. // This value can be overridden per-session by setting the required port value for // the filter state key “udp.connect.target_port“. DefaultTargetPort uint32 `protobuf:"varint,4,opt,name=default_target_port,json=defaultTargetPort,proto3" json:"default_target_port,omitempty"` // Use POST method instead of CONNECT method to tunnel the UDP stream. // // .. note:: // // If use_post is set, the upstream stream does not comply with the connect-udp RFC, and // instead it will be a POST request. the path used in the headers will be set from the // post_path field, and the headers will not contain the target host and target port, as // required by the connect-udp protocol. This flag should be used carefully. UsePost bool `protobuf:"varint,5,opt,name=use_post,json=usePost,proto3" json:"use_post,omitempty"` // The path used with POST method. Default path is “/“. If post path is specified and // use_post field isn't true, it will be rejected. PostPath string `protobuf:"bytes,6,opt,name=post_path,json=postPath,proto3" json:"post_path,omitempty"` // Optional retry options, in case connecting to the upstream failed. RetryOptions *UdpProxyConfig_UdpTunnelingConfig_RetryOptions `protobuf:"bytes,7,opt,name=retry_options,json=retryOptions,proto3" json:"retry_options,omitempty"` // Additional request headers to upstream proxy. Neither “:-prefixed“ pseudo-headers // nor the Host: header can be overridden. Values of the added headers evaluates command // operators if they are set in the value template. // // Example: dynamically set a header with the local port // // .. code-block:: yaml // // headers_to_add: // - header: // key: original_dst_port // value: "%DOWNSTREAM_LOCAL_PORT%" HeadersToAdd []*v3.HeaderValueOption `protobuf:"bytes,8,rep,name=headers_to_add,json=headersToAdd,proto3" json:"headers_to_add,omitempty"` // If configured, the filter will buffer datagrams in case that it is waiting for the upstream to be // ready, whether if it is during the connection process or due to upstream buffer watermarks. // If this field is not configured, there will be no buffering and downstream datagrams that arrive // while the upstream is not ready will be dropped. In case this field is set but the options // are not configured, the default values will be applied as described in the “BufferOptions“. BufferOptions *UdpProxyConfig_UdpTunnelingConfig_BufferOptions `protobuf:"bytes,9,opt,name=buffer_options,json=bufferOptions,proto3" json:"buffer_options,omitempty"` // Save the response headers to the downstream info filter state for consumption // by the session filters. The filter state key is “envoy.udp_proxy.propagate_response_headers“. PropagateResponseHeaders bool `` /* 137-byte string literal not displayed */ // Save the response trailers to the downstream info filter state for consumption // by the session filters. The filter state key is “envoy.udp_proxy.propagate_response_trailers“. PropagateResponseTrailers bool `` /* 140-byte string literal not displayed */ // contains filtered or unexported fields }
Configuration for tunneling UDP over other transports or application layers. Tunneling is currently supported over HTTP/2. [#next-free-field: 12]
func (*UdpProxyConfig_UdpTunnelingConfig) Descriptor
deprecated
added in
v0.12.0
func (*UdpProxyConfig_UdpTunnelingConfig) Descriptor() ([]byte, []int)
Deprecated: Use UdpProxyConfig_UdpTunnelingConfig.ProtoReflect.Descriptor instead.
func (*UdpProxyConfig_UdpTunnelingConfig) GetBufferOptions ¶ added in v0.12.0
func (x *UdpProxyConfig_UdpTunnelingConfig) GetBufferOptions() *UdpProxyConfig_UdpTunnelingConfig_BufferOptions
func (*UdpProxyConfig_UdpTunnelingConfig) GetDefaultTargetPort ¶ added in v0.12.0
func (x *UdpProxyConfig_UdpTunnelingConfig) GetDefaultTargetPort() uint32
func (*UdpProxyConfig_UdpTunnelingConfig) GetHeadersToAdd ¶ added in v0.12.0
func (x *UdpProxyConfig_UdpTunnelingConfig) GetHeadersToAdd() []*v3.HeaderValueOption
func (*UdpProxyConfig_UdpTunnelingConfig) GetPostPath ¶ added in v0.12.0
func (x *UdpProxyConfig_UdpTunnelingConfig) GetPostPath() string
func (*UdpProxyConfig_UdpTunnelingConfig) GetPropagateResponseHeaders ¶ added in v0.12.0
func (x *UdpProxyConfig_UdpTunnelingConfig) GetPropagateResponseHeaders() bool
func (*UdpProxyConfig_UdpTunnelingConfig) GetPropagateResponseTrailers ¶ added in v0.12.0
func (x *UdpProxyConfig_UdpTunnelingConfig) GetPropagateResponseTrailers() bool
func (*UdpProxyConfig_UdpTunnelingConfig) GetProxyHost ¶ added in v0.12.0
func (x *UdpProxyConfig_UdpTunnelingConfig) GetProxyHost() string
func (*UdpProxyConfig_UdpTunnelingConfig) GetProxyPort ¶ added in v0.12.0
func (x *UdpProxyConfig_UdpTunnelingConfig) GetProxyPort() *wrappers.UInt32Value
func (*UdpProxyConfig_UdpTunnelingConfig) GetRetryOptions ¶ added in v0.12.0
func (x *UdpProxyConfig_UdpTunnelingConfig) GetRetryOptions() *UdpProxyConfig_UdpTunnelingConfig_RetryOptions
func (*UdpProxyConfig_UdpTunnelingConfig) GetTargetHost ¶ added in v0.12.0
func (x *UdpProxyConfig_UdpTunnelingConfig) GetTargetHost() string
func (*UdpProxyConfig_UdpTunnelingConfig) GetUsePost ¶ added in v0.12.0
func (x *UdpProxyConfig_UdpTunnelingConfig) GetUsePost() bool
func (*UdpProxyConfig_UdpTunnelingConfig) ProtoMessage ¶ added in v0.12.0
func (*UdpProxyConfig_UdpTunnelingConfig) ProtoMessage()
func (*UdpProxyConfig_UdpTunnelingConfig) ProtoReflect ¶ added in v0.12.0
func (x *UdpProxyConfig_UdpTunnelingConfig) ProtoReflect() protoreflect.Message
func (*UdpProxyConfig_UdpTunnelingConfig) Reset ¶ added in v0.12.0
func (x *UdpProxyConfig_UdpTunnelingConfig) Reset()
func (*UdpProxyConfig_UdpTunnelingConfig) String ¶ added in v0.12.0
func (x *UdpProxyConfig_UdpTunnelingConfig) String() string
func (*UdpProxyConfig_UdpTunnelingConfig) Validate ¶ added in v0.12.0
func (m *UdpProxyConfig_UdpTunnelingConfig) Validate() error
Validate checks the field values on UdpProxyConfig_UdpTunnelingConfig 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_UdpTunnelingConfig) ValidateAll ¶ added in v0.12.0
func (m *UdpProxyConfig_UdpTunnelingConfig) ValidateAll() error
ValidateAll checks the field values on UdpProxyConfig_UdpTunnelingConfig 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 UdpProxyConfig_UdpTunnelingConfigMultiError, or nil if none found.
type UdpProxyConfig_UdpTunnelingConfigMultiError ¶ added in v0.12.0
type UdpProxyConfig_UdpTunnelingConfigMultiError []error
UdpProxyConfig_UdpTunnelingConfigMultiError is an error wrapping multiple validation errors returned by UdpProxyConfig_UdpTunnelingConfig.ValidateAll() if the designated constraints aren't met.
func (UdpProxyConfig_UdpTunnelingConfigMultiError) AllErrors ¶ added in v0.12.0
func (m UdpProxyConfig_UdpTunnelingConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UdpProxyConfig_UdpTunnelingConfigMultiError) Error ¶ added in v0.12.0
func (m UdpProxyConfig_UdpTunnelingConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UdpProxyConfig_UdpTunnelingConfigValidationError ¶ added in v0.12.0
type UdpProxyConfig_UdpTunnelingConfigValidationError struct {
// contains filtered or unexported fields
}
UdpProxyConfig_UdpTunnelingConfigValidationError is the validation error returned by UdpProxyConfig_UdpTunnelingConfig.Validate if the designated constraints aren't met.
func (UdpProxyConfig_UdpTunnelingConfigValidationError) Cause ¶ added in v0.12.0
func (e UdpProxyConfig_UdpTunnelingConfigValidationError) Cause() error
Cause function returns cause value.
func (UdpProxyConfig_UdpTunnelingConfigValidationError) Error ¶ added in v0.12.0
func (e UdpProxyConfig_UdpTunnelingConfigValidationError) Error() string
Error satisfies the builtin error interface
func (UdpProxyConfig_UdpTunnelingConfigValidationError) ErrorName ¶ added in v0.12.0
func (e UdpProxyConfig_UdpTunnelingConfigValidationError) ErrorName() string
ErrorName returns error name.
func (UdpProxyConfig_UdpTunnelingConfigValidationError) Field ¶ added in v0.12.0
func (e UdpProxyConfig_UdpTunnelingConfigValidationError) Field() string
Field function returns field value.
func (UdpProxyConfig_UdpTunnelingConfigValidationError) Key ¶ added in v0.12.0
func (e UdpProxyConfig_UdpTunnelingConfigValidationError) Key() bool
Key function returns key value.
func (UdpProxyConfig_UdpTunnelingConfigValidationError) Reason ¶ added in v0.12.0
func (e UdpProxyConfig_UdpTunnelingConfigValidationError) Reason() string
Reason function returns reason value.
type UdpProxyConfig_UdpTunnelingConfig_BufferOptions ¶ added in v0.12.0
type UdpProxyConfig_UdpTunnelingConfig_BufferOptions struct { // If set, the filter will only buffer datagrams up to the requested limit, and will drop // new UDP datagrams if the buffer contains the max_buffered_datagrams value at the time // of a new datagram arrival. If not set, the default value is 1024 datagrams. MaxBufferedDatagrams *wrappers.UInt32Value `protobuf:"bytes,1,opt,name=max_buffered_datagrams,json=maxBufferedDatagrams,proto3" json:"max_buffered_datagrams,omitempty"` // If set, the filter will only buffer datagrams up to the requested total buffered bytes limit, // and will drop new UDP datagrams if the buffer contains the max_buffered_datagrams value // at the time of a new datagram arrival. If not set, the default value is 16,384 (16KB). MaxBufferedBytes *wrappers.UInt64Value `protobuf:"bytes,2,opt,name=max_buffered_bytes,json=maxBufferedBytes,proto3" json:"max_buffered_bytes,omitempty"` // contains filtered or unexported fields }
Configuration for UDP datagrams buffering.
func (*UdpProxyConfig_UdpTunnelingConfig_BufferOptions) Descriptor
deprecated
added in
v0.12.0
func (*UdpProxyConfig_UdpTunnelingConfig_BufferOptions) Descriptor() ([]byte, []int)
Deprecated: Use UdpProxyConfig_UdpTunnelingConfig_BufferOptions.ProtoReflect.Descriptor instead.
func (*UdpProxyConfig_UdpTunnelingConfig_BufferOptions) GetMaxBufferedBytes ¶ added in v0.12.0
func (x *UdpProxyConfig_UdpTunnelingConfig_BufferOptions) GetMaxBufferedBytes() *wrappers.UInt64Value
func (*UdpProxyConfig_UdpTunnelingConfig_BufferOptions) GetMaxBufferedDatagrams ¶ added in v0.12.0
func (x *UdpProxyConfig_UdpTunnelingConfig_BufferOptions) GetMaxBufferedDatagrams() *wrappers.UInt32Value
func (*UdpProxyConfig_UdpTunnelingConfig_BufferOptions) ProtoMessage ¶ added in v0.12.0
func (*UdpProxyConfig_UdpTunnelingConfig_BufferOptions) ProtoMessage()
func (*UdpProxyConfig_UdpTunnelingConfig_BufferOptions) ProtoReflect ¶ added in v0.12.0
func (x *UdpProxyConfig_UdpTunnelingConfig_BufferOptions) ProtoReflect() protoreflect.Message
func (*UdpProxyConfig_UdpTunnelingConfig_BufferOptions) Reset ¶ added in v0.12.0
func (x *UdpProxyConfig_UdpTunnelingConfig_BufferOptions) Reset()
func (*UdpProxyConfig_UdpTunnelingConfig_BufferOptions) String ¶ added in v0.12.0
func (x *UdpProxyConfig_UdpTunnelingConfig_BufferOptions) String() string
func (*UdpProxyConfig_UdpTunnelingConfig_BufferOptions) Validate ¶ added in v0.12.0
func (m *UdpProxyConfig_UdpTunnelingConfig_BufferOptions) Validate() error
Validate checks the field values on UdpProxyConfig_UdpTunnelingConfig_BufferOptions 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_UdpTunnelingConfig_BufferOptions) ValidateAll ¶ added in v0.12.0
func (m *UdpProxyConfig_UdpTunnelingConfig_BufferOptions) ValidateAll() error
ValidateAll checks the field values on UdpProxyConfig_UdpTunnelingConfig_BufferOptions 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 UdpProxyConfig_UdpTunnelingConfig_BufferOptionsMultiError, or nil if none found.
type UdpProxyConfig_UdpTunnelingConfig_BufferOptionsMultiError ¶ added in v0.12.0
type UdpProxyConfig_UdpTunnelingConfig_BufferOptionsMultiError []error
UdpProxyConfig_UdpTunnelingConfig_BufferOptionsMultiError is an error wrapping multiple validation errors returned by UdpProxyConfig_UdpTunnelingConfig_BufferOptions.ValidateAll() if the designated constraints aren't met.
func (UdpProxyConfig_UdpTunnelingConfig_BufferOptionsMultiError) AllErrors ¶ added in v0.12.0
func (m UdpProxyConfig_UdpTunnelingConfig_BufferOptionsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UdpProxyConfig_UdpTunnelingConfig_BufferOptionsMultiError) Error ¶ added in v0.12.0
func (m UdpProxyConfig_UdpTunnelingConfig_BufferOptionsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UdpProxyConfig_UdpTunnelingConfig_BufferOptionsValidationError ¶ added in v0.12.0
type UdpProxyConfig_UdpTunnelingConfig_BufferOptionsValidationError struct {
// contains filtered or unexported fields
}
UdpProxyConfig_UdpTunnelingConfig_BufferOptionsValidationError is the validation error returned by UdpProxyConfig_UdpTunnelingConfig_BufferOptions.Validate if the designated constraints aren't met.
func (UdpProxyConfig_UdpTunnelingConfig_BufferOptionsValidationError) Cause ¶ added in v0.12.0
func (e UdpProxyConfig_UdpTunnelingConfig_BufferOptionsValidationError) Cause() error
Cause function returns cause value.
func (UdpProxyConfig_UdpTunnelingConfig_BufferOptionsValidationError) Error ¶ added in v0.12.0
func (e UdpProxyConfig_UdpTunnelingConfig_BufferOptionsValidationError) Error() string
Error satisfies the builtin error interface
func (UdpProxyConfig_UdpTunnelingConfig_BufferOptionsValidationError) ErrorName ¶ added in v0.12.0
func (e UdpProxyConfig_UdpTunnelingConfig_BufferOptionsValidationError) ErrorName() string
ErrorName returns error name.
func (UdpProxyConfig_UdpTunnelingConfig_BufferOptionsValidationError) Field ¶ added in v0.12.0
func (e UdpProxyConfig_UdpTunnelingConfig_BufferOptionsValidationError) Field() string
Field function returns field value.
func (UdpProxyConfig_UdpTunnelingConfig_BufferOptionsValidationError) Key ¶ added in v0.12.0
Key function returns key value.
func (UdpProxyConfig_UdpTunnelingConfig_BufferOptionsValidationError) Reason ¶ added in v0.12.0
func (e UdpProxyConfig_UdpTunnelingConfig_BufferOptionsValidationError) Reason() string
Reason function returns reason value.
type UdpProxyConfig_UdpTunnelingConfig_RetryOptions ¶ added in v0.12.0
type UdpProxyConfig_UdpTunnelingConfig_RetryOptions struct { // The maximum number of unsuccessful connection attempts that will be made before giving up. // If the parameter is not specified, 1 connection attempt will be made. MaxConnectAttempts *wrappers.UInt32Value `protobuf:"bytes,1,opt,name=max_connect_attempts,json=maxConnectAttempts,proto3" json:"max_connect_attempts,omitempty"` // contains filtered or unexported fields }
func (*UdpProxyConfig_UdpTunnelingConfig_RetryOptions) Descriptor
deprecated
added in
v0.12.0
func (*UdpProxyConfig_UdpTunnelingConfig_RetryOptions) Descriptor() ([]byte, []int)
Deprecated: Use UdpProxyConfig_UdpTunnelingConfig_RetryOptions.ProtoReflect.Descriptor instead.
func (*UdpProxyConfig_UdpTunnelingConfig_RetryOptions) GetMaxConnectAttempts ¶ added in v0.12.0
func (x *UdpProxyConfig_UdpTunnelingConfig_RetryOptions) GetMaxConnectAttempts() *wrappers.UInt32Value
func (*UdpProxyConfig_UdpTunnelingConfig_RetryOptions) ProtoMessage ¶ added in v0.12.0
func (*UdpProxyConfig_UdpTunnelingConfig_RetryOptions) ProtoMessage()
func (*UdpProxyConfig_UdpTunnelingConfig_RetryOptions) ProtoReflect ¶ added in v0.12.0
func (x *UdpProxyConfig_UdpTunnelingConfig_RetryOptions) ProtoReflect() protoreflect.Message
func (*UdpProxyConfig_UdpTunnelingConfig_RetryOptions) Reset ¶ added in v0.12.0
func (x *UdpProxyConfig_UdpTunnelingConfig_RetryOptions) Reset()
func (*UdpProxyConfig_UdpTunnelingConfig_RetryOptions) String ¶ added in v0.12.0
func (x *UdpProxyConfig_UdpTunnelingConfig_RetryOptions) String() string
func (*UdpProxyConfig_UdpTunnelingConfig_RetryOptions) Validate ¶ added in v0.12.0
func (m *UdpProxyConfig_UdpTunnelingConfig_RetryOptions) Validate() error
Validate checks the field values on UdpProxyConfig_UdpTunnelingConfig_RetryOptions 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_UdpTunnelingConfig_RetryOptions) ValidateAll ¶ added in v0.12.0
func (m *UdpProxyConfig_UdpTunnelingConfig_RetryOptions) ValidateAll() error
ValidateAll checks the field values on UdpProxyConfig_UdpTunnelingConfig_RetryOptions 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 UdpProxyConfig_UdpTunnelingConfig_RetryOptionsMultiError, or nil if none found.
type UdpProxyConfig_UdpTunnelingConfig_RetryOptionsMultiError ¶ added in v0.12.0
type UdpProxyConfig_UdpTunnelingConfig_RetryOptionsMultiError []error
UdpProxyConfig_UdpTunnelingConfig_RetryOptionsMultiError is an error wrapping multiple validation errors returned by UdpProxyConfig_UdpTunnelingConfig_RetryOptions.ValidateAll() if the designated constraints aren't met.
func (UdpProxyConfig_UdpTunnelingConfig_RetryOptionsMultiError) AllErrors ¶ added in v0.12.0
func (m UdpProxyConfig_UdpTunnelingConfig_RetryOptionsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UdpProxyConfig_UdpTunnelingConfig_RetryOptionsMultiError) Error ¶ added in v0.12.0
func (m UdpProxyConfig_UdpTunnelingConfig_RetryOptionsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UdpProxyConfig_UdpTunnelingConfig_RetryOptionsValidationError ¶ added in v0.12.0
type UdpProxyConfig_UdpTunnelingConfig_RetryOptionsValidationError struct {
// contains filtered or unexported fields
}
UdpProxyConfig_UdpTunnelingConfig_RetryOptionsValidationError is the validation error returned by UdpProxyConfig_UdpTunnelingConfig_RetryOptions.Validate if the designated constraints aren't met.
func (UdpProxyConfig_UdpTunnelingConfig_RetryOptionsValidationError) Cause ¶ added in v0.12.0
func (e UdpProxyConfig_UdpTunnelingConfig_RetryOptionsValidationError) Cause() error
Cause function returns cause value.
func (UdpProxyConfig_UdpTunnelingConfig_RetryOptionsValidationError) Error ¶ added in v0.12.0
func (e UdpProxyConfig_UdpTunnelingConfig_RetryOptionsValidationError) Error() string
Error satisfies the builtin error interface
func (UdpProxyConfig_UdpTunnelingConfig_RetryOptionsValidationError) ErrorName ¶ added in v0.12.0
func (e UdpProxyConfig_UdpTunnelingConfig_RetryOptionsValidationError) ErrorName() string
ErrorName returns error name.
func (UdpProxyConfig_UdpTunnelingConfig_RetryOptionsValidationError) Field ¶ added in v0.12.0
func (e UdpProxyConfig_UdpTunnelingConfig_RetryOptionsValidationError) Field() string
Field function returns field value.
func (UdpProxyConfig_UdpTunnelingConfig_RetryOptionsValidationError) Key ¶ added in v0.12.0
Key function returns key value.
func (UdpProxyConfig_UdpTunnelingConfig_RetryOptionsValidationError) Reason ¶ added in v0.12.0
func (e UdpProxyConfig_UdpTunnelingConfig_RetryOptionsValidationError) Reason() string
Reason function returns reason value.