server_preferred_addressv3

package
v0.13.1 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2024 License: Apache-2.0 Imports: 19 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_envoy_extensions_quic_server_preferred_address_v3_datasource_proto protoreflect.FileDescriptor
View Source
var File_envoy_extensions_quic_server_preferred_address_v3_fixed_server_preferred_address_config_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type DataSourceServerPreferredAddressConfig added in v0.13.0

type DataSourceServerPreferredAddressConfig struct {

	// The IPv4 address to advertise to clients for Server Preferred Address.
	Ipv4Config *DataSourceServerPreferredAddressConfig_AddressFamilyConfig `protobuf:"bytes,1,opt,name=ipv4_config,json=ipv4Config,proto3" json:"ipv4_config,omitempty"`
	// The IPv6 address to advertise to clients for Server Preferred Address.
	Ipv6Config *DataSourceServerPreferredAddressConfig_AddressFamilyConfig `protobuf:"bytes,2,opt,name=ipv6_config,json=ipv6Config,proto3" json:"ipv6_config,omitempty"`
	// contains filtered or unexported fields
}

Configuration for DataSourceServerPreferredAddressConfig.

func (*DataSourceServerPreferredAddressConfig) Descriptor deprecated added in v0.13.0

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

Deprecated: Use DataSourceServerPreferredAddressConfig.ProtoReflect.Descriptor instead.

func (*DataSourceServerPreferredAddressConfig) GetIpv4Config added in v0.13.0

func (*DataSourceServerPreferredAddressConfig) GetIpv6Config added in v0.13.0

func (*DataSourceServerPreferredAddressConfig) ProtoMessage added in v0.13.0

func (*DataSourceServerPreferredAddressConfig) ProtoReflect added in v0.13.0

func (*DataSourceServerPreferredAddressConfig) Reset added in v0.13.0

func (*DataSourceServerPreferredAddressConfig) String added in v0.13.0

func (*DataSourceServerPreferredAddressConfig) Validate added in v0.13.0

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

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

type DataSourceServerPreferredAddressConfigMultiError added in v0.13.0

type DataSourceServerPreferredAddressConfigMultiError []error

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

func (DataSourceServerPreferredAddressConfigMultiError) AllErrors added in v0.13.0

AllErrors returns a list of validation violation errors.

func (DataSourceServerPreferredAddressConfigMultiError) Error added in v0.13.0

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

type DataSourceServerPreferredAddressConfigValidationError added in v0.13.0

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

DataSourceServerPreferredAddressConfigValidationError is the validation error returned by DataSourceServerPreferredAddressConfig.Validate if the designated constraints aren't met.

func (DataSourceServerPreferredAddressConfigValidationError) Cause added in v0.13.0

Cause function returns cause value.

func (DataSourceServerPreferredAddressConfigValidationError) Error added in v0.13.0

Error satisfies the builtin error interface

func (DataSourceServerPreferredAddressConfigValidationError) ErrorName added in v0.13.0

ErrorName returns error name.

func (DataSourceServerPreferredAddressConfigValidationError) Field added in v0.13.0

Field function returns field value.

func (DataSourceServerPreferredAddressConfigValidationError) Key added in v0.13.0

Key function returns key value.

func (DataSourceServerPreferredAddressConfigValidationError) Reason added in v0.13.0

Reason function returns reason value.

type DataSourceServerPreferredAddressConfig_AddressFamilyConfig added in v0.13.0

