Documentation ¶
Index ¶
- Variables
- type UdpProxyConfig
- func (*UdpProxyConfig) Descriptor() ([]byte, []int)deprecated
- func (x *UdpProxyConfig) GetCluster() string
- func (x *UdpProxyConfig) GetIdleTimeout() *duration.Duration
- func (m *UdpProxyConfig) GetRouteSpecifier() isUdpProxyConfig_RouteSpecifier
- func (x *UdpProxyConfig) GetStatPrefix() string
- 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
Constants ¶
This section is empty.
Variables ¶
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 ¶
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. Cluster string `protobuf:"bytes,2,opt,name=cluster,proto3,oneof"` }