envoy_config_filter_udp_udp_proxy_v2alpha

package
v1.5.5 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2020 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthUdpProxy        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowUdpProxy          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupUdpProxy = fmt.Errorf("proto: unexpected end of group")
)

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 valid to be assigned 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          *types.Duration `protobuf:"bytes,3,opt,name=idle_timeout,json=idleTimeout,proto3" json:"idle_timeout,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

Configuration for the UDP proxy filter.

func (*UdpProxyConfig) Descriptor

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

func (*UdpProxyConfig) GetCluster

func (m *UdpProxyConfig) GetCluster() string

func (*UdpProxyConfig) GetIdleTimeout

func (m *UdpProxyConfig) GetIdleTimeout() *types.Duration

func (*UdpProxyConfig) GetRouteSpecifier

func (m *UdpProxyConfig) GetRouteSpecifier() isUdpProxyConfig_RouteSpecifier

func (*UdpProxyConfig) GetStatPrefix

func (m *UdpProxyConfig) GetStatPrefix() string

func (*UdpProxyConfig) Marshal

func (m *UdpProxyConfig) Marshal() (dAtA []byte, err error)

func (*UdpProxyConfig) MarshalTo

func (m *UdpProxyConfig) MarshalTo(dAtA []byte) (int, error)

func (*UdpProxyConfig) MarshalToSizedBuffer

func (m *UdpProxyConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UdpProxyConfig) ProtoMessage

func (*UdpProxyConfig) ProtoMessage()

func (*UdpProxyConfig) Reset

func (m *UdpProxyConfig) Reset()

func (*UdpProxyConfig) Size

func (m *UdpProxyConfig) Size() (n int)

func (*UdpProxyConfig) String

func (m *UdpProxyConfig) String() string

func (*UdpProxyConfig) Unmarshal

func (m *UdpProxyConfig) Unmarshal(dAtA []byte) error

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

func (*UdpProxyConfig) XXX_DiscardUnknown

func (m *UdpProxyConfig) XXX_DiscardUnknown()

func (*UdpProxyConfig) XXX_Marshal

func (m *UdpProxyConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UdpProxyConfig) XXX_Merge

func (m *UdpProxyConfig) XXX_Merge(src proto.Message)

func (*UdpProxyConfig) XXX_OneofWrappers

func (*UdpProxyConfig) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*UdpProxyConfig) XXX_Size

func (m *UdpProxyConfig) XXX_Size() int

func (*UdpProxyConfig) XXX_Unmarshal

func (m *UdpProxyConfig) XXX_Unmarshal(b []byte) error

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 {
	Cluster string `protobuf:"bytes,2,opt,name=cluster,proto3,oneof" json:"cluster,omitempty"`
}

func (*UdpProxyConfig_Cluster) MarshalTo

func (m *UdpProxyConfig_Cluster) MarshalTo(dAtA []byte) (int, error)

func (*UdpProxyConfig_Cluster) MarshalToSizedBuffer

func (m *UdpProxyConfig_Cluster) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UdpProxyConfig_Cluster) Size

func (m *UdpProxyConfig_Cluster) Size() (n int)

Jump to

Keyboard shortcuts

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