type DataSourceServerPreferredAddressConfig_AddressFamilyConfig struct {

	// The server preferred address sent to clients. The data must contain an IP address string.
	Address *v3.DataSource `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// The server preferred address port sent to clients. The data must contain a integer port value.
	//
	// If this is not specified, the listener's port is used.
	//
	// Note: Envoy currently must receive all packets for a QUIC connection on the same port, so unless
	// :ref:`dnat_address <envoy_v3_api_field_extensions.quic.server_preferred_address.v3.DataSourceServerPreferredAddressConfig.AddressFamilyConfig.dnat_address>`
	// is configured, this must be left unset.
	Port *v3.DataSource `protobuf:"bytes,2,opt,name=port,proto3" json:"port,omitempty"`
	// If there is a DNAT between the client and Envoy, the address that Envoy will observe
	// server preferred address packets being sent to. If this is not specified, it is assumed
	// there is no DNAT and the server preferred address packets will be sent to the address advertised
	// to clients for server preferred address.
	DnatAddress *v3.DataSource `protobuf:"bytes,3,opt,name=dnat_address,json=dnatAddress,proto3" json:"dnat_address,omitempty"`
	// contains filtered or unexported fields
}

Addresses for server preferred address for a single address family (IPv4 or IPv6).

func (*DataSourceServerPreferredAddressConfig_AddressFamilyConfig) Descriptor deprecated added in v0.13.0

Deprecated: Use DataSourceServerPreferredAddressConfig_AddressFamilyConfig.ProtoReflect.Descriptor instead.

func (*DataSourceServerPreferredAddressConfig_AddressFamilyConfig) GetAddress added in v0.13.0

func (*DataSourceServerPreferredAddressConfig_AddressFamilyConfig) GetDnatAddress added in v0.13.0

func (*DataSourceServerPreferredAddressConfig_AddressFamilyConfig) GetPort added in v0.13.0

func (*DataSourceServerPreferredAddressConfig_AddressFamilyConfig) ProtoMessage added in v0.13.0

func (*DataSourceServerPreferredAddressConfig_AddressFamilyConfig) ProtoReflect added in v0.13.0

func (*DataSourceServerPreferredAddressConfig_AddressFamilyConfig) Reset added in v0.13.0

func (*DataSourceServerPreferredAddressConfig_AddressFamilyConfig) String added in v0.13.0

func (*DataSourceServerPreferredAddressConfig_AddressFamilyConfig) Validate added in v0.13.0

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

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

type DataSourceServerPreferredAddressConfig_AddressFamilyConfigMultiError added in v0.13.0

type DataSourceServerPreferredAddressConfig_AddressFamilyConfigMultiError []error

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

func (DataSourceServerPreferredAddressConfig_AddressFamilyConfigMultiError) AllErrors added in v0.13.0

AllErrors returns a list of validation violation errors.

func (DataSourceServerPreferredAddressConfig_AddressFamilyConfigMultiError) Error added in v0.13.0

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

type DataSourceServerPreferredAddressConfig_AddressFamilyConfigValidationError added in v0.13.0

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

DataSourceServerPreferredAddressConfig_AddressFamilyConfigValidationError is the validation error returned by DataSourceServerPreferredAddressConfig_AddressFamilyConfig.Validate if the designated constraints aren't met.

func (DataSourceServerPreferredAddressConfig_AddressFamilyConfigValidationError) Cause added in v0.13.0

Cause function returns cause value.

func (DataSourceServerPreferredAddressConfig_AddressFamilyConfigValidationError) Error added in v0.13.0

Error satisfies the builtin error interface

func (DataSourceServerPreferredAddressConfig_AddressFamilyConfigValidationError) ErrorName added in v0.13.0

ErrorName returns error name.

func (DataSourceServerPreferredAddressConfig_AddressFamilyConfigValidationError) Field added in v0.13.0

Field function returns field value.

func (DataSourceServerPreferredAddressConfig_AddressFamilyConfigValidationError) Key added in v0.13.0

Key function returns key value.

func (DataSourceServerPreferredAddressConfig_AddressFamilyConfigValidationError) Reason added in v0.13.0

Reason function returns reason value.

type FixedServerPreferredAddressConfig

type FixedServerPreferredAddressConfig struct {

	// String representation of IPv4 address, i.e. "127.0.0.2".
	// If not specified, none will be configured.
	Ipv4Address string `protobuf:"bytes,1,opt,name=ipv4_address,json=ipv4Address,proto3" json:"ipv4_address,omitempty"`
	// The IPv4 address to advertise to clients for Server Preferred Address.
	// This field takes precedence over
	// :ref:`ipv4_address <envoy_v3_api_field_extensions.quic.server_preferred_address.v3.FixedServerPreferredAddressConfig.ipv4_address>`.
	Ipv4Config *FixedServerPreferredAddressConfig_AddressFamilyConfig `protobuf:"bytes,3,opt,name=ipv4_config,json=ipv4Config,proto3" json:"ipv4_config,omitempty"`
	// String representation of IPv6 address, i.e. "::1".
	// If not specified, none will be configured.
	Ipv6Address string `protobuf:"bytes,2,opt,name=ipv6_address,json=ipv6Address,proto3" json:"ipv6_address,omitempty"`
	// The IPv6 address to advertise to clients for Server Preferred Address.
	// This field takes precedence over
	// :ref:`ipv6_address <envoy_v3_api_field_extensions.quic.server_preferred_address.v3.FixedServerPreferredAddressConfig.ipv6_address>`.
	Ipv6Config *FixedServerPreferredAddressConfig_AddressFamilyConfig `protobuf:"bytes,4,opt,name=ipv6_config,json=ipv6Config,proto3" json:"ipv6_config,omitempty"`
	// contains filtered or unexported fields
}

Configuration for FixedServerPreferredAddressConfig.

func (*FixedServerPreferredAddressConfig) Descriptor deprecated

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

Deprecated: Use FixedServerPreferredAddressConfig.ProtoReflect.Descriptor instead.

func (*FixedServerPreferredAddressConfig) GetIpv4Address

func (x *FixedServerPreferredAddressConfig) GetIpv4Address() string

func (*FixedServerPreferredAddressConfig) GetIpv4Config added in v0.13.0

func (*FixedServerPreferredAddressConfig) GetIpv6Address

func (x *FixedServerPreferredAddressConfig) GetIpv6Address() string

func (*FixedServerPreferredAddressConfig) GetIpv6Config added in v0.13.0

func (*FixedServerPreferredAddressConfig) ProtoMessage

func (*FixedServerPreferredAddressConfig) ProtoMessage()

func (*FixedServerPreferredAddressConfig) ProtoReflect

func (*FixedServerPreferredAddressConfig) Reset

func (*FixedServerPreferredAddressConfig) String

func (*FixedServerPreferredAddressConfig) Validate

Validate checks the field values on FixedServerPreferredAddressConfig 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 (*FixedServerPreferredAddressConfig) ValidateAll

func (m *FixedServerPreferredAddressConfig) ValidateAll() error

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

type FixedServerPreferredAddressConfigMultiError

type FixedServerPreferredAddressConfigMultiError []error

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

func (FixedServerPreferredAddressConfigMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (FixedServerPreferredAddressConfigMultiError) Error

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

type FixedServerPreferredAddressConfigValidationError

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

FixedServerPreferredAddressConfigValidationError is the validation error returned by FixedServerPreferredAddressConfig.Validate if the designated constraints aren't met.

func (FixedServerPreferredAddressConfigValidationError) Cause

Cause function returns cause value.

func (FixedServerPreferredAddressConfigValidationError) Error

Error satisfies the builtin error interface

func (FixedServerPreferredAddressConfigValidationError) ErrorName

ErrorName returns error name.

func (FixedServerPreferredAddressConfigValidationError) Field

Field function returns field value.

func (FixedServerPreferredAddressConfigValidationError) Key

Key function returns key value.

func (FixedServerPreferredAddressConfigValidationError) Reason

Reason function returns reason value.

type FixedServerPreferredAddressConfig_AddressFamilyConfig added in v0.13.0

type FixedServerPreferredAddressConfig_AddressFamilyConfig struct {

	// The server preferred address sent to clients.
	//
	// Note: Envoy currently must receive all packets for a QUIC connection on the same port, so unless
	// :ref:`dnat_address <envoy_v3_api_field_extensions.quic.server_preferred_address.v3.FixedServerPreferredAddressConfig.AddressFamilyConfig.dnat_address>`
	// is configured, the port for this address must be zero, and the listener's
	// port will be used instead.
	Address *v3.SocketAddress `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// If there is a DNAT between the client and Envoy, the address that Envoy will observe
	// server preferred address packets being sent to. If this is not specified, it is assumed
	// there is no DNAT and the server preferred address packets will be sent to the address advertised
	// to clients for server preferred address.
	//
	// Note: Envoy currently must receive all packets for a QUIC connection on the same port, so the
	// port for this address must be zero, and the listener's port will be used instead.
	DnatAddress *v3.SocketAddress `protobuf:"bytes,2,opt,name=dnat_address,json=dnatAddress,proto3" json:"dnat_address,omitempty"`
	// contains filtered or unexported fields
}

