server_preferred_addressv3

package
v0.0.0-...-b7bc3d0 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2024 License: Apache-2.0 Imports: 21 Imported by: 1

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

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

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

Deprecated: Use DataSourceServerPreferredAddressConfig.ProtoReflect.Descriptor instead.

func (*DataSourceServerPreferredAddressConfig) GetIpv4Config

func (*DataSourceServerPreferredAddressConfig) GetIpv6Config

func (*DataSourceServerPreferredAddressConfig) ProtoMessage

func (*DataSourceServerPreferredAddressConfig) ProtoReflect

func (*DataSourceServerPreferredAddressConfig) Reset

func (*DataSourceServerPreferredAddressConfig) String

func (*DataSourceServerPreferredAddressConfig) Validate

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

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

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

AllErrors returns a list of validation violation errors.

func (DataSourceServerPreferredAddressConfigMultiError) Error

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

type DataSourceServerPreferredAddressConfigValidationError

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

Cause function returns cause value.

func (DataSourceServerPreferredAddressConfigValidationError) Error

Error satisfies the builtin error interface

func (DataSourceServerPreferredAddressConfigValidationError) ErrorName

ErrorName returns error name.

func (DataSourceServerPreferredAddressConfigValidationError) Field

Field function returns field value.

func (DataSourceServerPreferredAddressConfigValidationError) Key

Key function returns key value.

func (DataSourceServerPreferredAddressConfigValidationError) Reason

Reason function returns reason value.

type DataSourceServerPreferredAddressConfig_AddressFamilyConfig

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

Deprecated: Use DataSourceServerPreferredAddressConfig_AddressFamilyConfig.ProtoReflect.Descriptor instead.

func (*DataSourceServerPreferredAddressConfig_AddressFamilyConfig) GetAddress

func (*DataSourceServerPreferredAddressConfig_AddressFamilyConfig) GetDnatAddress

func (*DataSourceServerPreferredAddressConfig_AddressFamilyConfig) GetPort

func (*DataSourceServerPreferredAddressConfig_AddressFamilyConfig) ProtoMessage

func (*DataSourceServerPreferredAddressConfig_AddressFamilyConfig) ProtoReflect

func (*DataSourceServerPreferredAddressConfig_AddressFamilyConfig) Reset

func (*DataSourceServerPreferredAddressConfig_AddressFamilyConfig) String

func (*DataSourceServerPreferredAddressConfig_AddressFamilyConfig) Validate

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

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

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

AllErrors returns a list of validation violation errors.

func (DataSourceServerPreferredAddressConfig_AddressFamilyConfigMultiError) Error

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

type DataSourceServerPreferredAddressConfig_AddressFamilyConfigValidationError

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

Cause function returns cause value.

func (DataSourceServerPreferredAddressConfig_AddressFamilyConfigValidationError) Error

Error satisfies the builtin error interface

func (DataSourceServerPreferredAddressConfig_AddressFamilyConfigValidationError) ErrorName

ErrorName returns error name.

func (DataSourceServerPreferredAddressConfig_AddressFamilyConfigValidationError) Field

Field function returns field value.

func (DataSourceServerPreferredAddressConfig_AddressFamilyConfigValidationError) Key

Key function returns key value.

func (DataSourceServerPreferredAddressConfig_AddressFamilyConfigValidationError) Reason

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

func (*FixedServerPreferredAddressConfig) GetIpv6Address

func (x *FixedServerPreferredAddressConfig) GetIpv6Address() string

func (*FixedServerPreferredAddressConfig) GetIpv6Config

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

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

Deprecated: Use FixedServerPreferredAddressConfig_AddressFamilyConfig.ProtoReflect.Descriptor instead.

func (*FixedServerPreferredAddressConfig_AddressFamilyConfig) GetAddress

func (*FixedServerPreferredAddressConfig_AddressFamilyConfig) GetDnatAddress

func (*FixedServerPreferredAddressConfig_AddressFamilyConfig) ProtoMessage

func (*FixedServerPreferredAddressConfig_AddressFamilyConfig) ProtoReflect

func (*FixedServerPreferredAddressConfig_AddressFamilyConfig) Reset

func (*FixedServerPreferredAddressConfig_AddressFamilyConfig) String

func (*FixedServerPreferredAddressConfig_AddressFamilyConfig) Validate

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

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

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

AllErrors returns a list of validation violation errors.

func (FixedServerPreferredAddressConfig_AddressFamilyConfigMultiError) Error

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

type FixedServerPreferredAddressConfig_AddressFamilyConfigValidationError

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

Cause function returns cause value.

func (FixedServerPreferredAddressConfig_AddressFamilyConfigValidationError) Error

Error satisfies the builtin error interface

func (FixedServerPreferredAddressConfig_AddressFamilyConfigValidationError) ErrorName

ErrorName returns error name.

func (FixedServerPreferredAddressConfig_AddressFamilyConfigValidationError) Field

Field function returns field value.

func (FixedServerPreferredAddressConfig_AddressFamilyConfigValidationError) Key

Key function returns key value.

func (FixedServerPreferredAddressConfig_AddressFamilyConfigValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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