Documentation
¶
Index ¶
- Variables
- type ClusterConfig
- func (*ClusterConfig) Descriptor() ([]byte, []int)deprecated
- func (x *ClusterConfig) GetAllowCoalescedConnections() bool
- func (x *ClusterConfig) GetAllowInsecureClusterOptions() bool
- func (x *ClusterConfig) GetDnsCacheConfig() *v3.DnsCacheConfig
- func (*ClusterConfig) ProtoMessage()
- func (x *ClusterConfig) ProtoReflect() protoreflect.Message
- func (x *ClusterConfig) Reset()
- func (x *ClusterConfig) String() string
- func (m *ClusterConfig) Validate() error
- func (m *ClusterConfig) ValidateAll() error
- type ClusterConfigMultiError
- type ClusterConfigValidationError
- func (e ClusterConfigValidationError) Cause() error
- func (e ClusterConfigValidationError) Error() string
- func (e ClusterConfigValidationError) ErrorName() string
- func (e ClusterConfigValidationError) Field() string
- func (e ClusterConfigValidationError) Key() bool
- func (e ClusterConfigValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var File_envoy_extensions_clusters_dynamic_forward_proxy_v3_cluster_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ClusterConfig ¶
type ClusterConfig struct { // The DNS cache configuration that the cluster will attach to. Note this configuration must // match that of associated :ref:`dynamic forward proxy HTTP filter configuration // <envoy_v3_api_field_extensions.filters.http.dynamic_forward_proxy.v3.FilterConfig.dns_cache_config>`. DnsCacheConfig *v3.DnsCacheConfig `protobuf:"bytes,1,opt,name=dns_cache_config,json=dnsCacheConfig,proto3" json:"dns_cache_config,omitempty"` // If true allow the cluster configuration to disable the auto_sni and auto_san_validation options // in the :ref:`cluster's upstream_http_protocol_options // <envoy_v3_api_field_config.cluster.v3.Cluster.upstream_http_protocol_options>` AllowInsecureClusterOptions bool `` /* 147-byte string literal not displayed */ // [#not-implemented-hide:] // If true allow HTTP/2 and HTTP/3 connections to be reused for requests to different // origins than the connection was initially created for. This will only happen when the // resolved address for the new connection matches the peer address of the connection and // the TLS certificate is also valid for the new hostname. For example, if a connection // has previously been established to foo.example.com at IP 1.2.3.4 with a certificate // that is valid for `*.example.com`, then this connection could be used for requests to // bar.example.com if that also resolved to 1.2.3.4. // // .. note:: // By design, this feature will maximize reuse of connections. This means that instead // opening a new connection when an existing connection reaches the maximum number of // concurrent streams, requests will instead be sent to the existing connection. // TODO(alyssawilk) implement request queueing in connections. // // .. note:: // The coalesced connections might be to upstreams that would not be otherwise // selected by Envoy. See the section `Connection Reuse in RFC 7540 // <https://datatracker.ietf.org/doc/html/rfc7540#section-9.1.1>`_ // AllowCoalescedConnections bool `` /* 139-byte string literal not displayed */ // contains filtered or unexported fields }
Configuration for the dynamic forward proxy cluster. See the :ref:`architecture overview <arch_overview_http_dynamic_forward_proxy>` for more information. [#extension: envoy.clusters.dynamic_forward_proxy]
func (*ClusterConfig) Descriptor
deprecated
func (*ClusterConfig) Descriptor() ([]byte, []int)
Deprecated: Use ClusterConfig.ProtoReflect.Descriptor instead.
func (*ClusterConfig) GetAllowCoalescedConnections ¶ added in v0.10.0
func (x *ClusterConfig) GetAllowCoalescedConnections() bool
func (*ClusterConfig) GetAllowInsecureClusterOptions ¶ added in v0.9.6
func (x *ClusterConfig) GetAllowInsecureClusterOptions() bool
func (*ClusterConfig) GetDnsCacheConfig ¶
func (x *ClusterConfig) GetDnsCacheConfig() *v3.DnsCacheConfig
func (*ClusterConfig) ProtoMessage ¶
func (*ClusterConfig) ProtoMessage()
func (*ClusterConfig) ProtoReflect ¶ added in v0.9.6
func (x *ClusterConfig) ProtoReflect() protoreflect.Message
func (*ClusterConfig) Reset ¶
func (x *ClusterConfig) Reset()
func (*ClusterConfig) String ¶
func (x *ClusterConfig) String() string
func (*ClusterConfig) Validate ¶
func (m *ClusterConfig) Validate() error
Validate checks the field values on ClusterConfig 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 (*ClusterConfig) ValidateAll ¶ added in v0.10.0
func (m *ClusterConfig) ValidateAll() error
ValidateAll checks the field values on ClusterConfig 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 ClusterConfigMultiError, or nil if none found.
type ClusterConfigMultiError ¶ added in v0.10.0
type ClusterConfigMultiError []error
ClusterConfigMultiError is an error wrapping multiple validation errors returned by ClusterConfig.ValidateAll() if the designated constraints aren't met.
func (ClusterConfigMultiError) AllErrors ¶ added in v0.10.0
func (m ClusterConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ClusterConfigMultiError) Error ¶ added in v0.10.0
func (m ClusterConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ClusterConfigValidationError ¶
type ClusterConfigValidationError struct {
// contains filtered or unexported fields
}
ClusterConfigValidationError is the validation error returned by ClusterConfig.Validate if the designated constraints aren't met.
func (ClusterConfigValidationError) Cause ¶
func (e ClusterConfigValidationError) Cause() error
Cause function returns cause value.
func (ClusterConfigValidationError) Error ¶
func (e ClusterConfigValidationError) Error() string
Error satisfies the builtin error interface
func (ClusterConfigValidationError) ErrorName ¶
func (e ClusterConfigValidationError) ErrorName() string
ErrorName returns error name.
func (ClusterConfigValidationError) Field ¶
func (e ClusterConfigValidationError) Field() string
Field function returns field value.
func (ClusterConfigValidationError) Key ¶
func (e ClusterConfigValidationError) Key() bool
Key function returns key value.
func (ClusterConfigValidationError) Reason ¶
func (e ClusterConfigValidationError) Reason() string
Reason function returns reason value.