go-control-plane: github.com/envoyproxy/go-control-plane/envoy/config/filter/udp/udp_proxy/v2alpha Index | Files

package envoy_config_filter_udp_udp_proxy_v2alpha

import "github.com/envoyproxy/go-control-plane/envoy/config/filter/udp/udp_proxy/v2alpha"


Package Files

udp_proxy.pb.go udp_proxy.pb.validate.go


var File_envoy_config_filter_udp_udp_proxy_v2alpha_udp_proxy_proto protoreflect.FileDescriptor

type UdpProxyConfig Uses

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 Uses

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

Deprecated: Use UdpProxyConfig.ProtoReflect.Descriptor instead.

func (*UdpProxyConfig) GetCluster Uses

func (x *UdpProxyConfig) GetCluster() string

func (*UdpProxyConfig) GetIdleTimeout Uses

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

func (*UdpProxyConfig) GetRouteSpecifier Uses

func (m *UdpProxyConfig) GetRouteSpecifier() isUdpProxyConfig_RouteSpecifier

func (*UdpProxyConfig) GetStatPrefix Uses

func (x *UdpProxyConfig) GetStatPrefix() string

func (*UdpProxyConfig) ProtoMessage Uses

func (*UdpProxyConfig) ProtoMessage()

func (*UdpProxyConfig) ProtoReflect Uses

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

func (*UdpProxyConfig) Reset Uses

func (x *UdpProxyConfig) Reset()

func (*UdpProxyConfig) String Uses

func (x *UdpProxyConfig) String() string

func (*UdpProxyConfig) Validate Uses

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, an error is returned.

type UdpProxyConfigValidationError Uses

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 Uses

func (e UdpProxyConfigValidationError) Cause() error

Cause function returns cause value.

func (UdpProxyConfigValidationError) Error Uses

func (e UdpProxyConfigValidationError) Error() string

Error satisfies the builtin error interface

func (UdpProxyConfigValidationError) ErrorName Uses

func (e UdpProxyConfigValidationError) ErrorName() string

ErrorName returns error name.

func (UdpProxyConfigValidationError) Field Uses

func (e UdpProxyConfigValidationError) Field() string

Field function returns field value.

func (UdpProxyConfigValidationError) Key Uses

func (e UdpProxyConfigValidationError) Key() bool

Key function returns key value.

func (UdpProxyConfigValidationError) Reason Uses

func (e UdpProxyConfigValidationError) Reason() string

Reason function returns reason value.

type UdpProxyConfig_Cluster Uses

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

Package envoy_config_filter_udp_udp_proxy_v2alpha imports 19 packages (graph) and is imported by 7 packages. Updated 2021-01-07. Refresh now. Tools for package owners.