Addresses for server preferred address for a single address family (IPv4 or IPv6).

func (*FixedServerPreferredAddressConfig_AddressFamilyConfig) Descriptor deprecated added in v0.13.0

Deprecated: Use FixedServerPreferredAddressConfig_AddressFamilyConfig.ProtoReflect.Descriptor instead.

func (*FixedServerPreferredAddressConfig_AddressFamilyConfig) GetAddress added in v0.13.0

func (*FixedServerPreferredAddressConfig_AddressFamilyConfig) GetDnatAddress added in v0.13.0

func (*FixedServerPreferredAddressConfig_AddressFamilyConfig) ProtoMessage added in v0.13.0

func (*FixedServerPreferredAddressConfig_AddressFamilyConfig) ProtoReflect added in v0.13.0

func (*FixedServerPreferredAddressConfig_AddressFamilyConfig) Reset added in v0.13.0

func (*FixedServerPreferredAddressConfig_AddressFamilyConfig) String added in v0.13.0

func (*FixedServerPreferredAddressConfig_AddressFamilyConfig) Validate added in v0.13.0

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

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

type FixedServerPreferredAddressConfig_AddressFamilyConfigMultiError added in v0.13.0

type FixedServerPreferredAddressConfig_AddressFamilyConfigMultiError []error

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

func (FixedServerPreferredAddressConfig_AddressFamilyConfigMultiError) AllErrors added in v0.13.0

AllErrors returns a list of validation violation errors.

func (FixedServerPreferredAddressConfig_AddressFamilyConfigMultiError) Error added in v0.13.0

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

type FixedServerPreferredAddressConfig_AddressFamilyConfigValidationError added in v0.13.0

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

FixedServerPreferredAddressConfig_AddressFamilyConfigValidationError is the validation error returned by FixedServerPreferredAddressConfig_AddressFamilyConfig.Validate if the designated constraints aren't met.

func (FixedServerPreferredAddressConfig_AddressFamilyConfigValidationError) Cause added in v0.13.0

Cause function returns cause value.

func (FixedServerPreferredAddressConfig_AddressFamilyConfigValidationError) Error added in v0.13.0

Error satisfies the builtin error interface

func (FixedServerPreferredAddressConfig_AddressFamilyConfigValidationError) ErrorName added in v0.13.0

ErrorName returns error name.

func (FixedServerPreferredAddressConfig_AddressFamilyConfigValidationError) Field added in v0.13.0

Field function returns field value.

func (FixedServerPreferredAddressConfig_AddressFamilyConfigValidationError) Key added in v0.13.0

Key function returns key value.

func (FixedServerPreferredAddressConfig_AddressFamilyConfigValidationError) Reason added in v0.13.0

Reason function returns reason value.

Jump to

Keyboard shortcuts

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