envoy_api_v2

package
v1.0.0-ea9 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2019 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthCds = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowCds   = fmt.Errorf("proto: integer overflow")
)
View Source
var (
	ErrInvalidLengthDiscovery = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowDiscovery   = fmt.Errorf("proto: integer overflow")
)
View Source
var (
	ErrInvalidLengthEds = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowEds   = fmt.Errorf("proto: integer overflow")
)
View Source
var (
	ErrInvalidLengthLds = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowLds   = fmt.Errorf("proto: integer overflow")
)
View Source
var (
	ErrInvalidLengthRds = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowRds   = fmt.Errorf("proto: integer overflow")
)
View Source
var (
	ErrInvalidLengthSrds = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowSrds   = fmt.Errorf("proto: integer overflow")
)
View Source
var Cluster_ClusterProtocolSelection_name = map[int32]string{
	0: "USE_CONFIGURED_PROTOCOL",
	1: "USE_DOWNSTREAM_PROTOCOL",
}
View Source
var Cluster_ClusterProtocolSelection_value = map[string]int32{
	"USE_CONFIGURED_PROTOCOL": 0,
	"USE_DOWNSTREAM_PROTOCOL": 1,
}
View Source
var Cluster_DiscoveryType_name = map[int32]string{
	0: "STATIC",
	1: "STRICT_DNS",
	2: "LOGICAL_DNS",
	3: "EDS",
	4: "ORIGINAL_DST",
}
View Source
var Cluster_DiscoveryType_value = map[string]int32{
	"STATIC":       0,
	"STRICT_DNS":   1,
	"LOGICAL_DNS":  2,
	"EDS":          3,
	"ORIGINAL_DST": 4,
}
View Source
var Cluster_DnsLookupFamily_name = map[int32]string{
	0: "AUTO",
	1: "V4_ONLY",
	2: "V6_ONLY",
}
View Source
var Cluster_DnsLookupFamily_value = map[string]int32{
	"AUTO":    0,
	"V4_ONLY": 1,
	"V6_ONLY": 2,
}
View Source
var Cluster_LbPolicy_name = map[int32]string{
	0: "ROUND_ROBIN",
	1: "LEAST_REQUEST",
	2: "RING_HASH",
	3: "RANDOM",
	4: "ORIGINAL_DST_LB",
	5: "MAGLEV",
	6: "CLUSTER_PROVIDED",
	7: "LOAD_BALANCING_POLICY_CONFIG",
}
View Source
var Cluster_LbPolicy_value = map[string]int32{
	"ROUND_ROBIN":                  0,
	"LEAST_REQUEST":                1,
	"RING_HASH":                    2,
	"RANDOM":                       3,
	"ORIGINAL_DST_LB":              4,
	"MAGLEV":                       5,
	"CLUSTER_PROVIDED":             6,
	"LOAD_BALANCING_POLICY_CONFIG": 7,
}
View Source
var Cluster_LbSubsetConfig_LbSubsetFallbackPolicy_name = map[int32]string{
	0: "NO_FALLBACK",
	1: "ANY_ENDPOINT",
	2: "DEFAULT_SUBSET",
}
View Source
var Cluster_LbSubsetConfig_LbSubsetFallbackPolicy_value = map[string]int32{
	"NO_FALLBACK":    0,
	"ANY_ENDPOINT":   1,
	"DEFAULT_SUBSET": 2,
}
View Source
var Cluster_LbSubsetConfig_LbSubsetSelector_LbSubsetSelectorFallbackPolicy_name = map[int32]string{
	0: "NOT_DEFINED",
	1: "NO_FALLBACK",
	2: "ANY_ENDPOINT",
	3: "DEFAULT_SUBSET",
}
View Source
var Cluster_LbSubsetConfig_LbSubsetSelector_LbSubsetSelectorFallbackPolicy_value = map[string]int32{
	"NOT_DEFINED":    0,
	"NO_FALLBACK":    1,
	"ANY_ENDPOINT":   2,
	"DEFAULT_SUBSET": 3,
}
View Source
var Cluster_RingHashLbConfig_HashFunction_name = map[int32]string{
	0: "XX_HASH",
	1: "MURMUR_HASH_2",
}
View Source
var Cluster_RingHashLbConfig_HashFunction_value = map[string]int32{
	"XX_HASH":       0,
	"MURMUR_HASH_2": 1,
}
View Source
var Listener_DrainType_name = map[int32]string{
	0: "DEFAULT",
	1: "MODIFY_ONLY",
}
View Source
var Listener_DrainType_value = map[string]int32{
	"DEFAULT":     0,
	"MODIFY_ONLY": 1,
}

Functions

func RegisterClusterDiscoveryServiceServer

func RegisterClusterDiscoveryServiceServer(s *grpc.Server, srv ClusterDiscoveryServiceServer)

func RegisterEndpointDiscoveryServiceServer

func RegisterEndpointDiscoveryServiceServer(s *grpc.Server, srv EndpointDiscoveryServiceServer)

func RegisterListenerDiscoveryServiceServer

func RegisterListenerDiscoveryServiceServer(s *grpc.Server, srv ListenerDiscoveryServiceServer)

func RegisterRouteDiscoveryServiceServer

func RegisterRouteDiscoveryServiceServer(s *grpc.Server, srv RouteDiscoveryServiceServer)

func RegisterScopedRoutesDiscoveryServiceServer

func RegisterScopedRoutesDiscoveryServiceServer(s *grpc.Server, srv ScopedRoutesDiscoveryServiceServer)

func RegisterVirtualHostDiscoveryServiceServer

func RegisterVirtualHostDiscoveryServiceServer(s *grpc.Server, srv VirtualHostDiscoveryServiceServer)

Types

type Cluster

type Cluster struct {
	// Configuration to use different transport sockets for different endpoints.
	// The entry of *envoy.transport_socket* in the
	// :ref:`LbEndpoint.Metadata <envoy_api_field_endpoint.LbEndpoint.metadata>`
	// is used to match against the transport sockets as they appear in the list. The first
	// :ref:`match <envoy_api_msg_Cluster.TransportSocketMatch>` is used.
	// For example, with the following match
	//
	// .. code-block:: yaml
	//
	//  transport_socket_matches:
	//  - name: "enableMTLS"
	//    match:
	//      acceptMTLS: true
	//    transport_socket:
	//      name: tls
	//      config: { ... } # tls socket configuration
	//  - name: "defaultToPlaintext"
	//    match: {}
	//    transport_socket:
	//      name: "rawbuffer"
	//
	// Connections to the endpoints whose metadata value under *envoy.transport_socket*
	// having "acceptMTLS"/"true" key/value pair use the "enableMTLS" socket configuration.
	//
	// If a :ref:`socket match <envoy_api_msg_Cluster.TransportSocketMatch>` with empty match
	// criteria is provided, that always match any endpoint. For example, the "defaultToPlaintext"
	// socket match in case above.
	//
	// If an endpoint metadata's value under *envoy.transport_socket* does not match any
	// *TransportSocketMatch*, socket configuration fallbacks to use the *tls_context* or
	// *transport_socket* specified in this cluster.
	//
	// This field allows gradual and flexible transport socket configuration changes.
	//
	// The metadata of endpoints in EDS can indicate transport socket capabilities. For example,
	// an endpoint's metadata can have two key value pairs as "acceptMTLS": "true",
	// "acceptPlaintext": "true". While some other endpoints, only accepting plaintext traffic
	// has "acceptPlaintext": "true" metadata information.
	//
	// Then the xDS server can configure the CDS to a client, Envoy A, to send mutual TLS
	// traffic for endpoints with "acceptMTLS": "true", by adding a corresponding
	// *TransportSocketMatch* in this field. Other client Envoys receive CDS without
	// *transport_socket_match* set, and still send plain text traffic to the same cluster.
	//
	// TODO(incfly): add a detailed architecture doc on intended usage.
	TransportSocketMatches []*Cluster_TransportSocketMatch `` /* 130-byte string literal not displayed */
	// Supplies the name of the cluster which must be unique across all clusters.
	// The cluster name is used when emitting
	// :ref:`statistics <config_cluster_manager_cluster_stats>` if :ref:`alt_stat_name
	// <envoy_api_field_Cluster.alt_stat_name>` is not provided.
	// Any “:“ in the cluster name will be converted to “_“ when emitting statistics.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// An optional alternative to the cluster name to be used while emitting stats.
	// Any “:“ in the name will be converted to “_“ when emitting statistics. This should not be
	// confused with :ref:`Router Filter Header
	// <config_http_filters_router_x-envoy-upstream-alt-stat-name>`.
	AltStatName string `protobuf:"bytes,28,opt,name=alt_stat_name,json=altStatName,proto3" json:"alt_stat_name,omitempty"`
	// Types that are valid to be assigned to ClusterDiscoveryType:
	//	*Cluster_Type
	//	*Cluster_ClusterType
	ClusterDiscoveryType isCluster_ClusterDiscoveryType `protobuf_oneof:"cluster_discovery_type"`
	// Configuration to use for EDS updates for the Cluster.
	EdsClusterConfig *Cluster_EdsClusterConfig `protobuf:"bytes,3,opt,name=eds_cluster_config,json=edsClusterConfig,proto3" json:"eds_cluster_config,omitempty"`
	// The timeout for new network connections to hosts in the cluster.
	ConnectTimeout *types.Duration `protobuf:"bytes,4,opt,name=connect_timeout,json=connectTimeout,proto3" json:"connect_timeout,omitempty"`
	// Soft limit on size of the cluster’s connections read and write buffers. If
	// unspecified, an implementation defined default is applied (1MiB).
	PerConnectionBufferLimitBytes *types.UInt32Value `` /* 154-byte string literal not displayed */
	// The :ref:`load balancer type <arch_overview_load_balancing_types>` to use
	// when picking a host in the cluster.
	LbPolicy Cluster_LbPolicy `protobuf:"varint,6,opt,name=lb_policy,json=lbPolicy,proto3,enum=envoy.api.v2.Cluster_LbPolicy" json:"lb_policy,omitempty"`
	// If the service discovery type is
	// :ref:`STATIC<envoy_api_enum_value_Cluster.DiscoveryType.STATIC>`,
	// :ref:`STRICT_DNS<envoy_api_enum_value_Cluster.DiscoveryType.STRICT_DNS>`
	// or :ref:`LOGICAL_DNS<envoy_api_enum_value_Cluster.DiscoveryType.LOGICAL_DNS>`,
	// then hosts is required.
	//
	// .. attention::
	//
	//   **This field is deprecated**. Set the
	//   :ref:`load_assignment<envoy_api_field_Cluster.load_assignment>` field instead.
	//
	Hosts []*core.Address `protobuf:"bytes,7,rep,name=hosts,proto3" json:"hosts,omitempty"`
	// Setting this is required for specifying members of
	// :ref:`STATIC<envoy_api_enum_value_Cluster.DiscoveryType.STATIC>`,
	// :ref:`STRICT_DNS<envoy_api_enum_value_Cluster.DiscoveryType.STRICT_DNS>`
	// or :ref:`LOGICAL_DNS<envoy_api_enum_value_Cluster.DiscoveryType.LOGICAL_DNS>` clusters.
	// This field supersedes :ref:`hosts<envoy_api_field_Cluster.hosts>` field.
	// [#comment:TODO(dio): Deprecate the hosts field and add it to :ref:`deprecated log<deprecated>`
	// once load_assignment is implemented.]
	//
	// .. attention::
	//
	//   Setting this allows non-EDS cluster types to contain embedded EDS equivalent
	//   :ref:`endpoint assignments<envoy_api_msg_ClusterLoadAssignment>`.
	//   Setting this overrides :ref:`hosts<envoy_api_field_Cluster.hosts>` values.
	//
	LoadAssignment *ClusterLoadAssignment `protobuf:"bytes,33,opt,name=load_assignment,json=loadAssignment,proto3" json:"load_assignment,omitempty"`
	// Optional :ref:`active health checking <arch_overview_health_checking>`
	// configuration for the cluster. If no
	// configuration is specified no health checking will be done and all cluster
	// members will be considered healthy at all times.
	HealthChecks []*core.HealthCheck `protobuf:"bytes,8,rep,name=health_checks,json=healthChecks,proto3" json:"health_checks,omitempty"`
	// Optional maximum requests for a single upstream connection. This parameter
	// is respected by both the HTTP/1.1 and HTTP/2 connection pool
	// implementations. If not specified, there is no limit. Setting this
	// parameter to 1 will effectively disable keep alive.
	MaxRequestsPerConnection *types.UInt32Value `` /* 137-byte string literal not displayed */
	// Optional :ref:`circuit breaking <arch_overview_circuit_break>` for the cluster.
	CircuitBreakers *cluster.CircuitBreakers `protobuf:"bytes,10,opt,name=circuit_breakers,json=circuitBreakers,proto3" json:"circuit_breakers,omitempty"`
	// The TLS configuration for connections to the upstream cluster.
	//
	// .. attention::
	//
	//   **This field is deprecated**. Use `transport_socket` with name `tls` instead. If both are
	//   set, `transport_socket` takes priority.
	TlsContext *auth.UpstreamTlsContext `protobuf:"bytes,11,opt,name=tls_context,json=tlsContext,proto3" json:"tls_context,omitempty"` // Deprecated: Do not use.
	// Additional options when handling HTTP requests upstream. These options will be applicable to
	// both HTTP1 and HTTP2 requests.
	CommonHttpProtocolOptions *core.HttpProtocolOptions `` /* 141-byte string literal not displayed */
	// Additional options when handling HTTP1 requests.
	HttpProtocolOptions *core.Http1ProtocolOptions `protobuf:"bytes,13,opt,name=http_protocol_options,json=httpProtocolOptions,proto3" json:"http_protocol_options,omitempty"`
	// Even if default HTTP2 protocol options are desired, this field must be
	// set so that Envoy will assume that the upstream supports HTTP/2 when
	// making new HTTP connection pool connections. Currently, Envoy only
	// supports prior knowledge for upstream connections. Even if TLS is used
	// with ALPN, `http2_protocol_options` must be specified. As an aside this allows HTTP/2
	// connections to happen over plain text.
	Http2ProtocolOptions *core.Http2ProtocolOptions `protobuf:"bytes,14,opt,name=http2_protocol_options,json=http2ProtocolOptions,proto3" json:"http2_protocol_options,omitempty"`
	// The extension_protocol_options field is used to provide extension-specific protocol options
	// for upstream connections. The key should match the extension filter name, such as
	// "envoy.filters.network.thrift_proxy". See the extension's documentation for details on
	// specific options.
	ExtensionProtocolOptions map[string]*types.Struct `` // Deprecated: Do not use.
	/* 224-byte string literal not displayed */
	// The extension_protocol_options field is used to provide extension-specific protocol options
	// for upstream connections. The key should match the extension filter name, such as
	// "envoy.filters.network.thrift_proxy". See the extension's documentation for details on
	// specific options.
	TypedExtensionProtocolOptions map[string]*types.Any `` /* 241-byte string literal not displayed */
	// If the DNS refresh rate is specified and the cluster type is either
	// :ref:`STRICT_DNS<envoy_api_enum_value_Cluster.DiscoveryType.STRICT_DNS>`,
	// or :ref:`LOGICAL_DNS<envoy_api_enum_value_Cluster.DiscoveryType.LOGICAL_DNS>`,
	// this value is used as the cluster’s DNS refresh
	// rate. The value configured must be at least 1ms. If this setting is not specified, the
	// value defaults to 5000ms. For cluster types other than
	// :ref:`STRICT_DNS<envoy_api_enum_value_Cluster.DiscoveryType.STRICT_DNS>`
	// and :ref:`LOGICAL_DNS<envoy_api_enum_value_Cluster.DiscoveryType.LOGICAL_DNS>`
	// this setting is ignored.
	DnsRefreshRate *types.Duration `protobuf:"bytes,16,opt,name=dns_refresh_rate,json=dnsRefreshRate,proto3" json:"dns_refresh_rate,omitempty"`
	// If the DNS failure refresh rate is specified and the cluster type is either
	// :ref:`STRICT_DNS<envoy_api_enum_value_Cluster.DiscoveryType.STRICT_DNS>`,
	// or :ref:`LOGICAL_DNS<envoy_api_enum_value_Cluster.DiscoveryType.LOGICAL_DNS>`,
	// this is used as the cluster’s DNS refresh rate when requests are failing. If this setting is
	// not specified, the failure refresh rate defaults to the DNS refresh rate. For cluster types
	// other than :ref:`STRICT_DNS<envoy_api_enum_value_Cluster.DiscoveryType.STRICT_DNS>` and
	// :ref:`LOGICAL_DNS<envoy_api_enum_value_Cluster.DiscoveryType.LOGICAL_DNS>` this setting is
	// ignored.
	//
	// Note: Currently, DNS failures and empty DNS responses are not treated differently and this
	// configuration is applied in both situations.
	DnsFailureRefreshRate *Cluster_RefreshRate `` /* 129-byte string literal not displayed */
	// Optional configuration for setting cluster's DNS refresh rate. If the value is set to true,
	// cluster's DNS refresh rate will be set to resource record's TTL which comes from DNS
	// resolution.
	RespectDnsTtl bool `protobuf:"varint,39,opt,name=respect_dns_ttl,json=respectDnsTtl,proto3" json:"respect_dns_ttl,omitempty"`
	// The DNS IP address resolution policy. If this setting is not specified, the
	// value defaults to
	// :ref:`AUTO<envoy_api_enum_value_Cluster.DnsLookupFamily.AUTO>`.
	DnsLookupFamily Cluster_DnsLookupFamily `` /* 152-byte string literal not displayed */
	// If DNS resolvers are specified and the cluster type is either
	// :ref:`STRICT_DNS<envoy_api_enum_value_Cluster.DiscoveryType.STRICT_DNS>`,
	// or :ref:`LOGICAL_DNS<envoy_api_enum_value_Cluster.DiscoveryType.LOGICAL_DNS>`,
	// this value is used to specify the cluster’s dns resolvers.
	// If this setting is not specified, the value defaults to the default
	// resolver, which uses /etc/resolv.conf for configuration. For cluster types
	// other than
	// :ref:`STRICT_DNS<envoy_api_enum_value_Cluster.DiscoveryType.STRICT_DNS>`
	// and :ref:`LOGICAL_DNS<envoy_api_enum_value_Cluster.DiscoveryType.LOGICAL_DNS>`
	// this setting is ignored.
	DnsResolvers []*core.Address `protobuf:"bytes,18,rep,name=dns_resolvers,json=dnsResolvers,proto3" json:"dns_resolvers,omitempty"`
	// If specified, outlier detection will be enabled for this upstream cluster.
	// Each of the configuration values can be overridden via
	// :ref:`runtime values <config_cluster_manager_cluster_runtime_outlier_detection>`.
	OutlierDetection *cluster.OutlierDetection `protobuf:"bytes,19,opt,name=outlier_detection,json=outlierDetection,proto3" json:"outlier_detection,omitempty"`
	// The interval for removing stale hosts from a cluster type
	// :ref:`ORIGINAL_DST<envoy_api_enum_value_Cluster.DiscoveryType.ORIGINAL_DST>`.
	// Hosts are considered stale if they have not been used
	// as upstream destinations during this interval. New hosts are added
	// to original destination clusters on demand as new connections are
	// redirected to Envoy, causing the number of hosts in the cluster to
	// grow over time. Hosts that are not stale (they are actively used as
	// destinations) are kept in the cluster, which allows connections to
	// them remain open, saving the latency that would otherwise be spent
	// on opening new connections. If this setting is not specified, the
	// value defaults to 5000ms. For cluster types other than
	// :ref:`ORIGINAL_DST<envoy_api_enum_value_Cluster.DiscoveryType.ORIGINAL_DST>`
	// this setting is ignored.
	CleanupInterval *types.Duration `protobuf:"bytes,20,opt,name=cleanup_interval,json=cleanupInterval,proto3" json:"cleanup_interval,omitempty"`
	// Optional configuration used to bind newly established upstream connections.
	// This overrides any bind_config specified in the bootstrap proto.
	// If the address and port are empty, no bind will be performed.
	UpstreamBindConfig *core.BindConfig `protobuf:"bytes,21,opt,name=upstream_bind_config,json=upstreamBindConfig,proto3" json:"upstream_bind_config,omitempty"`
	// Configuration for load balancing subsetting.
	LbSubsetConfig *Cluster_LbSubsetConfig `protobuf:"bytes,22,opt,name=lb_subset_config,json=lbSubsetConfig,proto3" json:"lb_subset_config,omitempty"`
	// Optional configuration for the load balancing algorithm selected by
	// LbPolicy. Currently only
	// :ref:`RING_HASH<envoy_api_enum_value_Cluster.LbPolicy.RING_HASH>` and
	// :ref:`LEAST_REQUEST<envoy_api_enum_value_Cluster.LbPolicy.LEAST_REQUEST>`
	// has additional configuration options.
	// Specifying ring_hash_lb_config or least_request_lb_config without setting the corresponding
	// LbPolicy will generate an error at runtime.
	//
	// Types that are valid to be assigned to LbConfig:
	//	*Cluster_RingHashLbConfig_
	//	*Cluster_OriginalDstLbConfig_
	//	*Cluster_LeastRequestLbConfig_
	LbConfig isCluster_LbConfig `protobuf_oneof:"lb_config"`
	// Common configuration for all load balancer implementations.
	CommonLbConfig *Cluster_CommonLbConfig `protobuf:"bytes,27,opt,name=common_lb_config,json=commonLbConfig,proto3" json:"common_lb_config,omitempty"`
	// Optional custom transport socket implementation to use for upstream connections.
	// To setup TLS, set a transport socket with name `tls` and
	// :ref:`UpstreamTlsContexts <envoy_api_msg_auth.UpstreamTlsContext>` in the `typed_config`.
	// If no transport socket configuration is specified, new connections
	// will be set up with plaintext.
	TransportSocket *core.TransportSocket `protobuf:"bytes,24,opt,name=transport_socket,json=transportSocket,proto3" json:"transport_socket,omitempty"`
	// The Metadata field can be used to provide additional information about the
	// cluster. It can be used for stats, logging, and varying filter behavior.
	// Fields should use reverse DNS notation to denote which entity within Envoy
	// will need the information. For instance, if the metadata is intended for
	// the Router filter, the filter name should be specified as *envoy.router*.
	Metadata *core.Metadata `protobuf:"bytes,25,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// Determines how Envoy selects the protocol used to speak to upstream hosts.
	ProtocolSelection Cluster_ClusterProtocolSelection `` /* 165-byte string literal not displayed */
	// Optional options for upstream connections.
	UpstreamConnectionOptions *UpstreamConnectionOptions `` /* 139-byte string literal not displayed */
	// If an upstream host becomes unhealthy (as determined by the configured health checks
	// or outlier detection), immediately close all connections to the failed host.
	//
	// .. note::
	//
	//   This is currently only supported for connections created by tcp_proxy.
	//
	// .. note::
	//
	//   The current implementation of this feature closes all connections immediately when
	//   the unhealthy status is detected. If there are a large number of connections open
	//   to an upstream host that becomes unhealthy, Envoy may spend a substantial amount of
	//   time exclusively closing these connections, and not processing any other traffic.
	CloseConnectionsOnHostHealthFailure bool `` /* 176-byte string literal not displayed */
	// If this cluster uses EDS or STRICT_DNS to configure its hosts, immediately drain
	// connections from any hosts that are removed from service discovery.
	//
	// This only affects behavior for hosts that are being actively health checked.
	// If this flag is not set to true, Envoy will wait until the hosts fail active health
	// checking before removing it from the cluster.
	DrainConnectionsOnHostRemoval bool `` /* 156-byte string literal not displayed */
	// An (optional) network filter chain, listed in the order the filters should be applied.
	// The chain will be applied to all outgoing connections that Envoy makes to the upstream
	// servers of this cluster.
	Filters []*cluster.Filter `protobuf:"bytes,40,rep,name=filters,proto3" json:"filters,omitempty"`
	// [#not-implemented-hide:] New mechanism for LB policy configuration. Used only if the
	// :ref:`lb_policy<envoy_api_field_Cluster.lb_policy>` field has the value
	// :ref:`LOAD_BALANCING_POLICY_CONFIG<envoy_api_enum_value_Cluster.LbPolicy.LOAD_BALANCING_POLICY_CONFIG>`.
	LoadBalancingPolicy *LoadBalancingPolicy `protobuf:"bytes,41,opt,name=load_balancing_policy,json=loadBalancingPolicy,proto3" json:"load_balancing_policy,omitempty"`
	// [#not-implemented-hide:]
	// If present, tells the client where to send load reports via LRS. If not present, the
	// client will fall back to a client-side default, which may be either (a) don't send any
	// load reports or (b) send load reports for all clusters to a single default server
	// (which may be configured in the bootstrap file).
	//
	// Note that if multiple clusters point to the same LRS server, the client may choose to
	// create a separate stream for each cluster or it may choose to coalesce the data for
	// multiple clusters onto a single stream. Either way, the client must make sure to send
	// the data for any given cluster on no more than one stream.
	//
	// [#next-major-version: In the v3 API, we should consider restructuring this somehow,
	// maybe by allowing LRS to go on the ADS stream, or maybe by moving some of the negotiation
	// from the LRS stream here.]
	LrsServer            *core.ConfigSource `protobuf:"bytes,42,opt,name=lrs_server,json=lrsServer,proto3" json:"lrs_server,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

Configuration for a single upstream cluster. [#next-free-field: 45]

func (*Cluster) Descriptor

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

func (*Cluster) GetAltStatName

func (m *Cluster) GetAltStatName() string

func (*Cluster) GetCircuitBreakers

func (m *Cluster) GetCircuitBreakers() *cluster.CircuitBreakers

func (*Cluster) GetCleanupInterval

func (m *Cluster) GetCleanupInterval() *types.Duration

func (*Cluster) GetCloseConnectionsOnHostHealthFailure

func (m *Cluster) GetCloseConnectionsOnHostHealthFailure() bool

func (*Cluster) GetClusterDiscoveryType

func (m *Cluster) GetClusterDiscoveryType() isCluster_ClusterDiscoveryType

func (*Cluster) GetClusterType

func (m *Cluster) GetClusterType() *Cluster_CustomClusterType

func (*Cluster) GetCommonHttpProtocolOptions

func (m *Cluster) GetCommonHttpProtocolOptions() *core.HttpProtocolOptions

func (*Cluster) GetCommonLbConfig

func (m *Cluster) GetCommonLbConfig() *Cluster_CommonLbConfig

func (*Cluster) GetConnectTimeout

func (m *Cluster) GetConnectTimeout() *types.Duration

func (*Cluster) GetDnsFailureRefreshRate added in v0.86.0

func (m *Cluster) GetDnsFailureRefreshRate() *Cluster_RefreshRate

func (*Cluster) GetDnsLookupFamily

func (m *Cluster) GetDnsLookupFamily() Cluster_DnsLookupFamily

func (*Cluster) GetDnsRefreshRate

func (m *Cluster) GetDnsRefreshRate() *types.Duration

func (*Cluster) GetDnsResolvers

func (m *Cluster) GetDnsResolvers() []*core.Address

func (*Cluster) GetDrainConnectionsOnHostRemoval

func (m *Cluster) GetDrainConnectionsOnHostRemoval() bool

func (*Cluster) GetEdsClusterConfig

func (m *Cluster) GetEdsClusterConfig() *Cluster_EdsClusterConfig

func (*Cluster) GetExtensionProtocolOptions deprecated

func (m *Cluster) GetExtensionProtocolOptions() map[string]*types.Struct

Deprecated: Do not use.

func (*Cluster) GetFilters

func (m *Cluster) GetFilters() []*cluster.Filter

func (*Cluster) GetHealthChecks

func (m *Cluster) GetHealthChecks() []*core.HealthCheck

func (*Cluster) GetHosts

func (m *Cluster) GetHosts() []*core.Address

func (*Cluster) GetHttp2ProtocolOptions

func (m *Cluster) GetHttp2ProtocolOptions() *core.Http2ProtocolOptions

func (*Cluster) GetHttpProtocolOptions

func (m *Cluster) GetHttpProtocolOptions() *core.Http1ProtocolOptions

func (*Cluster) GetLbConfig

func (m *Cluster) GetLbConfig() isCluster_LbConfig

func (*Cluster) GetLbPolicy

func (m *Cluster) GetLbPolicy() Cluster_LbPolicy

func (*Cluster) GetLbSubsetConfig

func (m *Cluster) GetLbSubsetConfig() *Cluster_LbSubsetConfig

func (*Cluster) GetLeastRequestLbConfig

func (m *Cluster) GetLeastRequestLbConfig() *Cluster_LeastRequestLbConfig

func (*Cluster) GetLoadAssignment

func (m *Cluster) GetLoadAssignment() *ClusterLoadAssignment

func (*Cluster) GetLoadBalancingPolicy

func (m *Cluster) GetLoadBalancingPolicy() *LoadBalancingPolicy

func (*Cluster) GetLrsServer added in v0.86.0

func (m *Cluster) GetLrsServer() *core.ConfigSource

func (*Cluster) GetMaxRequestsPerConnection

func (m *Cluster) GetMaxRequestsPerConnection() *types.UInt32Value

func (*Cluster) GetMetadata

func (m *Cluster) GetMetadata() *core.Metadata

func (*Cluster) GetName

func (m *Cluster) GetName() string

func (*Cluster) GetOriginalDstLbConfig

func (m *Cluster) GetOriginalDstLbConfig() *Cluster_OriginalDstLbConfig

func (*Cluster) GetOutlierDetection

func (m *Cluster) GetOutlierDetection() *cluster.OutlierDetection

func (*Cluster) GetPerConnectionBufferLimitBytes

func (m *Cluster) GetPerConnectionBufferLimitBytes() *types.UInt32Value

func (*Cluster) GetProtocolSelection

func (m *Cluster) GetProtocolSelection() Cluster_ClusterProtocolSelection

func (*Cluster) GetRespectDnsTtl

func (m *Cluster) GetRespectDnsTtl() bool

func (*Cluster) GetRingHashLbConfig

func (m *Cluster) GetRingHashLbConfig() *Cluster_RingHashLbConfig

func (*Cluster) GetTlsContext deprecated

func (m *Cluster) GetTlsContext() *auth.UpstreamTlsContext

Deprecated: Do not use.

func (*Cluster) GetTransportSocket

func (m *Cluster) GetTransportSocket() *core.TransportSocket

func (*Cluster) GetTransportSocketMatches added in v0.86.0

func (m *Cluster) GetTransportSocketMatches() []*Cluster_TransportSocketMatch

func (*Cluster) GetType

func (m *Cluster) GetType() Cluster_DiscoveryType

func (*Cluster) GetTypedExtensionProtocolOptions

func (m *Cluster) GetTypedExtensionProtocolOptions() map[string]*types.Any

func (*Cluster) GetUpstreamBindConfig

func (m *Cluster) GetUpstreamBindConfig() *core.BindConfig

func (*Cluster) GetUpstreamConnectionOptions

func (m *Cluster) GetUpstreamConnectionOptions() *UpstreamConnectionOptions

func (*Cluster) Marshal

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

func (*Cluster) MarshalTo

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

func (*Cluster) MarshalToSizedBuffer

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

func (*Cluster) ProtoMessage

func (*Cluster) ProtoMessage()

func (*Cluster) Reset

func (m *Cluster) Reset()

func (*Cluster) Size

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

func (*Cluster) String

func (m *Cluster) String() string

func (*Cluster) Unmarshal

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

func (*Cluster) Validate

func (m *Cluster) Validate() error

Validate checks the field values on Cluster with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*Cluster) XXX_DiscardUnknown

func (m *Cluster) XXX_DiscardUnknown()

func (*Cluster) XXX_Marshal

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

func (*Cluster) XXX_Merge

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

func (*Cluster) XXX_OneofWrappers

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

XXX_OneofWrappers is for the internal use of the proto package.

func (*Cluster) XXX_Size

func (m *Cluster) XXX_Size() int

func (*Cluster) XXX_Unmarshal

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

type ClusterDiscoveryServiceClient

type ClusterDiscoveryServiceClient interface {
	StreamClusters(ctx context.Context, opts ...grpc.CallOption) (ClusterDiscoveryService_StreamClustersClient, error)
	DeltaClusters(ctx context.Context, opts ...grpc.CallOption) (ClusterDiscoveryService_DeltaClustersClient, error)
	FetchClusters(ctx context.Context, in *DiscoveryRequest, opts ...grpc.CallOption) (*DiscoveryResponse, error)
}

ClusterDiscoveryServiceClient is the client API for ClusterDiscoveryService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewClusterDiscoveryServiceClient

func NewClusterDiscoveryServiceClient(cc *grpc.ClientConn) ClusterDiscoveryServiceClient

type ClusterDiscoveryServiceServer

type ClusterDiscoveryServiceServer interface {
	StreamClusters(ClusterDiscoveryService_StreamClustersServer) error
	DeltaClusters(ClusterDiscoveryService_DeltaClustersServer) error
	FetchClusters(context.Context, *DiscoveryRequest) (*DiscoveryResponse, error)
}

ClusterDiscoveryServiceServer is the server API for ClusterDiscoveryService service.

type ClusterDiscoveryService_DeltaClustersClient

type ClusterDiscoveryService_DeltaClustersClient interface {
	Send(*DeltaDiscoveryRequest) error
	Recv() (*DeltaDiscoveryResponse, error)
	grpc.ClientStream
}

type ClusterDiscoveryService_DeltaClustersServer

type ClusterDiscoveryService_DeltaClustersServer interface {
	Send(*DeltaDiscoveryResponse) error
	Recv() (*DeltaDiscoveryRequest, error)
	grpc.ServerStream
}

type ClusterDiscoveryService_StreamClustersClient

type ClusterDiscoveryService_StreamClustersClient interface {
	Send(*DiscoveryRequest) error
	Recv() (*DiscoveryResponse, error)
	grpc.ClientStream
}

type ClusterDiscoveryService_StreamClustersServer

type ClusterDiscoveryService_StreamClustersServer interface {
	Send(*DiscoveryResponse) error
	Recv() (*DiscoveryRequest, error)
	grpc.ServerStream
}

type ClusterLoadAssignment

type ClusterLoadAssignment struct {
	// Name of the cluster. This will be the :ref:`service_name
	// <envoy_api_field_Cluster.EdsClusterConfig.service_name>` value if specified
	// in the cluster :ref:`EdsClusterConfig
	// <envoy_api_msg_Cluster.EdsClusterConfig>`.
	ClusterName string `protobuf:"bytes,1,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"`
	// List of endpoints to load balance to.
	Endpoints []*endpoint.LocalityLbEndpoints `protobuf:"bytes,2,rep,name=endpoints,proto3" json:"endpoints,omitempty"`
	// Map of named endpoints that can be referenced in LocalityLbEndpoints.
	NamedEndpoints map[string]*endpoint.Endpoint `` /* 191-byte string literal not displayed */
	// Load balancing policy settings.
	Policy               *ClusterLoadAssignment_Policy `protobuf:"bytes,4,opt,name=policy,proto3" json:"policy,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                      `json:"-"`
	XXX_unrecognized     []byte                        `json:"-"`
	XXX_sizecache        int32                         `json:"-"`
}

Each route from RDS will map to a single cluster or traffic split across clusters using weights expressed in the RDS WeightedCluster.

With EDS, each cluster is treated independently from a LB perspective, with LB taking place between the Localities within a cluster and at a finer granularity between the hosts within a locality. The percentage of traffic for each endpoint is determined by both its load_balancing_weight, and the load_balancing_weight of its locality. First, a locality will be selected, then an endpoint within that locality will be chose based on its weight. [#next-free-field: 6]

func (*ClusterLoadAssignment) Descriptor

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

func (*ClusterLoadAssignment) GetClusterName

func (m *ClusterLoadAssignment) GetClusterName() string

func (*ClusterLoadAssignment) GetEndpoints

func (m *ClusterLoadAssignment) GetEndpoints() []*endpoint.LocalityLbEndpoints

func (*ClusterLoadAssignment) GetNamedEndpoints

func (m *ClusterLoadAssignment) GetNamedEndpoints() map[string]*endpoint.Endpoint

func (*ClusterLoadAssignment) GetPolicy

func (*ClusterLoadAssignment) Marshal

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

func (*ClusterLoadAssignment) MarshalTo

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

func (*ClusterLoadAssignment) MarshalToSizedBuffer

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

func (*ClusterLoadAssignment) ProtoMessage

func (*ClusterLoadAssignment) ProtoMessage()

func (*ClusterLoadAssignment) Reset

func (m *ClusterLoadAssignment) Reset()

func (*ClusterLoadAssignment) Size

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

func (*ClusterLoadAssignment) String

func (m *ClusterLoadAssignment) String() string

func (*ClusterLoadAssignment) Unmarshal

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

func (*ClusterLoadAssignment) Validate

func (m *ClusterLoadAssignment) Validate() error

Validate checks the field values on ClusterLoadAssignment with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*ClusterLoadAssignment) XXX_DiscardUnknown

func (m *ClusterLoadAssignment) XXX_DiscardUnknown()

func (*ClusterLoadAssignment) XXX_Marshal

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

func (*ClusterLoadAssignment) XXX_Merge

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

func (*ClusterLoadAssignment) XXX_Size

func (m *ClusterLoadAssignment) XXX_Size() int

func (*ClusterLoadAssignment) XXX_Unmarshal

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

type ClusterLoadAssignmentValidationError

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

ClusterLoadAssignmentValidationError is the validation error returned by ClusterLoadAssignment.Validate if the designated constraints aren't met.

func (ClusterLoadAssignmentValidationError) Cause

Cause function returns cause value.

func (ClusterLoadAssignmentValidationError) Error

Error satisfies the builtin error interface

func (ClusterLoadAssignmentValidationError) ErrorName

ErrorName returns error name.

func (ClusterLoadAssignmentValidationError) Field

Field function returns field value.

func (ClusterLoadAssignmentValidationError) Key

Key function returns key value.

func (ClusterLoadAssignmentValidationError) Reason

Reason function returns reason value.

type ClusterLoadAssignment_Policy

type ClusterLoadAssignment_Policy struct {
	// Action to trim the overall incoming traffic to protect the upstream
	// hosts. This action allows protection in case the hosts are unable to
	// recover from an outage, or unable to autoscale or unable to handle
	// incoming traffic volume for any reason.
	//
	// At the client each category is applied one after the other to generate
	// the 'actual' drop percentage on all outgoing traffic. For example:
	//
	// .. code-block:: json
	//
	//  { "drop_overloads": [
	//      { "category": "throttle", "drop_percentage": 60 }
	//      { "category": "lb", "drop_percentage": 50 }
	//  ]}
	//
	// The actual drop percentages applied to the traffic at the clients will be
	//    "throttle"_drop = 60%
	//    "lb"_drop = 20%  // 50% of the remaining 'actual' load, which is 40%.
	//    actual_outgoing_load = 20% // remaining after applying all categories.
	DropOverloads []*ClusterLoadAssignment_Policy_DropOverload `protobuf:"bytes,2,rep,name=drop_overloads,json=dropOverloads,proto3" json:"drop_overloads,omitempty"`
	// Priority levels and localities are considered overprovisioned with this
	// factor (in percentage). This means that we don't consider a priority
	// level or locality unhealthy until the percentage of healthy hosts
	// multiplied by the overprovisioning factor drops below 100.
	// With the default value 140(1.4), Envoy doesn't consider a priority level
	// or a locality unhealthy until their percentage of healthy hosts drops
	// below 72%. For example:
	//
	// .. code-block:: json
	//
	//  { "overprovisioning_factor": 100 }
	//
	// Read more at :ref:`priority levels <arch_overview_load_balancing_priority_levels>` and
	// :ref:`localities <arch_overview_load_balancing_locality_weighted_lb>`.
	OverprovisioningFactor *types.UInt32Value `` /* 127-byte string literal not displayed */
	// The max time until which the endpoints from this assignment can be used.
	// If no new assignments are received before this time expires the endpoints
	// are considered stale and should be marked unhealthy.
	// Defaults to 0 which means endpoints never go stale.
	EndpointStaleAfter *types.Duration `protobuf:"bytes,4,opt,name=endpoint_stale_after,json=endpointStaleAfter,proto3" json:"endpoint_stale_after,omitempty"`
	// The flag to disable overprovisioning. If it is set to true,
	// :ref:`overprovisioning factor
	// <arch_overview_load_balancing_overprovisioning_factor>` will be ignored
	// and Envoy will not perform graceful failover between priority levels or
	// localities as endpoints become unhealthy. Otherwise Envoy will perform
	// graceful failover as :ref:`overprovisioning factor
	// <arch_overview_load_balancing_overprovisioning_factor>` suggests.
	// [#next-major-version: Unify with overprovisioning config as a single message.]
	// [#not-implemented-hide:]
	DisableOverprovisioning bool     `` /* 131-byte string literal not displayed */
	XXX_NoUnkeyedLiteral    struct{} `json:"-"`
	XXX_unrecognized        []byte   `json:"-"`
	XXX_sizecache           int32    `json:"-"`
}

Load balancing policy settings. [#next-free-field: 6]

func (*ClusterLoadAssignment_Policy) Descriptor

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

func (*ClusterLoadAssignment_Policy) GetDisableOverprovisioning

func (m *ClusterLoadAssignment_Policy) GetDisableOverprovisioning() bool

func (*ClusterLoadAssignment_Policy) GetDropOverloads

func (*ClusterLoadAssignment_Policy) GetEndpointStaleAfter

func (m *ClusterLoadAssignment_Policy) GetEndpointStaleAfter() *types.Duration

func (*ClusterLoadAssignment_Policy) GetOverprovisioningFactor

func (m *ClusterLoadAssignment_Policy) GetOverprovisioningFactor() *types.UInt32Value

func (*ClusterLoadAssignment_Policy) Marshal

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

func (*ClusterLoadAssignment_Policy) MarshalTo

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

func (*ClusterLoadAssignment_Policy) MarshalToSizedBuffer

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

func (*ClusterLoadAssignment_Policy) ProtoMessage

func (*ClusterLoadAssignment_Policy) ProtoMessage()

func (*ClusterLoadAssignment_Policy) Reset

func (m *ClusterLoadAssignment_Policy) Reset()

func (*ClusterLoadAssignment_Policy) Size

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

func (*ClusterLoadAssignment_Policy) String

func (*ClusterLoadAssignment_Policy) Unmarshal

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

func (*ClusterLoadAssignment_Policy) Validate

func (m *ClusterLoadAssignment_Policy) Validate() error

Validate checks the field values on ClusterLoadAssignment_Policy with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*ClusterLoadAssignment_Policy) XXX_DiscardUnknown

func (m *ClusterLoadAssignment_Policy) XXX_DiscardUnknown()

func (*ClusterLoadAssignment_Policy) XXX_Marshal

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

func (*ClusterLoadAssignment_Policy) XXX_Merge

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

func (*ClusterLoadAssignment_Policy) XXX_Size

func (m *ClusterLoadAssignment_Policy) XXX_Size() int

func (*ClusterLoadAssignment_Policy) XXX_Unmarshal

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

type ClusterLoadAssignment_PolicyValidationError

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

ClusterLoadAssignment_PolicyValidationError is the validation error returned by ClusterLoadAssignment_Policy.Validate if the designated constraints aren't met.

func (ClusterLoadAssignment_PolicyValidationError) Cause

Cause function returns cause value.

func (ClusterLoadAssignment_PolicyValidationError) Error

Error satisfies the builtin error interface

func (ClusterLoadAssignment_PolicyValidationError) ErrorName

ErrorName returns error name.

func (ClusterLoadAssignment_PolicyValidationError) Field

Field function returns field value.

func (ClusterLoadAssignment_PolicyValidationError) Key

Key function returns key value.

func (ClusterLoadAssignment_PolicyValidationError) Reason

Reason function returns reason value.

type ClusterLoadAssignment_Policy_DropOverload

type ClusterLoadAssignment_Policy_DropOverload struct {
	// Identifier for the policy specifying the drop.
	Category string `protobuf:"bytes,1,opt,name=category,proto3" json:"category,omitempty"`
	// Percentage of traffic that should be dropped for the category.
	DropPercentage       *_type.FractionalPercent `protobuf:"bytes,2,opt,name=drop_percentage,json=dropPercentage,proto3" json:"drop_percentage,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

func (*ClusterLoadAssignment_Policy_DropOverload) Descriptor

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

func (*ClusterLoadAssignment_Policy_DropOverload) GetCategory

func (*ClusterLoadAssignment_Policy_DropOverload) GetDropPercentage

func (*ClusterLoadAssignment_Policy_DropOverload) Marshal

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

func (*ClusterLoadAssignment_Policy_DropOverload) MarshalTo

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

func (*ClusterLoadAssignment_Policy_DropOverload) MarshalToSizedBuffer

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

func (*ClusterLoadAssignment_Policy_DropOverload) ProtoMessage

func (*ClusterLoadAssignment_Policy_DropOverload) Reset

func (*ClusterLoadAssignment_Policy_DropOverload) Size

func (*ClusterLoadAssignment_Policy_DropOverload) String

func (*ClusterLoadAssignment_Policy_DropOverload) Unmarshal

func (*ClusterLoadAssignment_Policy_DropOverload) Validate

Validate checks the field values on ClusterLoadAssignment_Policy_DropOverload with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*ClusterLoadAssignment_Policy_DropOverload) XXX_DiscardUnknown

func (m *ClusterLoadAssignment_Policy_DropOverload) XXX_DiscardUnknown()

func (*ClusterLoadAssignment_Policy_DropOverload) XXX_Marshal

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

func (*ClusterLoadAssignment_Policy_DropOverload) XXX_Merge

func (*ClusterLoadAssignment_Policy_DropOverload) XXX_Size

func (*ClusterLoadAssignment_Policy_DropOverload) XXX_Unmarshal

type ClusterLoadAssignment_Policy_DropOverloadValidationError

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

ClusterLoadAssignment_Policy_DropOverloadValidationError is the validation error returned by ClusterLoadAssignment_Policy_DropOverload.Validate if the designated constraints aren't met.

func (ClusterLoadAssignment_Policy_DropOverloadValidationError) Cause

Cause function returns cause value.

func (ClusterLoadAssignment_Policy_DropOverloadValidationError) Error

Error satisfies the builtin error interface

func (ClusterLoadAssignment_Policy_DropOverloadValidationError) ErrorName

ErrorName returns error name.

func (ClusterLoadAssignment_Policy_DropOverloadValidationError) Field

Field function returns field value.

func (ClusterLoadAssignment_Policy_DropOverloadValidationError) Key

Key function returns key value.

func (ClusterLoadAssignment_Policy_DropOverloadValidationError) Reason

Reason function returns reason value.

type ClusterValidationError

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

ClusterValidationError is the validation error returned by Cluster.Validate if the designated constraints aren't met.

func (ClusterValidationError) Cause

func (e ClusterValidationError) Cause() error

Cause function returns cause value.

func (ClusterValidationError) Error

func (e ClusterValidationError) Error() string

Error satisfies the builtin error interface

func (ClusterValidationError) ErrorName

func (e ClusterValidationError) ErrorName() string

ErrorName returns error name.

func (ClusterValidationError) Field

func (e ClusterValidationError) Field() string

Field function returns field value.

func (ClusterValidationError) Key

func (e ClusterValidationError) Key() bool

Key function returns key value.

func (ClusterValidationError) Reason

func (e ClusterValidationError) Reason() string

Reason function returns reason value.

type Cluster_ClusterProtocolSelection

type Cluster_ClusterProtocolSelection int32
const (
	// Cluster can only operate on one of the possible upstream protocols (HTTP1.1, HTTP2).
	// If :ref:`http2_protocol_options <envoy_api_field_Cluster.http2_protocol_options>` are
	// present, HTTP2 will be used, otherwise HTTP1.1 will be used.
	Cluster_USE_CONFIGURED_PROTOCOL Cluster_ClusterProtocolSelection = 0
	// Use HTTP1.1 or HTTP2, depending on which one is used on the downstream connection.
	Cluster_USE_DOWNSTREAM_PROTOCOL Cluster_ClusterProtocolSelection = 1
)

func (Cluster_ClusterProtocolSelection) EnumDescriptor

func (Cluster_ClusterProtocolSelection) EnumDescriptor() ([]byte, []int)

func (Cluster_ClusterProtocolSelection) String

type Cluster_ClusterType

type Cluster_ClusterType struct {
	ClusterType *Cluster_CustomClusterType `protobuf:"bytes,38,opt,name=cluster_type,json=clusterType,proto3,oneof"`
}

func (*Cluster_ClusterType) MarshalTo

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

func (*Cluster_ClusterType) MarshalToSizedBuffer

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

func (*Cluster_ClusterType) Size

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

type Cluster_CommonLbConfig

type Cluster_CommonLbConfig struct {
	// Configures the :ref:`healthy panic threshold <arch_overview_load_balancing_panic_threshold>`.
	// If not specified, the default is 50%.
	// To disable panic mode, set to 0%.
	//
	// .. note::
	//   The specified percent will be truncated to the nearest 1%.
	HealthyPanicThreshold *_type.Percent `` /* 126-byte string literal not displayed */
	// Types that are valid to be assigned to LocalityConfigSpecifier:
	//	*Cluster_CommonLbConfig_ZoneAwareLbConfig_
	//	*Cluster_CommonLbConfig_LocalityWeightedLbConfig_
	LocalityConfigSpecifier isCluster_CommonLbConfig_LocalityConfigSpecifier `protobuf_oneof:"locality_config_specifier"`
	// If set, all health check/weight/metadata updates that happen within this duration will be
	// merged and delivered in one shot when the duration expires. The start of the duration is when
	// the first update happens. This is useful for big clusters, with potentially noisy deploys
	// that might trigger excessive CPU usage due to a constant stream of healthcheck state changes
	// or metadata updates. The first set of updates to be seen apply immediately (e.g.: a new
	// cluster). Please always keep in mind that the use of sandbox technologies may change this
	// behavior.
	//
	// If this is not set, we default to a merge window of 1000ms. To disable it, set the merge
	// window to 0.
	//
	// Note: merging does not apply to cluster membership changes (e.g.: adds/removes); this is
	// because merging those updates isn't currently safe. See
	// https://github.com/envoyproxy/envoy/pull/3941.
	UpdateMergeWindow *types.Duration `protobuf:"bytes,4,opt,name=update_merge_window,json=updateMergeWindow,proto3" json:"update_merge_window,omitempty"`
	// If set to true, Envoy will not consider new hosts when computing load balancing weights until
	// they have been health checked for the first time. This will have no effect unless
	// active health checking is also configured.
	//
	// Ignoring a host means that for any load balancing calculations that adjust weights based
	// on the ratio of eligible hosts and total hosts (priority spillover, locality weighting and
	// panic mode) Envoy will exclude these hosts in the denominator.
	//
	// For example, with hosts in two priorities P0 and P1, where P0 looks like
	// {healthy, unhealthy (new), unhealthy (new)}
	// and where P1 looks like
	// {healthy, healthy}
	// all traffic will still hit P0, as 1 / (3 - 2) = 1.
	//
	// Enabling this will allow scaling up the number of hosts for a given cluster without entering
	// panic mode or triggering priority spillover, assuming the hosts pass the first health check.
	//
	// If panic mode is triggered, new hosts are still eligible for traffic; they simply do not
	// contribute to the calculation when deciding whether panic mode is enabled or not.
	IgnoreNewHostsUntilFirstHc bool `` /* 148-byte string literal not displayed */
	// If set to `true`, the cluster manager will drain all existing
	// connections to upstream hosts whenever hosts are added or removed from the cluster.
	CloseConnectionsOnHostSetChange bool     `` /* 163-byte string literal not displayed */
	XXX_NoUnkeyedLiteral            struct{} `json:"-"`
	XXX_unrecognized                []byte   `json:"-"`
	XXX_sizecache                   int32    `json:"-"`
}

Common configuration for all load balancer implementations. [#next-free-field: 7]

func (*Cluster_CommonLbConfig) Descriptor

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

func (*Cluster_CommonLbConfig) GetCloseConnectionsOnHostSetChange

func (m *Cluster_CommonLbConfig) GetCloseConnectionsOnHostSetChange() bool

func (*Cluster_CommonLbConfig) GetHealthyPanicThreshold

func (m *Cluster_CommonLbConfig) GetHealthyPanicThreshold() *_type.Percent

func (*Cluster_CommonLbConfig) GetIgnoreNewHostsUntilFirstHc

func (m *Cluster_CommonLbConfig) GetIgnoreNewHostsUntilFirstHc() bool

func (*Cluster_CommonLbConfig) GetLocalityConfigSpecifier

func (m *Cluster_CommonLbConfig) GetLocalityConfigSpecifier() isCluster_CommonLbConfig_LocalityConfigSpecifier

func (*Cluster_CommonLbConfig) GetLocalityWeightedLbConfig

func (*Cluster_CommonLbConfig) GetUpdateMergeWindow

func (m *Cluster_CommonLbConfig) GetUpdateMergeWindow() *types.Duration

func (*Cluster_CommonLbConfig) GetZoneAwareLbConfig

func (*Cluster_CommonLbConfig) Marshal

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

func (*Cluster_CommonLbConfig) MarshalTo

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

func (*Cluster_CommonLbConfig) MarshalToSizedBuffer

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

func (*Cluster_CommonLbConfig) ProtoMessage

func (*Cluster_CommonLbConfig) ProtoMessage()

func (*Cluster_CommonLbConfig) Reset

func (m *Cluster_CommonLbConfig) Reset()

func (*Cluster_CommonLbConfig) Size

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

func (*Cluster_CommonLbConfig) String

func (m *Cluster_CommonLbConfig) String() string

func (*Cluster_CommonLbConfig) Unmarshal

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

func (*Cluster_CommonLbConfig) Validate

func (m *Cluster_CommonLbConfig) Validate() error

Validate checks the field values on Cluster_CommonLbConfig with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*Cluster_CommonLbConfig) XXX_DiscardUnknown

func (m *Cluster_CommonLbConfig) XXX_DiscardUnknown()

func (*Cluster_CommonLbConfig) XXX_Marshal

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

func (*Cluster_CommonLbConfig) XXX_Merge

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

func (*Cluster_CommonLbConfig) XXX_OneofWrappers

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

XXX_OneofWrappers is for the internal use of the proto package.

func (*Cluster_CommonLbConfig) XXX_Size

func (m *Cluster_CommonLbConfig) XXX_Size() int

func (*Cluster_CommonLbConfig) XXX_Unmarshal

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

type Cluster_CommonLbConfigValidationError

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

Cluster_CommonLbConfigValidationError is the validation error returned by Cluster_CommonLbConfig.Validate if the designated constraints aren't met.

func (Cluster_CommonLbConfigValidationError) Cause

Cause function returns cause value.

func (Cluster_CommonLbConfigValidationError) Error

Error satisfies the builtin error interface

func (Cluster_CommonLbConfigValidationError) ErrorName

ErrorName returns error name.

func (Cluster_CommonLbConfigValidationError) Field

Field function returns field value.

func (Cluster_CommonLbConfigValidationError) Key

Key function returns key value.

func (Cluster_CommonLbConfigValidationError) Reason

Reason function returns reason value.

type Cluster_CommonLbConfig_LocalityWeightedLbConfig

type Cluster_CommonLbConfig_LocalityWeightedLbConfig struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Configuration for :ref:`locality weighted load balancing <arch_overview_load_balancing_locality_weighted_lb>`

func (*Cluster_CommonLbConfig_LocalityWeightedLbConfig) Descriptor

func (*Cluster_CommonLbConfig_LocalityWeightedLbConfig) Marshal

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

func (*Cluster_CommonLbConfig_LocalityWeightedLbConfig) MarshalTo

func (*Cluster_CommonLbConfig_LocalityWeightedLbConfig) MarshalToSizedBuffer

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

func (*Cluster_CommonLbConfig_LocalityWeightedLbConfig) ProtoMessage

func (*Cluster_CommonLbConfig_LocalityWeightedLbConfig) Reset

func (*Cluster_CommonLbConfig_LocalityWeightedLbConfig) Size

func (*Cluster_CommonLbConfig_LocalityWeightedLbConfig) String

func (*Cluster_CommonLbConfig_LocalityWeightedLbConfig) Unmarshal

func (*Cluster_CommonLbConfig_LocalityWeightedLbConfig) Validate

Validate checks the field values on Cluster_CommonLbConfig_LocalityWeightedLbConfig with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*Cluster_CommonLbConfig_LocalityWeightedLbConfig) XXX_DiscardUnknown

func (m *Cluster_CommonLbConfig_LocalityWeightedLbConfig) XXX_DiscardUnknown()

func (*Cluster_CommonLbConfig_LocalityWeightedLbConfig) XXX_Marshal

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

func (*Cluster_CommonLbConfig_LocalityWeightedLbConfig) XXX_Merge

func (*Cluster_CommonLbConfig_LocalityWeightedLbConfig) XXX_Size

func (*Cluster_CommonLbConfig_LocalityWeightedLbConfig) XXX_Unmarshal

type Cluster_CommonLbConfig_LocalityWeightedLbConfigValidationError

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

Cluster_CommonLbConfig_LocalityWeightedLbConfigValidationError is the validation error returned by Cluster_CommonLbConfig_LocalityWeightedLbConfig.Validate if the designated constraints aren't met.

func (Cluster_CommonLbConfig_LocalityWeightedLbConfigValidationError) Cause

Cause function returns cause value.

func (Cluster_CommonLbConfig_LocalityWeightedLbConfigValidationError) Error

Error satisfies the builtin error interface

func (Cluster_CommonLbConfig_LocalityWeightedLbConfigValidationError) ErrorName

ErrorName returns error name.

func (Cluster_CommonLbConfig_LocalityWeightedLbConfigValidationError) Field

Field function returns field value.

func (Cluster_CommonLbConfig_LocalityWeightedLbConfigValidationError) Key

Key function returns key value.

func (Cluster_CommonLbConfig_LocalityWeightedLbConfigValidationError) Reason

Reason function returns reason value.

type Cluster_CommonLbConfig_LocalityWeightedLbConfig_

type Cluster_CommonLbConfig_LocalityWeightedLbConfig_ struct {
	LocalityWeightedLbConfig *Cluster_CommonLbConfig_LocalityWeightedLbConfig `protobuf:"bytes,3,opt,name=locality_weighted_lb_config,json=localityWeightedLbConfig,proto3,oneof"`
}

func (*Cluster_CommonLbConfig_LocalityWeightedLbConfig_) MarshalTo

func (*Cluster_CommonLbConfig_LocalityWeightedLbConfig_) MarshalToSizedBuffer

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

func (*Cluster_CommonLbConfig_LocalityWeightedLbConfig_) Size

type Cluster_CommonLbConfig_ZoneAwareLbConfig

type Cluster_CommonLbConfig_ZoneAwareLbConfig struct {
	// Configures percentage of requests that will be considered for zone aware routing
	// if zone aware routing is configured. If not specified, the default is 100%.
	// * :ref:`runtime values <config_cluster_manager_cluster_runtime_zone_routing>`.
	// * :ref:`Zone aware routing support <arch_overview_load_balancing_zone_aware_routing>`.
	RoutingEnabled *_type.Percent `protobuf:"bytes,1,opt,name=routing_enabled,json=routingEnabled,proto3" json:"routing_enabled,omitempty"`
	// Configures minimum upstream cluster size required for zone aware routing
	// If upstream cluster size is less than specified, zone aware routing is not performed
	// even if zone aware routing is configured. If not specified, the default is 6.
	// * :ref:`runtime values <config_cluster_manager_cluster_runtime_zone_routing>`.
	// * :ref:`Zone aware routing support <arch_overview_load_balancing_zone_aware_routing>`.
	MinClusterSize *types.UInt64Value `protobuf:"bytes,2,opt,name=min_cluster_size,json=minClusterSize,proto3" json:"min_cluster_size,omitempty"`
	// If set to true, Envoy will not consider any hosts when the cluster is in :ref:`panic
	// mode<arch_overview_load_balancing_panic_threshold>`. Instead, the cluster will fail all
	// requests as if all hosts are unhealthy. This can help avoid potentially overwhelming a
	// failing service.
	FailTrafficOnPanic   bool     `protobuf:"varint,3,opt,name=fail_traffic_on_panic,json=failTrafficOnPanic,proto3" json:"fail_traffic_on_panic,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Configuration for :ref:`zone aware routing <arch_overview_load_balancing_zone_aware_routing>`.

func (*Cluster_CommonLbConfig_ZoneAwareLbConfig) Descriptor

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

func (*Cluster_CommonLbConfig_ZoneAwareLbConfig) GetFailTrafficOnPanic added in v0.86.0

func (m *Cluster_CommonLbConfig_ZoneAwareLbConfig) GetFailTrafficOnPanic() bool

func (*Cluster_CommonLbConfig_ZoneAwareLbConfig) GetMinClusterSize

func (*Cluster_CommonLbConfig_ZoneAwareLbConfig) GetRoutingEnabled

func (m *Cluster_CommonLbConfig_ZoneAwareLbConfig) GetRoutingEnabled() *_type.Percent

func (*Cluster_CommonLbConfig_ZoneAwareLbConfig) Marshal

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

func (*Cluster_CommonLbConfig_ZoneAwareLbConfig) MarshalTo

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

func (*Cluster_CommonLbConfig_ZoneAwareLbConfig) MarshalToSizedBuffer

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

func (*Cluster_CommonLbConfig_ZoneAwareLbConfig) ProtoMessage

func (*Cluster_CommonLbConfig_ZoneAwareLbConfig) Reset

func (*Cluster_CommonLbConfig_ZoneAwareLbConfig) Size

func (*Cluster_CommonLbConfig_ZoneAwareLbConfig) String

func (*Cluster_CommonLbConfig_ZoneAwareLbConfig) Unmarshal

func (*Cluster_CommonLbConfig_ZoneAwareLbConfig) Validate

Validate checks the field values on Cluster_CommonLbConfig_ZoneAwareLbConfig with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*Cluster_CommonLbConfig_ZoneAwareLbConfig) XXX_DiscardUnknown

func (m *Cluster_CommonLbConfig_ZoneAwareLbConfig) XXX_DiscardUnknown()

func (*Cluster_CommonLbConfig_ZoneAwareLbConfig) XXX_Marshal

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

func (*Cluster_CommonLbConfig_ZoneAwareLbConfig) XXX_Merge

func (*Cluster_CommonLbConfig_ZoneAwareLbConfig) XXX_Size

func (*Cluster_CommonLbConfig_ZoneAwareLbConfig) XXX_Unmarshal

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

type Cluster_CommonLbConfig_ZoneAwareLbConfigValidationError

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

Cluster_CommonLbConfig_ZoneAwareLbConfigValidationError is the validation error returned by Cluster_CommonLbConfig_ZoneAwareLbConfig.Validate if the designated constraints aren't met.

func (Cluster_CommonLbConfig_ZoneAwareLbConfigValidationError) Cause

Cause function returns cause value.

func (Cluster_CommonLbConfig_ZoneAwareLbConfigValidationError) Error

Error satisfies the builtin error interface

func (Cluster_CommonLbConfig_ZoneAwareLbConfigValidationError) ErrorName

ErrorName returns error name.

func (Cluster_CommonLbConfig_ZoneAwareLbConfigValidationError) Field

Field function returns field value.

func (Cluster_CommonLbConfig_ZoneAwareLbConfigValidationError) Key

Key function returns key value.

func (Cluster_CommonLbConfig_ZoneAwareLbConfigValidationError) Reason

Reason function returns reason value.

type Cluster_CommonLbConfig_ZoneAwareLbConfig_

type Cluster_CommonLbConfig_ZoneAwareLbConfig_ struct {
	ZoneAwareLbConfig *Cluster_CommonLbConfig_ZoneAwareLbConfig `protobuf:"bytes,2,opt,name=zone_aware_lb_config,json=zoneAwareLbConfig,proto3,oneof"`
}

func (*Cluster_CommonLbConfig_ZoneAwareLbConfig_) MarshalTo

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

func (*Cluster_CommonLbConfig_ZoneAwareLbConfig_) MarshalToSizedBuffer

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

func (*Cluster_CommonLbConfig_ZoneAwareLbConfig_) Size

type Cluster_CustomClusterType

type Cluster_CustomClusterType struct {
	// The type of the cluster to instantiate. The name must match a supported cluster type.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Cluster specific configuration which depends on the cluster being instantiated.
	// See the supported cluster for further documentation.
	TypedConfig          *types.Any `protobuf:"bytes,2,opt,name=typed_config,json=typedConfig,proto3" json:"typed_config,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

Extended cluster type.

func (*Cluster_CustomClusterType) Descriptor

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

func (*Cluster_CustomClusterType) GetName

func (m *Cluster_CustomClusterType) GetName() string

func (*Cluster_CustomClusterType) GetTypedConfig

func (m *Cluster_CustomClusterType) GetTypedConfig() *types.Any

func (*Cluster_CustomClusterType) Marshal

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

func (*Cluster_CustomClusterType) MarshalTo

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

func (*Cluster_CustomClusterType) MarshalToSizedBuffer

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

func (*Cluster_CustomClusterType) ProtoMessage

func (*Cluster_CustomClusterType) ProtoMessage()

func (*Cluster_CustomClusterType) Reset

func (m *Cluster_CustomClusterType) Reset()

func (*Cluster_CustomClusterType) Size

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

func (*Cluster_CustomClusterType) String

func (m *Cluster_CustomClusterType) String() string

func (*Cluster_CustomClusterType) Unmarshal

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

func (*Cluster_CustomClusterType) Validate

func (m *Cluster_CustomClusterType) Validate() error

Validate checks the field values on Cluster_CustomClusterType with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*Cluster_CustomClusterType) XXX_DiscardUnknown

func (m *Cluster_CustomClusterType) XXX_DiscardUnknown()

func (*Cluster_CustomClusterType) XXX_Marshal

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

func (*Cluster_CustomClusterType) XXX_Merge

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

func (*Cluster_CustomClusterType) XXX_Size

func (m *Cluster_CustomClusterType) XXX_Size() int

func (*Cluster_CustomClusterType) XXX_Unmarshal

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

type Cluster_CustomClusterTypeValidationError

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

Cluster_CustomClusterTypeValidationError is the validation error returned by Cluster_CustomClusterType.Validate if the designated constraints aren't met.

func (Cluster_CustomClusterTypeValidationError) Cause

Cause function returns cause value.

func (Cluster_CustomClusterTypeValidationError) Error

Error satisfies the builtin error interface

func (Cluster_CustomClusterTypeValidationError) ErrorName

ErrorName returns error name.

func (Cluster_CustomClusterTypeValidationError) Field

Field function returns field value.

func (Cluster_CustomClusterTypeValidationError) Key

Key function returns key value.

func (Cluster_CustomClusterTypeValidationError) Reason

Reason function returns reason value.

type Cluster_DiscoveryType

type Cluster_DiscoveryType int32

Refer to :ref:`service discovery type <arch_overview_service_discovery_types>` for an explanation on each type.

const (
	// Refer to the :ref:`static discovery type<arch_overview_service_discovery_types_static>`
	// for an explanation.
	Cluster_STATIC Cluster_DiscoveryType = 0
	// Refer to the :ref:`strict DNS discovery
	// type<arch_overview_service_discovery_types_strict_dns>`
	// for an explanation.
	Cluster_STRICT_DNS Cluster_DiscoveryType = 1
	// Refer to the :ref:`logical DNS discovery
	// type<arch_overview_service_discovery_types_logical_dns>`
	// for an explanation.
	Cluster_LOGICAL_DNS Cluster_DiscoveryType = 2
	// Refer to the :ref:`service discovery type<arch_overview_service_discovery_types_eds>`
	// for an explanation.
	Cluster_EDS Cluster_DiscoveryType = 3
	// Refer to the :ref:`original destination discovery
	// type<arch_overview_service_discovery_types_original_destination>`
	// for an explanation.
	Cluster_ORIGINAL_DST Cluster_DiscoveryType = 4
)

func (Cluster_DiscoveryType) EnumDescriptor

func (Cluster_DiscoveryType) EnumDescriptor() ([]byte, []int)

func (Cluster_DiscoveryType) String

func (x Cluster_DiscoveryType) String() string

type Cluster_DnsLookupFamily

type Cluster_DnsLookupFamily int32

When V4_ONLY is selected, the DNS resolver will only perform a lookup for addresses in the IPv4 family. If V6_ONLY is selected, the DNS resolver will only perform a lookup for addresses in the IPv6 family. If AUTO is specified, the DNS resolver will first perform a lookup for addresses in the IPv6 family and fallback to a lookup for addresses in the IPv4 family. For cluster types other than :ref:`STRICT_DNS<envoy_api_enum_value_Cluster.DiscoveryType.STRICT_DNS>` and :ref:`LOGICAL_DNS<envoy_api_enum_value_Cluster.DiscoveryType.LOGICAL_DNS>`, this setting is ignored.

const (
	Cluster_AUTO    Cluster_DnsLookupFamily = 0
	Cluster_V4_ONLY Cluster_DnsLookupFamily = 1
	Cluster_V6_ONLY Cluster_DnsLookupFamily = 2
)

func (Cluster_DnsLookupFamily) EnumDescriptor

func (Cluster_DnsLookupFamily) EnumDescriptor() ([]byte, []int)

func (Cluster_DnsLookupFamily) String

func (x Cluster_DnsLookupFamily) String() string

type Cluster_EdsClusterConfig

type Cluster_EdsClusterConfig struct {
	// Configuration for the source of EDS updates for this Cluster.
	EdsConfig *core.ConfigSource `protobuf:"bytes,1,opt,name=eds_config,json=edsConfig,proto3" json:"eds_config,omitempty"`
	// Optional alternative to cluster name to present to EDS. This does not
	// have the same restrictions as cluster name, i.e. it may be arbitrary
	// length.
	ServiceName          string   `protobuf:"bytes,2,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Only valid when discovery type is EDS.

func (*Cluster_EdsClusterConfig) Descriptor

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

func (*Cluster_EdsClusterConfig) GetEdsConfig

func (m *Cluster_EdsClusterConfig) GetEdsConfig() *core.ConfigSource

func (*Cluster_EdsClusterConfig) GetServiceName

func (m *Cluster_EdsClusterConfig) GetServiceName() string

func (*Cluster_EdsClusterConfig) Marshal

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

func (*Cluster_EdsClusterConfig) MarshalTo

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

func (*Cluster_EdsClusterConfig) MarshalToSizedBuffer

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

func (*Cluster_EdsClusterConfig) ProtoMessage

func (*Cluster_EdsClusterConfig) ProtoMessage()

func (*Cluster_EdsClusterConfig) Reset

func (m *Cluster_EdsClusterConfig) Reset()

func (*Cluster_EdsClusterConfig) Size

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

func (*Cluster_EdsClusterConfig) String

func (m *Cluster_EdsClusterConfig) String() string

func (*Cluster_EdsClusterConfig) Unmarshal

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

func (*Cluster_EdsClusterConfig) Validate

func (m *Cluster_EdsClusterConfig) Validate() error

Validate checks the field values on Cluster_EdsClusterConfig with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*Cluster_EdsClusterConfig) XXX_DiscardUnknown

func (m *Cluster_EdsClusterConfig) XXX_DiscardUnknown()

func (*Cluster_EdsClusterConfig) XXX_Marshal

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

func (*Cluster_EdsClusterConfig) XXX_Merge

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

func (*Cluster_EdsClusterConfig) XXX_Size

func (m *Cluster_EdsClusterConfig) XXX_Size() int

func (*Cluster_EdsClusterConfig) XXX_Unmarshal

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

type Cluster_EdsClusterConfigValidationError

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

Cluster_EdsClusterConfigValidationError is the validation error returned by Cluster_EdsClusterConfig.Validate if the designated constraints aren't met.

func (Cluster_EdsClusterConfigValidationError) Cause

Cause function returns cause value.

func (Cluster_EdsClusterConfigValidationError) Error

Error satisfies the builtin error interface

func (Cluster_EdsClusterConfigValidationError) ErrorName

ErrorName returns error name.

func (Cluster_EdsClusterConfigValidationError) Field

Field function returns field value.

func (Cluster_EdsClusterConfigValidationError) Key

Key function returns key value.

func (Cluster_EdsClusterConfigValidationError) Reason

Reason function returns reason value.

type Cluster_LbPolicy

type Cluster_LbPolicy int32

Refer to :ref:`load balancer type <arch_overview_load_balancing_types>` architecture overview section for information on each type.

const (
	// Refer to the :ref:`round robin load balancing
	// policy<arch_overview_load_balancing_types_round_robin>`
	// for an explanation.
	Cluster_ROUND_ROBIN Cluster_LbPolicy = 0
	// Refer to the :ref:`least request load balancing
	// policy<arch_overview_load_balancing_types_least_request>`
	// for an explanation.
	Cluster_LEAST_REQUEST Cluster_LbPolicy = 1
	// Refer to the :ref:`ring hash load balancing
	// policy<arch_overview_load_balancing_types_ring_hash>`
	// for an explanation.
	Cluster_RING_HASH Cluster_LbPolicy = 2
	// Refer to the :ref:`random load balancing
	// policy<arch_overview_load_balancing_types_random>`
	// for an explanation.
	Cluster_RANDOM Cluster_LbPolicy = 3
	// Refer to the :ref:`original destination load balancing
	// policy<arch_overview_load_balancing_types_original_destination>`
	// for an explanation.
	//
	// .. attention::
	//
	//   **This load balancing policy is deprecated**. Use CLUSTER_PROVIDED instead.
	//
	Cluster_ORIGINAL_DST_LB Cluster_LbPolicy = 4 // Deprecated: Do not use.
	// Refer to the :ref:`Maglev load balancing policy<arch_overview_load_balancing_types_maglev>`
	// for an explanation.
	Cluster_MAGLEV Cluster_LbPolicy = 5
	// This load balancer type must be specified if the configured cluster provides a cluster
	// specific load balancer. Consult the configured cluster's documentation for whether to set
	// this option or not.
	Cluster_CLUSTER_PROVIDED Cluster_LbPolicy = 6
	// [#not-implemented-hide:] Use the new :ref:`load_balancing_policy
	// <envoy_api_field_Cluster.load_balancing_policy>` field to determine the LB policy.
	// [#next-major-version: In the v3 API, we should consider deprecating the lb_policy field
	// and instead using the new load_balancing_policy field as the one and only mechanism for
	// configuring this.]
	Cluster_LOAD_BALANCING_POLICY_CONFIG Cluster_LbPolicy = 7
)

func (Cluster_LbPolicy) EnumDescriptor

func (Cluster_LbPolicy) EnumDescriptor() ([]byte, []int)

func (Cluster_LbPolicy) String

func (x Cluster_LbPolicy) String() string

type Cluster_LbSubsetConfig

type Cluster_LbSubsetConfig struct {
	// The behavior used when no endpoint subset matches the selected route's
	// metadata. The value defaults to
	// :ref:`NO_FALLBACK<envoy_api_enum_value_Cluster.LbSubsetConfig.LbSubsetFallbackPolicy.NO_FALLBACK>`.
	FallbackPolicy Cluster_LbSubsetConfig_LbSubsetFallbackPolicy `` /* 168-byte string literal not displayed */
	// Specifies the default subset of endpoints used during fallback if
	// fallback_policy is
	// :ref:`DEFAULT_SUBSET<envoy_api_enum_value_Cluster.LbSubsetConfig.LbSubsetFallbackPolicy.DEFAULT_SUBSET>`.
	// Each field in default_subset is
	// compared to the matching LbEndpoint.Metadata under the *envoy.lb*
	// namespace. It is valid for no hosts to match, in which case the behavior
	// is the same as a fallback_policy of
	// :ref:`NO_FALLBACK<envoy_api_enum_value_Cluster.LbSubsetConfig.LbSubsetFallbackPolicy.NO_FALLBACK>`.
	DefaultSubset *types.Struct `protobuf:"bytes,2,opt,name=default_subset,json=defaultSubset,proto3" json:"default_subset,omitempty"`
	// For each entry, LbEndpoint.Metadata's
	// *envoy.lb* namespace is traversed and a subset is created for each unique
	// combination of key and value. For example:
	//
	// .. code-block:: json
	//
	//   { "subset_selectors": [
	//       { "keys": [ "version" ] },
	//       { "keys": [ "stage", "hardware_type" ] }
	//   ]}
	//
	// A subset is matched when the metadata from the selected route and
	// weighted cluster contains the same keys and values as the subset's
	// metadata. The same host may appear in multiple subsets.
	SubsetSelectors []*Cluster_LbSubsetConfig_LbSubsetSelector `protobuf:"bytes,3,rep,name=subset_selectors,json=subsetSelectors,proto3" json:"subset_selectors,omitempty"`
	// If true, routing to subsets will take into account the localities and locality weights of the
	// endpoints when making the routing decision.
	//
	// There are some potential pitfalls associated with enabling this feature, as the resulting
	// traffic split after applying both a subset match and locality weights might be undesirable.
	//
	// Consider for example a situation in which you have 50/50 split across two localities X/Y
	// which have 100 hosts each without subsetting. If the subset LB results in X having only 1
	// host selected but Y having 100, then a lot more load is being dumped on the single host in X
	// than originally anticipated in the load balancing assignment delivered via EDS.
	LocalityWeightAware bool `protobuf:"varint,4,opt,name=locality_weight_aware,json=localityWeightAware,proto3" json:"locality_weight_aware,omitempty"`
	// When used with locality_weight_aware, scales the weight of each locality by the ratio
	// of hosts in the subset vs hosts in the original subset. This aims to even out the load
	// going to an individual locality if said locality is disproportionately affected by the
	// subset predicate.
	ScaleLocalityWeight bool `protobuf:"varint,5,opt,name=scale_locality_weight,json=scaleLocalityWeight,proto3" json:"scale_locality_weight,omitempty"`
	// If true, when a fallback policy is configured and its corresponding subset fails to find
	// a host this will cause any host to be selected instead.
	//
	// This is useful when using the default subset as the fallback policy, given the default
	// subset might become empty. With this option enabled, if that happens the LB will attempt
	// to select a host from the entire cluster.
	PanicModeAny bool `protobuf:"varint,6,opt,name=panic_mode_any,json=panicModeAny,proto3" json:"panic_mode_any,omitempty"`
	// If true, metadata specified for a metadata key will be matched against the corresponding
	// endpoint metadata if the endpoint metadata matches the value exactly OR it is a list value
	// and any of the elements in the list matches the criteria.
	ListAsAny            bool     `protobuf:"varint,7,opt,name=list_as_any,json=listAsAny,proto3" json:"list_as_any,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Optionally divide the endpoints in this cluster into subsets defined by endpoint metadata and selected by route and weighted cluster metadata. [#next-free-field: 8]

func (*Cluster_LbSubsetConfig) Descriptor

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

func (*Cluster_LbSubsetConfig) GetDefaultSubset

func (m *Cluster_LbSubsetConfig) GetDefaultSubset() *types.Struct

func (*Cluster_LbSubsetConfig) GetFallbackPolicy

func (*Cluster_LbSubsetConfig) GetListAsAny

func (m *Cluster_LbSubsetConfig) GetListAsAny() bool

func (*Cluster_LbSubsetConfig) GetLocalityWeightAware

func (m *Cluster_LbSubsetConfig) GetLocalityWeightAware() bool

func (*Cluster_LbSubsetConfig) GetPanicModeAny

func (m *Cluster_LbSubsetConfig) GetPanicModeAny() bool

func (*Cluster_LbSubsetConfig) GetScaleLocalityWeight

func (m *Cluster_LbSubsetConfig) GetScaleLocalityWeight() bool

func (*Cluster_LbSubsetConfig) GetSubsetSelectors

func (*Cluster_LbSubsetConfig) Marshal

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

func (*Cluster_LbSubsetConfig) MarshalTo

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

func (*Cluster_LbSubsetConfig) MarshalToSizedBuffer

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

func (*Cluster_LbSubsetConfig) ProtoMessage

func (*Cluster_LbSubsetConfig) ProtoMessage()

func (*Cluster_LbSubsetConfig) Reset

func (m *Cluster_LbSubsetConfig) Reset()

func (*Cluster_LbSubsetConfig) Size

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

func (*Cluster_LbSubsetConfig) String

func (m *Cluster_LbSubsetConfig) String() string

func (*Cluster_LbSubsetConfig) Unmarshal

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

func (*Cluster_LbSubsetConfig) Validate

func (m *Cluster_LbSubsetConfig) Validate() error

Validate checks the field values on Cluster_LbSubsetConfig with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*Cluster_LbSubsetConfig) XXX_DiscardUnknown

func (m *Cluster_LbSubsetConfig) XXX_DiscardUnknown()

func (*Cluster_LbSubsetConfig) XXX_Marshal

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

func (*Cluster_LbSubsetConfig) XXX_Merge

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

func (*Cluster_LbSubsetConfig) XXX_Size

func (m *Cluster_LbSubsetConfig) XXX_Size() int

func (*Cluster_LbSubsetConfig) XXX_Unmarshal

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

type Cluster_LbSubsetConfigValidationError

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

Cluster_LbSubsetConfigValidationError is the validation error returned by Cluster_LbSubsetConfig.Validate if the designated constraints aren't met.

func (Cluster_LbSubsetConfigValidationError) Cause

Cause function returns cause value.

func (Cluster_LbSubsetConfigValidationError) Error

Error satisfies the builtin error interface

func (Cluster_LbSubsetConfigValidationError) ErrorName

ErrorName returns error name.

func (Cluster_LbSubsetConfigValidationError) Field

Field function returns field value.

func (Cluster_LbSubsetConfigValidationError) Key

Key function returns key value.

func (Cluster_LbSubsetConfigValidationError) Reason

Reason function returns reason value.

type Cluster_LbSubsetConfig_LbSubsetFallbackPolicy

type Cluster_LbSubsetConfig_LbSubsetFallbackPolicy int32

If NO_FALLBACK is selected, a result equivalent to no healthy hosts is reported. If ANY_ENDPOINT is selected, any cluster endpoint may be returned (subject to policy, health checks, etc). If DEFAULT_SUBSET is selected, load balancing is performed over the endpoints matching the values from the default_subset field.

const (
	Cluster_LbSubsetConfig_NO_FALLBACK    Cluster_LbSubsetConfig_LbSubsetFallbackPolicy = 0
	Cluster_LbSubsetConfig_ANY_ENDPOINT   Cluster_LbSubsetConfig_LbSubsetFallbackPolicy = 1
	Cluster_LbSubsetConfig_DEFAULT_SUBSET Cluster_LbSubsetConfig_LbSubsetFallbackPolicy = 2
)

func (Cluster_LbSubsetConfig_LbSubsetFallbackPolicy) EnumDescriptor

func (Cluster_LbSubsetConfig_LbSubsetFallbackPolicy) EnumDescriptor() ([]byte, []int)

func (Cluster_LbSubsetConfig_LbSubsetFallbackPolicy) String

type Cluster_LbSubsetConfig_LbSubsetSelector

type Cluster_LbSubsetConfig_LbSubsetSelector struct {
	// List of keys to match with the weighted cluster metadata.
	Keys []string `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"`
	// The behavior used when no endpoint subset matches the selected route's
	// metadata.
	FallbackPolicy       Cluster_LbSubsetConfig_LbSubsetSelector_LbSubsetSelectorFallbackPolicy `` /* 193-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}                                                               `json:"-"`
	XXX_unrecognized     []byte                                                                 `json:"-"`
	XXX_sizecache        int32                                                                  `json:"-"`
}

Specifications for subsets.

func (*Cluster_LbSubsetConfig_LbSubsetSelector) Descriptor

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

func (*Cluster_LbSubsetConfig_LbSubsetSelector) GetKeys

func (*Cluster_LbSubsetConfig_LbSubsetSelector) Marshal

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

func (*Cluster_LbSubsetConfig_LbSubsetSelector) MarshalTo

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

func (*Cluster_LbSubsetConfig_LbSubsetSelector) MarshalToSizedBuffer

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

func (*Cluster_LbSubsetConfig_LbSubsetSelector) ProtoMessage

func (*Cluster_LbSubsetConfig_LbSubsetSelector) Reset

func (*Cluster_LbSubsetConfig_LbSubsetSelector) Size

func (*Cluster_LbSubsetConfig_LbSubsetSelector) String

func (*Cluster_LbSubsetConfig_LbSubsetSelector) Unmarshal

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

func (*Cluster_LbSubsetConfig_LbSubsetSelector) Validate

Validate checks the field values on Cluster_LbSubsetConfig_LbSubsetSelector with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*Cluster_LbSubsetConfig_LbSubsetSelector) XXX_DiscardUnknown

func (m *Cluster_LbSubsetConfig_LbSubsetSelector) XXX_DiscardUnknown()

func (*Cluster_LbSubsetConfig_LbSubsetSelector) XXX_Marshal

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

func (*Cluster_LbSubsetConfig_LbSubsetSelector) XXX_Merge

func (*Cluster_LbSubsetConfig_LbSubsetSelector) XXX_Size

func (*Cluster_LbSubsetConfig_LbSubsetSelector) XXX_Unmarshal

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

type Cluster_LbSubsetConfig_LbSubsetSelectorValidationError

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

Cluster_LbSubsetConfig_LbSubsetSelectorValidationError is the validation error returned by Cluster_LbSubsetConfig_LbSubsetSelector.Validate if the designated constraints aren't met.

func (Cluster_LbSubsetConfig_LbSubsetSelectorValidationError) Cause

Cause function returns cause value.

func (Cluster_LbSubsetConfig_LbSubsetSelectorValidationError) Error

Error satisfies the builtin error interface

func (Cluster_LbSubsetConfig_LbSubsetSelectorValidationError) ErrorName

ErrorName returns error name.

func (Cluster_LbSubsetConfig_LbSubsetSelectorValidationError) Field

Field function returns field value.

func (Cluster_LbSubsetConfig_LbSubsetSelectorValidationError) Key

Key function returns key value.

func (Cluster_LbSubsetConfig_LbSubsetSelectorValidationError) Reason

Reason function returns reason value.

type Cluster_LbSubsetConfig_LbSubsetSelector_LbSubsetSelectorFallbackPolicy

type Cluster_LbSubsetConfig_LbSubsetSelector_LbSubsetSelectorFallbackPolicy int32

Allows to override top level fallback policy per selector.

const (
	// If NOT_DEFINED top level config fallback policy is used instead.
	Cluster_LbSubsetConfig_LbSubsetSelector_NOT_DEFINED Cluster_LbSubsetConfig_LbSubsetSelector_LbSubsetSelectorFallbackPolicy = 0
	// If NO_FALLBACK is selected, a result equivalent to no healthy hosts is reported.
	Cluster_LbSubsetConfig_LbSubsetSelector_NO_FALLBACK Cluster_LbSubsetConfig_LbSubsetSelector_LbSubsetSelectorFallbackPolicy = 1
	// If ANY_ENDPOINT is selected, any cluster endpoint may be returned
	// (subject to policy, health checks, etc).
	Cluster_LbSubsetConfig_LbSubsetSelector_ANY_ENDPOINT Cluster_LbSubsetConfig_LbSubsetSelector_LbSubsetSelectorFallbackPolicy = 2
	// If DEFAULT_SUBSET is selected, load balancing is performed over the
	// endpoints matching the values from the default_subset field.
	Cluster_LbSubsetConfig_LbSubsetSelector_DEFAULT_SUBSET Cluster_LbSubsetConfig_LbSubsetSelector_LbSubsetSelectorFallbackPolicy = 3
)

func (Cluster_LbSubsetConfig_LbSubsetSelector_LbSubsetSelectorFallbackPolicy) EnumDescriptor

func (Cluster_LbSubsetConfig_LbSubsetSelector_LbSubsetSelectorFallbackPolicy) String

type Cluster_LeastRequestLbConfig

type Cluster_LeastRequestLbConfig struct {
	// The number of random healthy hosts from which the host with the fewest active requests will
	// be chosen. Defaults to 2 so that we perform two-choice selection if the field is not set.
	ChoiceCount          *types.UInt32Value `protobuf:"bytes,1,opt,name=choice_count,json=choiceCount,proto3" json:"choice_count,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

Specific configuration for the LeastRequest load balancing policy.

func (*Cluster_LeastRequestLbConfig) Descriptor

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

func (*Cluster_LeastRequestLbConfig) GetChoiceCount

func (m *Cluster_LeastRequestLbConfig) GetChoiceCount() *types.UInt32Value

func (*Cluster_LeastRequestLbConfig) Marshal

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

func (*Cluster_LeastRequestLbConfig) MarshalTo

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

func (*Cluster_LeastRequestLbConfig) MarshalToSizedBuffer

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

func (*Cluster_LeastRequestLbConfig) ProtoMessage

func (*Cluster_LeastRequestLbConfig) ProtoMessage()

func (*Cluster_LeastRequestLbConfig) Reset

func (m *Cluster_LeastRequestLbConfig) Reset()

func (*Cluster_LeastRequestLbConfig) Size

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

func (*Cluster_LeastRequestLbConfig) String

func (*Cluster_LeastRequestLbConfig) Unmarshal

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

func (*Cluster_LeastRequestLbConfig) Validate

func (m *Cluster_LeastRequestLbConfig) Validate() error

Validate checks the field values on Cluster_LeastRequestLbConfig with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*Cluster_LeastRequestLbConfig) XXX_DiscardUnknown

func (m *Cluster_LeastRequestLbConfig) XXX_DiscardUnknown()

func (*Cluster_LeastRequestLbConfig) XXX_Marshal

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

func (*Cluster_LeastRequestLbConfig) XXX_Merge

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

func (*Cluster_LeastRequestLbConfig) XXX_Size

func (m *Cluster_LeastRequestLbConfig) XXX_Size() int

func (*Cluster_LeastRequestLbConfig) XXX_Unmarshal

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

type Cluster_LeastRequestLbConfigValidationError

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

Cluster_LeastRequestLbConfigValidationError is the validation error returned by Cluster_LeastRequestLbConfig.Validate if the designated constraints aren't met.

func (Cluster_LeastRequestLbConfigValidationError) Cause

Cause function returns cause value.

func (Cluster_LeastRequestLbConfigValidationError) Error

Error satisfies the builtin error interface

func (Cluster_LeastRequestLbConfigValidationError) ErrorName

ErrorName returns error name.

func (Cluster_LeastRequestLbConfigValidationError) Field

Field function returns field value.

func (Cluster_LeastRequestLbConfigValidationError) Key

Key function returns key value.

func (Cluster_LeastRequestLbConfigValidationError) Reason

Reason function returns reason value.

type Cluster_LeastRequestLbConfig_

type Cluster_LeastRequestLbConfig_ struct {
	LeastRequestLbConfig *Cluster_LeastRequestLbConfig `protobuf:"bytes,37,opt,name=least_request_lb_config,json=leastRequestLbConfig,proto3,oneof"`
}

func (*Cluster_LeastRequestLbConfig_) MarshalTo

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

func (*Cluster_LeastRequestLbConfig_) MarshalToSizedBuffer

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

func (*Cluster_LeastRequestLbConfig_) Size

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

type Cluster_OriginalDstLbConfig

type Cluster_OriginalDstLbConfig struct {
	// When true, :ref:`x-envoy-original-dst-host
	// <config_http_conn_man_headers_x-envoy-original-dst-host>` can be used to override destination
	// address.
	//
	// .. attention::
	//
	//   This header isn't sanitized by default, so enabling this feature allows HTTP clients to
	//   route traffic to arbitrary hosts and/or ports, which may have serious security
	//   consequences.
	UseHttpHeader        bool     `protobuf:"varint,1,opt,name=use_http_header,json=useHttpHeader,proto3" json:"use_http_header,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Specific configuration for the :ref:`Original Destination <arch_overview_load_balancing_types_original_destination>` load balancing policy.

func (*Cluster_OriginalDstLbConfig) Descriptor

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

func (*Cluster_OriginalDstLbConfig) GetUseHttpHeader

func (m *Cluster_OriginalDstLbConfig) GetUseHttpHeader() bool

func (*Cluster_OriginalDstLbConfig) Marshal

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

func (*Cluster_OriginalDstLbConfig) MarshalTo

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

func (*Cluster_OriginalDstLbConfig) MarshalToSizedBuffer

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

func (*Cluster_OriginalDstLbConfig) ProtoMessage

func (*Cluster_OriginalDstLbConfig) ProtoMessage()

func (*Cluster_OriginalDstLbConfig) Reset

func (m *Cluster_OriginalDstLbConfig) Reset()

func (*Cluster_OriginalDstLbConfig) Size

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

func (*Cluster_OriginalDstLbConfig) String

func (m *Cluster_OriginalDstLbConfig) String() string

func (*Cluster_OriginalDstLbConfig) Unmarshal

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

func (*Cluster_OriginalDstLbConfig) Validate

func (m *Cluster_OriginalDstLbConfig) Validate() error

Validate checks the field values on Cluster_OriginalDstLbConfig with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*Cluster_OriginalDstLbConfig) XXX_DiscardUnknown

func (m *Cluster_OriginalDstLbConfig) XXX_DiscardUnknown()

func (*Cluster_OriginalDstLbConfig) XXX_Marshal

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

func (*Cluster_OriginalDstLbConfig) XXX_Merge

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

func (*Cluster_OriginalDstLbConfig) XXX_Size

func (m *Cluster_OriginalDstLbConfig) XXX_Size() int

func (*Cluster_OriginalDstLbConfig) XXX_Unmarshal

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

type Cluster_OriginalDstLbConfigValidationError

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

Cluster_OriginalDstLbConfigValidationError is the validation error returned by Cluster_OriginalDstLbConfig.Validate if the designated constraints aren't met.

func (Cluster_OriginalDstLbConfigValidationError) Cause

Cause function returns cause value.

func (Cluster_OriginalDstLbConfigValidationError) Error

Error satisfies the builtin error interface

func (Cluster_OriginalDstLbConfigValidationError) ErrorName

ErrorName returns error name.

func (Cluster_OriginalDstLbConfigValidationError) Field

Field function returns field value.

func (Cluster_OriginalDstLbConfigValidationError) Key

Key function returns key value.

func (Cluster_OriginalDstLbConfigValidationError) Reason

Reason function returns reason value.

type Cluster_OriginalDstLbConfig_

type Cluster_OriginalDstLbConfig_ struct {
	OriginalDstLbConfig *Cluster_OriginalDstLbConfig `protobuf:"bytes,34,opt,name=original_dst_lb_config,json=originalDstLbConfig,proto3,oneof"`
}

func (*Cluster_OriginalDstLbConfig_) MarshalTo

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

func (*Cluster_OriginalDstLbConfig_) MarshalToSizedBuffer

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

func (*Cluster_OriginalDstLbConfig_) Size

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

type Cluster_RefreshRate added in v0.86.0

type Cluster_RefreshRate struct {
	// Specifies the base interval between refreshes. This parameter is required and must be greater
	// than zero and less than
	// :ref:`max_interval <envoy_api_field_Cluster.RefreshRate.max_interval>`.
	BaseInterval *types.Duration `protobuf:"bytes,1,opt,name=base_interval,json=baseInterval,proto3" json:"base_interval,omitempty"`
	// Specifies the maximum interval between refreshes. This parameter is optional, but must be
	// greater than or equal to the
	// :ref:`base_interval <envoy_api_field_Cluster.RefreshRate.base_interval>`  if set. The default
	// is 10 times the :ref:`base_interval <envoy_api_field_Cluster.RefreshRate.base_interval>`.
	MaxInterval          *types.Duration `protobuf:"bytes,2,opt,name=max_interval,json=maxInterval,proto3" json:"max_interval,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*Cluster_RefreshRate) Descriptor added in v0.86.0

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

func (*Cluster_RefreshRate) GetBaseInterval added in v0.86.0

func (m *Cluster_RefreshRate) GetBaseInterval() *types.Duration

func (*Cluster_RefreshRate) GetMaxInterval added in v0.86.0

func (m *Cluster_RefreshRate) GetMaxInterval() *types.Duration

func (*Cluster_RefreshRate) Marshal added in v0.86.0

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

func (*Cluster_RefreshRate) MarshalTo added in v0.86.0

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

func (*Cluster_RefreshRate) MarshalToSizedBuffer added in v0.86.0

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

func (*Cluster_RefreshRate) ProtoMessage added in v0.86.0

func (*Cluster_RefreshRate) ProtoMessage()

func (*Cluster_RefreshRate) Reset added in v0.86.0

func (m *Cluster_RefreshRate) Reset()

func (*Cluster_RefreshRate) Size added in v0.86.0

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

func (*Cluster_RefreshRate) String added in v0.86.0

func (m *Cluster_RefreshRate) String() string

func (*Cluster_RefreshRate) Unmarshal added in v0.86.0

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

func (*Cluster_RefreshRate) Validate added in v0.86.0

func (m *Cluster_RefreshRate) Validate() error

Validate checks the field values on Cluster_RefreshRate with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*Cluster_RefreshRate) XXX_DiscardUnknown added in v0.86.0

func (m *Cluster_RefreshRate) XXX_DiscardUnknown()

func (*Cluster_RefreshRate) XXX_Marshal added in v0.86.0

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

func (*Cluster_RefreshRate) XXX_Merge added in v0.86.0

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

func (*Cluster_RefreshRate) XXX_Size added in v0.86.0

func (m *Cluster_RefreshRate) XXX_Size() int

func (*Cluster_RefreshRate) XXX_Unmarshal added in v0.86.0

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

type Cluster_RefreshRateValidationError added in v0.86.0

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

Cluster_RefreshRateValidationError is the validation error returned by Cluster_RefreshRate.Validate if the designated constraints aren't met.

func (Cluster_RefreshRateValidationError) Cause added in v0.86.0

Cause function returns cause value.

func (Cluster_RefreshRateValidationError) Error added in v0.86.0

Error satisfies the builtin error interface

func (Cluster_RefreshRateValidationError) ErrorName added in v0.86.0

ErrorName returns error name.

func (Cluster_RefreshRateValidationError) Field added in v0.86.0

Field function returns field value.

func (Cluster_RefreshRateValidationError) Key added in v0.86.0

Key function returns key value.

func (Cluster_RefreshRateValidationError) Reason added in v0.86.0

Reason function returns reason value.

type Cluster_RingHashLbConfig

type Cluster_RingHashLbConfig struct {
	// Minimum hash ring size. The larger the ring is (that is, the more hashes there are for each
	// provided host) the better the request distribution will reflect the desired weights. Defaults
	// to 1024 entries, and limited to 8M entries. See also
	// :ref:`maximum_ring_size<envoy_api_field_Cluster.RingHashLbConfig.maximum_ring_size>`.
	MinimumRingSize *types.UInt64Value `protobuf:"bytes,1,opt,name=minimum_ring_size,json=minimumRingSize,proto3" json:"minimum_ring_size,omitempty"`
	// The hash function used to hash hosts onto the ketama ring. The value defaults to
	// :ref:`XX_HASH<envoy_api_enum_value_Cluster.RingHashLbConfig.HashFunction.XX_HASH>`.
	HashFunction Cluster_RingHashLbConfig_HashFunction `` /* 154-byte string literal not displayed */
	// Maximum hash ring size. Defaults to 8M entries, and limited to 8M entries, but can be lowered
	// to further constrain resource use. See also
	// :ref:`minimum_ring_size<envoy_api_field_Cluster.RingHashLbConfig.minimum_ring_size>`.
	MaximumRingSize      *types.UInt64Value `protobuf:"bytes,4,opt,name=maximum_ring_size,json=maximumRingSize,proto3" json:"maximum_ring_size,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

Specific configuration for the :ref:`RingHash<arch_overview_load_balancing_types_ring_hash>` load balancing policy.

func (*Cluster_RingHashLbConfig) Descriptor

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

func (*Cluster_RingHashLbConfig) GetHashFunction

func (*Cluster_RingHashLbConfig) GetMaximumRingSize

func (m *Cluster_RingHashLbConfig) GetMaximumRingSize() *types.UInt64Value

func (*Cluster_RingHashLbConfig) GetMinimumRingSize

func (m *Cluster_RingHashLbConfig) GetMinimumRingSize() *types.UInt64Value

func (*Cluster_RingHashLbConfig) Marshal

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

func (*Cluster_RingHashLbConfig) MarshalTo

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

func (*Cluster_RingHashLbConfig) MarshalToSizedBuffer

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

func (*Cluster_RingHashLbConfig) ProtoMessage

func (*Cluster_RingHashLbConfig) ProtoMessage()

func (*Cluster_RingHashLbConfig) Reset

func (m *Cluster_RingHashLbConfig) Reset()

func (*Cluster_RingHashLbConfig) Size

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

func (*Cluster_RingHashLbConfig) String

func (m *Cluster_RingHashLbConfig) String() string

func (*Cluster_RingHashLbConfig) Unmarshal

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

func (*Cluster_RingHashLbConfig) Validate

func (m *Cluster_RingHashLbConfig) Validate() error

Validate checks the field values on Cluster_RingHashLbConfig with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*Cluster_RingHashLbConfig) XXX_DiscardUnknown

func (m *Cluster_RingHashLbConfig) XXX_DiscardUnknown()

func (*Cluster_RingHashLbConfig) XXX_Marshal

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

func (*Cluster_RingHashLbConfig) XXX_Merge

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

func (*Cluster_RingHashLbConfig) XXX_Size

func (m *Cluster_RingHashLbConfig) XXX_Size() int

func (*Cluster_RingHashLbConfig) XXX_Unmarshal

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

type Cluster_RingHashLbConfigValidationError

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

Cluster_RingHashLbConfigValidationError is the validation error returned by Cluster_RingHashLbConfig.Validate if the designated constraints aren't met.

func (Cluster_RingHashLbConfigValidationError) Cause

Cause function returns cause value.

func (Cluster_RingHashLbConfigValidationError) Error

Error satisfies the builtin error interface

func (Cluster_RingHashLbConfigValidationError) ErrorName

ErrorName returns error name.

func (Cluster_RingHashLbConfigValidationError) Field

Field function returns field value.

func (Cluster_RingHashLbConfigValidationError) Key

Key function returns key value.

func (Cluster_RingHashLbConfigValidationError) Reason

Reason function returns reason value.

type Cluster_RingHashLbConfig_

type Cluster_RingHashLbConfig_ struct {
	RingHashLbConfig *Cluster_RingHashLbConfig `protobuf:"bytes,23,opt,name=ring_hash_lb_config,json=ringHashLbConfig,proto3,oneof"`
}

func (*Cluster_RingHashLbConfig_) MarshalTo

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

func (*Cluster_RingHashLbConfig_) MarshalToSizedBuffer

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

func (*Cluster_RingHashLbConfig_) Size

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

type Cluster_RingHashLbConfig_HashFunction

type Cluster_RingHashLbConfig_HashFunction int32

The hash function used to hash hosts onto the ketama ring.

const (
	// Use `xxHash <https://github.com/Cyan4973/xxHash>`_, this is the default hash function.
	Cluster_RingHashLbConfig_XX_HASH Cluster_RingHashLbConfig_HashFunction = 0
	// Use `MurmurHash2 <https://sites.google.com/site/murmurhash/>`_, this is compatible with
	// std:hash<string> in GNU libstdc++ 3.4.20 or above. This is typically the case when compiled
	// on Linux and not macOS.
	Cluster_RingHashLbConfig_MURMUR_HASH_2 Cluster_RingHashLbConfig_HashFunction = 1
)

func (Cluster_RingHashLbConfig_HashFunction) EnumDescriptor

func (Cluster_RingHashLbConfig_HashFunction) EnumDescriptor() ([]byte, []int)

func (Cluster_RingHashLbConfig_HashFunction) String

type Cluster_TransportSocketMatch added in v0.86.0

type Cluster_TransportSocketMatch struct {
	// The name of the match, used in stats generation.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Optional endpoint metadata match criteria.
	// The connection to the endpoint with metadata matching what is set in this field
	// will use the transport socket configuration specified here.
	// The endpoint's metadata entry in *envoy.transport_socket_match* is used to match
	// against the values specified in this field.
	Match *types.Struct `protobuf:"bytes,2,opt,name=match,proto3" json:"match,omitempty"`
	// The configuration of the transport socket.
	TransportSocket      *core.TransportSocket `protobuf:"bytes,3,opt,name=transport_socket,json=transportSocket,proto3" json:"transport_socket,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

TransportSocketMatch specifies what transport socket config will be used when the match conditions are satisfied.

func (*Cluster_TransportSocketMatch) Descriptor added in v0.86.0

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

func (*Cluster_TransportSocketMatch) GetMatch added in v0.86.0

func (m *Cluster_TransportSocketMatch) GetMatch() *types.Struct

func (*Cluster_TransportSocketMatch) GetName added in v0.86.0

func (m *Cluster_TransportSocketMatch) GetName() string

func (*Cluster_TransportSocketMatch) GetTransportSocket added in v0.86.0

func (m *Cluster_TransportSocketMatch) GetTransportSocket() *core.TransportSocket

func (*Cluster_TransportSocketMatch) Marshal added in v0.86.0

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

func (*Cluster_TransportSocketMatch) MarshalTo added in v0.86.0

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

func (*Cluster_TransportSocketMatch) MarshalToSizedBuffer added in v0.86.0

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

func (*Cluster_TransportSocketMatch) ProtoMessage added in v0.86.0

func (*Cluster_TransportSocketMatch) ProtoMessage()

func (*Cluster_TransportSocketMatch) Reset added in v0.86.0

func (m *Cluster_TransportSocketMatch) Reset()

func (*Cluster_TransportSocketMatch) Size added in v0.86.0

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

func (*Cluster_TransportSocketMatch) String added in v0.86.0

func (*Cluster_TransportSocketMatch) Unmarshal added in v0.86.0

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

func (*Cluster_TransportSocketMatch) Validate added in v0.86.0

func (m *Cluster_TransportSocketMatch) Validate() error

Validate checks the field values on Cluster_TransportSocketMatch with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*Cluster_TransportSocketMatch) XXX_DiscardUnknown added in v0.86.0

func (m *Cluster_TransportSocketMatch) XXX_DiscardUnknown()

func (*Cluster_TransportSocketMatch) XXX_Marshal added in v0.86.0

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

func (*Cluster_TransportSocketMatch) XXX_Merge added in v0.86.0

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

func (*Cluster_TransportSocketMatch) XXX_Size added in v0.86.0

func (m *Cluster_TransportSocketMatch) XXX_Size() int

func (*Cluster_TransportSocketMatch) XXX_Unmarshal added in v0.86.0

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

type Cluster_TransportSocketMatchValidationError added in v0.86.0

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

Cluster_TransportSocketMatchValidationError is the validation error returned by Cluster_TransportSocketMatch.Validate if the designated constraints aren't met.

func (Cluster_TransportSocketMatchValidationError) Cause added in v0.86.0

Cause function returns cause value.

func (Cluster_TransportSocketMatchValidationError) Error added in v0.86.0

Error satisfies the builtin error interface

func (Cluster_TransportSocketMatchValidationError) ErrorName added in v0.86.0

ErrorName returns error name.

func (Cluster_TransportSocketMatchValidationError) Field added in v0.86.0

Field function returns field value.

func (Cluster_TransportSocketMatchValidationError) Key added in v0.86.0

Key function returns key value.

func (Cluster_TransportSocketMatchValidationError) Reason added in v0.86.0

Reason function returns reason value.

type Cluster_Type

type Cluster_Type struct {
	Type Cluster_DiscoveryType `protobuf:"varint,2,opt,name=type,proto3,enum=envoy.api.v2.Cluster_DiscoveryType,oneof"`
}

func (*Cluster_Type) MarshalTo

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

func (*Cluster_Type) MarshalToSizedBuffer

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

func (*Cluster_Type) Size

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

type DeltaDiscoveryRequest

type DeltaDiscoveryRequest struct {
	// The node making the request.
	Node *core.Node `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"`
	// Type of the resource that is being requested, e.g.
	// "type.googleapis.com/envoy.api.v2.ClusterLoadAssignment".
	TypeUrl string `protobuf:"bytes,2,opt,name=type_url,json=typeUrl,proto3" json:"type_url,omitempty"`
	// DeltaDiscoveryRequests allow the client to add or remove individual
	// resources to the set of tracked resources in the context of a stream.
	// All resource names in the resource_names_subscribe list are added to the
	// set of tracked resources and all resource names in the resource_names_unsubscribe
	// list are removed from the set of tracked resources.
	//
	// *Unlike* state-of-the-world xDS, an empty resource_names_subscribe or
	// resource_names_unsubscribe list simply means that no resources are to be
	// added or removed to the resource list.
	// *Like* state-of-the-world xDS, the server must send updates for all tracked
	// resources, but can also send updates for resources the client has not subscribed to.
	//
	// NOTE: the server must respond with all resources listed in resource_names_subscribe,
	// even if it believes the client has the most recent version of them. The reason:
	// the client may have dropped them, but then regained interest before it had a chance
	// to send the unsubscribe message. See DeltaSubscriptionStateTest.RemoveThenAdd.
	//
	// These two fields can be set in any DeltaDiscoveryRequest, including ACKs
	// and initial_resource_versions.
	//
	// A list of Resource names to add to the list of tracked resources.
	ResourceNamesSubscribe []string `` /* 129-byte string literal not displayed */
	// A list of Resource names to remove from the list of tracked resources.
	ResourceNamesUnsubscribe []string `` /* 135-byte string literal not displayed */
	// Informs the server of the versions of the resources the xDS client knows of, to enable the
	// client to continue the same logical xDS session even in the face of gRPC stream reconnection.
	// It will not be populated: [1] in the very first stream of a session, since the client will
	// not yet have any resources,  [2] in any message after the first in a stream (for a given
	// type_url), since the server will already be correctly tracking the client's state.
	// (In ADS, the first message *of each type_url* of a reconnected stream populates this map.)
	// The map's keys are names of xDS resources known to the xDS client.
	// The map's values are opaque resource versions.
	InitialResourceVersions map[string]string `` /* 220-byte string literal not displayed */
	// When the DeltaDiscoveryRequest is a ACK or NACK message in response
	// to a previous DeltaDiscoveryResponse, the response_nonce must be the
	// nonce in the DeltaDiscoveryResponse.
	// Otherwise (unlike in DiscoveryRequest) response_nonce must be omitted.
	ResponseNonce string `protobuf:"bytes,6,opt,name=response_nonce,json=responseNonce,proto3" json:"response_nonce,omitempty"`
	// This is populated when the previous :ref:`DiscoveryResponse <envoy_api_msg_DiscoveryResponse>`
	// failed to update configuration. The *message* field in *error_details*
	// provides the Envoy internal exception related to the failure.
	ErrorDetail          *rpc.Status `protobuf:"bytes,7,opt,name=error_detail,json=errorDetail,proto3" json:"error_detail,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

DeltaDiscoveryRequest and DeltaDiscoveryResponse are used in a new gRPC endpoint for Delta xDS.

With Delta xDS, the DeltaDiscoveryResponses do not need to include a full snapshot of the tracked resources. Instead, DeltaDiscoveryResponses are a diff to the state of a xDS client. In Delta XDS there are per-resource versions, which allow tracking state at the resource granularity. An xDS Delta session is always in the context of a gRPC bidirectional stream. This allows the xDS server to keep track of the state of xDS clients connected to it.

In Delta xDS the nonce field is required and used to pair DeltaDiscoveryResponse to a DeltaDiscoveryRequest ACK or NACK. Optionally, a response message level system_version_info is present for debugging purposes only.

DeltaDiscoveryRequest plays two independent roles. Any DeltaDiscoveryRequest can be either or both of: [1] informing the server of what resources the client has gained/lost interest in (using resource_names_subscribe and resource_names_unsubscribe), or [2] (N)ACKing an earlier resource update from the server (using response_nonce, with presence of error_detail making it a NACK). Additionally, the first message (for a given type_url) of a reconnected gRPC stream has a third role: informing the server of the resources (and their versions) that the client already possesses, using the initial_resource_versions field.

As with state-of-the-world, when multiple resource types are multiplexed (ADS), all requests/acknowledgments/updates are logically walled off by type_url: a Cluster ACK exists in a completely separate world from a prior Route NACK. In particular, initial_resource_versions being sent at the "start" of every gRPC stream actually entails a message for each type_url, each with its own initial_resource_versions. [#next-free-field: 8]

func (*DeltaDiscoveryRequest) Descriptor

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

func (*DeltaDiscoveryRequest) GetErrorDetail

func (m *DeltaDiscoveryRequest) GetErrorDetail() *rpc.Status

func (*DeltaDiscoveryRequest) GetInitialResourceVersions

func (m *DeltaDiscoveryRequest) GetInitialResourceVersions() map[string]string

func (*DeltaDiscoveryRequest) GetNode

func (m *DeltaDiscoveryRequest) GetNode() *core.Node

func (*DeltaDiscoveryRequest) GetResourceNamesSubscribe

func (m *DeltaDiscoveryRequest) GetResourceNamesSubscribe() []string

func (*DeltaDiscoveryRequest) GetResourceNamesUnsubscribe

func (m *DeltaDiscoveryRequest) GetResourceNamesUnsubscribe() []string

func (*DeltaDiscoveryRequest) GetResponseNonce

func (m *DeltaDiscoveryRequest) GetResponseNonce() string

func (*DeltaDiscoveryRequest) GetTypeUrl

func (m *DeltaDiscoveryRequest) GetTypeUrl() string

func (*DeltaDiscoveryRequest) Marshal

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

func (*DeltaDiscoveryRequest) MarshalTo

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

func (*DeltaDiscoveryRequest) MarshalToSizedBuffer

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

func (*DeltaDiscoveryRequest) ProtoMessage

func (*DeltaDiscoveryRequest) ProtoMessage()

func (*DeltaDiscoveryRequest) Reset

func (m *DeltaDiscoveryRequest) Reset()

func (*DeltaDiscoveryRequest) Size

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

func (*DeltaDiscoveryRequest) String

func (m *DeltaDiscoveryRequest) String() string

func (*DeltaDiscoveryRequest) Unmarshal

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

func (*DeltaDiscoveryRequest) Validate

func (m *DeltaDiscoveryRequest) Validate() error

Validate checks the field values on DeltaDiscoveryRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*DeltaDiscoveryRequest) XXX_DiscardUnknown

func (m *DeltaDiscoveryRequest) XXX_DiscardUnknown()

func (*DeltaDiscoveryRequest) XXX_Marshal

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

func (*DeltaDiscoveryRequest) XXX_Merge

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

func (*DeltaDiscoveryRequest) XXX_Size

func (m *DeltaDiscoveryRequest) XXX_Size() int

func (*DeltaDiscoveryRequest) XXX_Unmarshal

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

type DeltaDiscoveryRequestValidationError

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

DeltaDiscoveryRequestValidationError is the validation error returned by DeltaDiscoveryRequest.Validate if the designated constraints aren't met.

func (DeltaDiscoveryRequestValidationError) Cause

Cause function returns cause value.

func (DeltaDiscoveryRequestValidationError) Error

Error satisfies the builtin error interface

func (DeltaDiscoveryRequestValidationError) ErrorName

ErrorName returns error name.

func (DeltaDiscoveryRequestValidationError) Field

Field function returns field value.

func (DeltaDiscoveryRequestValidationError) Key

Key function returns key value.

func (DeltaDiscoveryRequestValidationError) Reason

Reason function returns reason value.

type DeltaDiscoveryResponse

type DeltaDiscoveryResponse struct {
	// The version of the response data (used for debugging).
	SystemVersionInfo string `protobuf:"bytes,1,opt,name=system_version_info,json=systemVersionInfo,proto3" json:"system_version_info,omitempty"`
	// The response resources. These are typed resources, whose types must match
	// the type_url field.
	Resources []*Resource `protobuf:"bytes,2,rep,name=resources,proto3" json:"resources,omitempty"`
	// Type URL for resources. Identifies the xDS API when muxing over ADS.
	// Must be consistent with the type_url in the Any within 'resources' if 'resources' is non-empty.
	TypeUrl string `protobuf:"bytes,4,opt,name=type_url,json=typeUrl,proto3" json:"type_url,omitempty"`
	// Resources names of resources that have be deleted and to be removed from the xDS Client.
	// Removed resources for missing resources can be ignored.
	RemovedResources []string `protobuf:"bytes,6,rep,name=removed_resources,json=removedResources,proto3" json:"removed_resources,omitempty"`
	// The nonce provides a way for DeltaDiscoveryRequests to uniquely
	// reference a DeltaDiscoveryResponse when (N)ACKing. The nonce is required.
	Nonce                string   `protobuf:"bytes,5,opt,name=nonce,proto3" json:"nonce,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

[#next-free-field: 7]

func (*DeltaDiscoveryResponse) Descriptor

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

func (*DeltaDiscoveryResponse) GetNonce

func (m *DeltaDiscoveryResponse) GetNonce() string

func (*DeltaDiscoveryResponse) GetRemovedResources

func (m *DeltaDiscoveryResponse) GetRemovedResources() []string

func (*DeltaDiscoveryResponse) GetResources

func (m *DeltaDiscoveryResponse) GetResources() []*Resource

func (*DeltaDiscoveryResponse) GetSystemVersionInfo

func (m *DeltaDiscoveryResponse) GetSystemVersionInfo() string

func (*DeltaDiscoveryResponse) GetTypeUrl

func (m *DeltaDiscoveryResponse) GetTypeUrl() string

func (*DeltaDiscoveryResponse) Marshal

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

func (*DeltaDiscoveryResponse) MarshalTo

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

func (*DeltaDiscoveryResponse) MarshalToSizedBuffer

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

func (*DeltaDiscoveryResponse) ProtoMessage

func (*DeltaDiscoveryResponse) ProtoMessage()

func (*DeltaDiscoveryResponse) Reset

func (m *DeltaDiscoveryResponse) Reset()

func (*DeltaDiscoveryResponse) Size

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

func (*DeltaDiscoveryResponse) String

func (m *DeltaDiscoveryResponse) String() string

func (*DeltaDiscoveryResponse) Unmarshal

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

func (*DeltaDiscoveryResponse) Validate

func (m *DeltaDiscoveryResponse) Validate() error

Validate checks the field values on DeltaDiscoveryResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*DeltaDiscoveryResponse) XXX_DiscardUnknown

func (m *DeltaDiscoveryResponse) XXX_DiscardUnknown()

func (*DeltaDiscoveryResponse) XXX_Marshal

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

func (*DeltaDiscoveryResponse) XXX_Merge

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

func (*DeltaDiscoveryResponse) XXX_Size

func (m *DeltaDiscoveryResponse) XXX_Size() int

func (*DeltaDiscoveryResponse) XXX_Unmarshal

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

type DeltaDiscoveryResponseValidationError

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

DeltaDiscoveryResponseValidationError is the validation error returned by DeltaDiscoveryResponse.Validate if the designated constraints aren't met.

func (DeltaDiscoveryResponseValidationError) Cause

Cause function returns cause value.

func (DeltaDiscoveryResponseValidationError) Error

Error satisfies the builtin error interface

func (DeltaDiscoveryResponseValidationError) ErrorName

ErrorName returns error name.

func (DeltaDiscoveryResponseValidationError) Field

Field function returns field value.

func (DeltaDiscoveryResponseValidationError) Key

Key function returns key value.

func (DeltaDiscoveryResponseValidationError) Reason

Reason function returns reason value.

type DiscoveryRequest

type DiscoveryRequest struct {
	// The version_info provided in the request messages will be the version_info
	// received with the most recent successfully processed response or empty on
	// the first request. It is expected that no new request is sent after a
	// response is received until the Envoy instance is ready to ACK/NACK the new
	// configuration. ACK/NACK takes place by returning the new API config version
	// as applied or the previous API config version respectively. Each type_url
	// (see below) has an independent version associated with it.
	VersionInfo string `protobuf:"bytes,1,opt,name=version_info,json=versionInfo,proto3" json:"version_info,omitempty"`
	// The node making the request.
	Node *core.Node `protobuf:"bytes,2,opt,name=node,proto3" json:"node,omitempty"`
	// List of resources to subscribe to, e.g. list of cluster names or a route
	// configuration name. If this is empty, all resources for the API are
	// returned. LDS/CDS may have empty resource_names, which will cause all
	// resources for the Envoy instance to be returned. The LDS and CDS responses
	// will then imply a number of resources that need to be fetched via EDS/RDS,
	// which will be explicitly enumerated in resource_names.
	ResourceNames []string `protobuf:"bytes,3,rep,name=resource_names,json=resourceNames,proto3" json:"resource_names,omitempty"`
	// Type of the resource that is being requested, e.g.
	// "type.googleapis.com/envoy.api.v2.ClusterLoadAssignment". This is implicit
	// in requests made via singleton xDS APIs such as CDS, LDS, etc. but is
	// required for ADS.
	TypeUrl string `protobuf:"bytes,4,opt,name=type_url,json=typeUrl,proto3" json:"type_url,omitempty"`
	// nonce corresponding to DiscoveryResponse being ACK/NACKed. See above
	// discussion on version_info and the DiscoveryResponse nonce comment. This
	// may be empty only if 1) this is a non-persistent-stream xDS such as HTTP,
	// or 2) the client has not yet accepted an update in this xDS stream (unlike
	// delta, where it is populated only for new explicit ACKs).
	ResponseNonce string `protobuf:"bytes,5,opt,name=response_nonce,json=responseNonce,proto3" json:"response_nonce,omitempty"`
	// This is populated when the previous :ref:`DiscoveryResponse <envoy_api_msg_DiscoveryResponse>`
	// failed to update configuration. The *message* field in *error_details* provides the Envoy
	// internal exception related to the failure. It is only intended for consumption during manual
	// debugging, the string provided is not guaranteed to be stable across Envoy versions.
	ErrorDetail          *rpc.Status `protobuf:"bytes,6,opt,name=error_detail,json=errorDetail,proto3" json:"error_detail,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

A DiscoveryRequest requests a set of versioned resources of the same type for a given Envoy node on some API. [#next-free-field: 7]

func (*DiscoveryRequest) Descriptor

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

func (*DiscoveryRequest) GetErrorDetail

func (m *DiscoveryRequest) GetErrorDetail() *rpc.Status

func (*DiscoveryRequest) GetNode

func (m *DiscoveryRequest) GetNode() *core.Node

func (*DiscoveryRequest) GetResourceNames

func (m *DiscoveryRequest) GetResourceNames() []string

func (*DiscoveryRequest) GetResponseNonce

func (m *DiscoveryRequest) GetResponseNonce() string

func (*DiscoveryRequest) GetTypeUrl

func (m *DiscoveryRequest) GetTypeUrl() string

func (*DiscoveryRequest) GetVersionInfo

func (m *DiscoveryRequest) GetVersionInfo() string

func (*DiscoveryRequest) Marshal

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

func (*DiscoveryRequest) MarshalTo

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

func (*DiscoveryRequest) MarshalToSizedBuffer

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

func (*DiscoveryRequest) ProtoMessage

func (*DiscoveryRequest) ProtoMessage()

func (*DiscoveryRequest) Reset

func (m *DiscoveryRequest) Reset()

func (*DiscoveryRequest) Size

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

func (*DiscoveryRequest) String

func (m *DiscoveryRequest) String() string

func (*DiscoveryRequest) Unmarshal

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

func (*DiscoveryRequest) Validate

func (m *DiscoveryRequest) Validate() error

Validate checks the field values on DiscoveryRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*DiscoveryRequest) XXX_DiscardUnknown

func (m *DiscoveryRequest) XXX_DiscardUnknown()

func (*DiscoveryRequest) XXX_Marshal

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

func (*DiscoveryRequest) XXX_Merge

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

func (*DiscoveryRequest) XXX_Size

func (m *DiscoveryRequest) XXX_Size() int

func (*DiscoveryRequest) XXX_Unmarshal

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

type DiscoveryRequestValidationError

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

DiscoveryRequestValidationError is the validation error returned by DiscoveryRequest.Validate if the designated constraints aren't met.

func (DiscoveryRequestValidationError) Cause

Cause function returns cause value.

func (DiscoveryRequestValidationError) Error

Error satisfies the builtin error interface

func (DiscoveryRequestValidationError) ErrorName

ErrorName returns error name.

func (DiscoveryRequestValidationError) Field

Field function returns field value.

func (DiscoveryRequestValidationError) Key

Key function returns key value.

func (DiscoveryRequestValidationError) Reason

Reason function returns reason value.

type DiscoveryResponse

type DiscoveryResponse struct {
	// The version of the response data.
	VersionInfo string `protobuf:"bytes,1,opt,name=version_info,json=versionInfo,proto3" json:"version_info,omitempty"`
	// The response resources. These resources are typed and depend on the API being called.
	Resources []*types.Any `protobuf:"bytes,2,rep,name=resources,proto3" json:"resources,omitempty"`
	// [#not-implemented-hide:]
	// Canary is used to support two Envoy command line flags:
	//
	// * --terminate-on-canary-transition-failure. When set, Envoy is able to
	//   terminate if it detects that configuration is stuck at canary. Consider
	//   this example sequence of updates:
	//   - Management server applies a canary config successfully.
	//   - Management server rolls back to a production config.
	//   - Envoy rejects the new production config.
	//   Since there is no sensible way to continue receiving configuration
	//   updates, Envoy will then terminate and apply production config from a
	//   clean slate.
	// * --dry-run-canary. When set, a canary response will never be applied, only
	//   validated via a dry run.
	Canary bool `protobuf:"varint,3,opt,name=canary,proto3" json:"canary,omitempty"`
	// Type URL for resources. Identifies the xDS API when muxing over ADS.
	// Must be consistent with the type_url in the 'resources' repeated Any (if non-empty).
	TypeUrl string `protobuf:"bytes,4,opt,name=type_url,json=typeUrl,proto3" json:"type_url,omitempty"`
	// For gRPC based subscriptions, the nonce provides a way to explicitly ack a
	// specific DiscoveryResponse in a following DiscoveryRequest. Additional
	// messages may have been sent by Envoy to the management server for the
	// previous version on the stream prior to this DiscoveryResponse, that were
	// unprocessed at response send time. The nonce allows the management server
	// to ignore any further DiscoveryRequests for the previous version until a
	// DiscoveryRequest bearing the nonce. The nonce is optional and is not
	// required for non-stream based xDS implementations.
	Nonce string `protobuf:"bytes,5,opt,name=nonce,proto3" json:"nonce,omitempty"`
	// [#not-implemented-hide:]
	// The control plane instance that sent the response.
	ControlPlane         *core.ControlPlane `protobuf:"bytes,6,opt,name=control_plane,json=controlPlane,proto3" json:"control_plane,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

[#next-free-field: 7]

func (*DiscoveryResponse) Descriptor

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

func (*DiscoveryResponse) GetCanary

func (m *DiscoveryResponse) GetCanary() bool

func (*DiscoveryResponse) GetControlPlane

func (m *DiscoveryResponse) GetControlPlane() *core.ControlPlane

func (*DiscoveryResponse) GetNonce

func (m *DiscoveryResponse) GetNonce() string

func (*DiscoveryResponse) GetResources

func (m *DiscoveryResponse) GetResources() []*types.Any

func (*DiscoveryResponse) GetTypeUrl

func (m *DiscoveryResponse) GetTypeUrl() string

func (*DiscoveryResponse) GetVersionInfo

func (m *DiscoveryResponse) GetVersionInfo() string

func (*DiscoveryResponse) Marshal

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

func (*DiscoveryResponse) MarshalTo

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

func (*DiscoveryResponse) MarshalToSizedBuffer

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

func (*DiscoveryResponse) ProtoMessage

func (*DiscoveryResponse) ProtoMessage()

func (*DiscoveryResponse) Reset

func (m *DiscoveryResponse) Reset()

func (*DiscoveryResponse) Size

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

func (*DiscoveryResponse) String

func (m *DiscoveryResponse) String() string

func (*DiscoveryResponse) Unmarshal

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

func (*DiscoveryResponse) Validate

func (m *DiscoveryResponse) Validate() error

Validate checks the field values on DiscoveryResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*DiscoveryResponse) XXX_DiscardUnknown

func (m *DiscoveryResponse) XXX_DiscardUnknown()

func (*DiscoveryResponse) XXX_Marshal

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

func (*DiscoveryResponse) XXX_Merge

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

func (*DiscoveryResponse) XXX_Size

func (m *DiscoveryResponse) XXX_Size() int

func (*DiscoveryResponse) XXX_Unmarshal

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

type DiscoveryResponseValidationError

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

DiscoveryResponseValidationError is the validation error returned by DiscoveryResponse.Validate if the designated constraints aren't met.

func (DiscoveryResponseValidationError) Cause

Cause function returns cause value.

func (DiscoveryResponseValidationError) Error

Error satisfies the builtin error interface

func (DiscoveryResponseValidationError) ErrorName

ErrorName returns error name.

func (DiscoveryResponseValidationError) Field

Field function returns field value.

func (DiscoveryResponseValidationError) Key

Key function returns key value.

func (DiscoveryResponseValidationError) Reason

Reason function returns reason value.

type EndpointDiscoveryServiceClient

type EndpointDiscoveryServiceClient interface {
	// The resource_names field in DiscoveryRequest specifies a list of clusters
	// to subscribe to updates for.
	StreamEndpoints(ctx context.Context, opts ...grpc.CallOption) (EndpointDiscoveryService_StreamEndpointsClient, error)
	DeltaEndpoints(ctx context.Context, opts ...grpc.CallOption) (EndpointDiscoveryService_DeltaEndpointsClient, error)
	FetchEndpoints(ctx context.Context, in *DiscoveryRequest, opts ...grpc.CallOption) (*DiscoveryResponse, error)
}

EndpointDiscoveryServiceClient is the client API for EndpointDiscoveryService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewEndpointDiscoveryServiceClient

func NewEndpointDiscoveryServiceClient(cc *grpc.ClientConn) EndpointDiscoveryServiceClient

type EndpointDiscoveryServiceServer

type EndpointDiscoveryServiceServer interface {
	// The resource_names field in DiscoveryRequest specifies a list of clusters
	// to subscribe to updates for.
	StreamEndpoints(EndpointDiscoveryService_StreamEndpointsServer) error
	DeltaEndpoints(EndpointDiscoveryService_DeltaEndpointsServer) error
	FetchEndpoints(context.Context, *DiscoveryRequest) (*DiscoveryResponse, error)
}

EndpointDiscoveryServiceServer is the server API for EndpointDiscoveryService service.

type EndpointDiscoveryService_DeltaEndpointsClient

type EndpointDiscoveryService_DeltaEndpointsClient interface {
	Send(*DeltaDiscoveryRequest) error
	Recv() (*DeltaDiscoveryResponse, error)
	grpc.ClientStream
}

type EndpointDiscoveryService_DeltaEndpointsServer

type EndpointDiscoveryService_DeltaEndpointsServer interface {
	Send(*DeltaDiscoveryResponse) error
	Recv() (*DeltaDiscoveryRequest, error)
	grpc.ServerStream
}

type EndpointDiscoveryService_StreamEndpointsClient

type EndpointDiscoveryService_StreamEndpointsClient interface {
	Send(*DiscoveryRequest) error
	Recv() (*DiscoveryResponse, error)
	grpc.ClientStream
}

type EndpointDiscoveryService_StreamEndpointsServer

type EndpointDiscoveryService_StreamEndpointsServer interface {
	Send(*DiscoveryResponse) error
	Recv() (*DiscoveryRequest, error)
	grpc.ServerStream
}

type Listener

type Listener struct {
	// The unique name by which this listener is known. If no name is provided,
	// Envoy will allocate an internal UUID for the listener. If the listener is to be dynamically
	// updated or removed via :ref:`LDS <config_listeners_lds>` a unique name must be provided.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The address that the listener should listen on. In general, the address must be unique, though
	// that is governed by the bind rules of the OS. E.g., multiple listeners can listen on port 0 on
	// Linux as the actual port will be allocated by the OS.
	Address *core.Address `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	// A list of filter chains to consider for this listener. The
	// :ref:`FilterChain <envoy_api_msg_listener.FilterChain>` with the most specific
	// :ref:`FilterChainMatch <envoy_api_msg_listener.FilterChainMatch>` criteria is used on a
	// connection.
	//
	// Example using SNI for filter chain selection can be found in the
	// :ref:`FAQ entry <faq_how_to_setup_sni>`.
	FilterChains []*listener.FilterChain `protobuf:"bytes,3,rep,name=filter_chains,json=filterChains,proto3" json:"filter_chains,omitempty"`
	// If a connection is redirected using *iptables*, the port on which the proxy
	// receives it might be different from the original destination address. When this flag is set to
	// true, the listener hands off redirected connections to the listener associated with the
	// original destination address. If there is no listener associated with the original destination
	// address, the connection is handled by the listener that receives it. Defaults to false.
	//
	// .. attention::
	//
	//   This field is deprecated. Use :ref:`an original_dst <config_listener_filters_original_dst>`
	//   :ref:`listener filter <envoy_api_field_Listener.listener_filters>` instead.
	//
	//   Note that hand off to another listener is *NOT* performed without this flag. Once
	//   :ref:`FilterChainMatch <envoy_api_msg_listener.FilterChainMatch>` is implemented this flag
	//   will be removed, as filter chain matching can be used to select a filter chain based on the
	//   restored destination address.
	UseOriginalDst *types.BoolValue `protobuf:"bytes,4,opt,name=use_original_dst,json=useOriginalDst,proto3" json:"use_original_dst,omitempty"` // Deprecated: Do not use.
	// Soft limit on size of the listener’s new connection read and write buffers.
	// If unspecified, an implementation defined default is applied (1MiB).
	PerConnectionBufferLimitBytes *types.UInt32Value `` /* 154-byte string literal not displayed */
	// Listener metadata.
	Metadata *core.Metadata `protobuf:"bytes,6,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// [#not-implemented-hide:]
	DeprecatedV1 *Listener_DeprecatedV1 `protobuf:"bytes,7,opt,name=deprecated_v1,json=deprecatedV1,proto3" json:"deprecated_v1,omitempty"`
	// The type of draining to perform at a listener-wide level.
	DrainType Listener_DrainType `` /* 126-byte string literal not displayed */
	// Listener filters have the opportunity to manipulate and augment the connection metadata that
	// is used in connection filter chain matching, for example. These filters are run before any in
	// :ref:`filter_chains <envoy_api_field_Listener.filter_chains>`. Order matters as the
	// filters are processed sequentially right after a socket has been accepted by the listener, and
	// before a connection is created.
	// UDP Listener filters can be specified when the protocol in the listener socket address in
	// :ref:`protocol <envoy_api_field_core.SocketAddress.protocol>` is :ref:`UDP
	// <envoy_api_enum_value_core.SocketAddress.Protocol.UDP>`.
	// UDP listeners currently support a single filter.
	ListenerFilters []*listener.ListenerFilter `protobuf:"bytes,9,rep,name=listener_filters,json=listenerFilters,proto3" json:"listener_filters,omitempty"`
	// The timeout to wait for all listener filters to complete operation. If the timeout is reached,
	// the accepted socket is closed without a connection being created unless
	// `continue_on_listener_filters_timeout` is set to true. Specify 0 to disable the
	// timeout. If not specified, a default timeout of 15s is used.
	ListenerFiltersTimeout *types.Duration `` /* 130-byte string literal not displayed */
	// Whether a connection should be created when listener filters timeout. Default is false.
	//
	// .. attention::
	//
	//   Some listener filters, such as :ref:`Proxy Protocol filter
	//   <config_listener_filters_proxy_protocol>`, should not be used with this option. It will cause
	//   unexpected behavior when a connection is created.
	ContinueOnListenerFiltersTimeout bool `` /* 165-byte string literal not displayed */
	// Whether the listener should be set as a transparent socket.
	// When this flag is set to true, connections can be redirected to the listener using an
	// *iptables* *TPROXY* target, in which case the original source and destination addresses and
	// ports are preserved on accepted connections. This flag should be used in combination with
	// :ref:`an original_dst <config_listener_filters_original_dst>` :ref:`listener filter
	// <envoy_api_field_Listener.listener_filters>` to mark the connections' local addresses as
	// "restored." This can be used to hand off each redirected connection to another listener
	// associated with the connection's destination address. Direct connections to the socket without
	// using *TPROXY* cannot be distinguished from connections redirected using *TPROXY* and are
	// therefore treated as if they were redirected.
	// When this flag is set to false, the listener's socket is explicitly reset as non-transparent.
	// Setting this flag requires Envoy to run with the *CAP_NET_ADMIN* capability.
	// When this flag is not set (default), the socket is not modified, i.e. the transparent option
	// is neither set nor reset.
	Transparent *types.BoolValue `protobuf:"bytes,10,opt,name=transparent,proto3" json:"transparent,omitempty"`
	// Whether the listener should set the *IP_FREEBIND* socket option. When this
	// flag is set to true, listeners can be bound to an IP address that is not
	// configured on the system running Envoy. When this flag is set to false, the
	// option *IP_FREEBIND* is disabled on the socket. When this flag is not set
	// (default), the socket is not modified, i.e. the option is neither enabled
	// nor disabled.
	Freebind *types.BoolValue `protobuf:"bytes,11,opt,name=freebind,proto3" json:"freebind,omitempty"`
	// Additional socket options that may not be present in Envoy source code or
	// precompiled binaries.
	SocketOptions []*core.SocketOption `protobuf:"bytes,13,rep,name=socket_options,json=socketOptions,proto3" json:"socket_options,omitempty"`
	// Whether the listener should accept TCP Fast Open (TFO) connections.
	// When this flag is set to a value greater than 0, the option TCP_FASTOPEN is enabled on
	// the socket, with a queue length of the specified size
	// (see `details in RFC7413 <https://tools.ietf.org/html/rfc7413#section-5.1>`_).
	// When this flag is set to 0, the option TCP_FASTOPEN is disabled on the socket.
	// When this flag is not set (default), the socket is not modified,
	// i.e. the option is neither enabled nor disabled.
	//
	// On Linux, the net.ipv4.tcp_fastopen kernel parameter must include flag 0x2 to enable
	// TCP_FASTOPEN.
	// See `ip-sysctl.txt <https://www.kernel.org/doc/Documentation/networking/ip-sysctl.txt>`_.
	//
	// On macOS, only values of 0, 1, and unset are valid; other values may result in an error.
	// To set the queue length on macOS, set the net.inet.tcp.fastopen_backlog kernel parameter.
	TcpFastOpenQueueLength *types.UInt32Value `` /* 134-byte string literal not displayed */
	// Specifies the intended direction of the traffic relative to the local Envoy.
	TrafficDirection core.TrafficDirection `` /* 151-byte string literal not displayed */
	// If the protocol in the listener socket address in :ref:`protocol
	// <envoy_api_field_core.SocketAddress.protocol>` is :ref:`UDP
	// <envoy_api_enum_value_core.SocketAddress.Protocol.UDP>`, this field specifies the actual udp
	// listener to create, i.e. :ref:`udp_listener_name
	// <envoy_api_field_listener.UdpListenerConfig.udp_listener_name>` = "raw_udp_listener" for
	// creating a packet-oriented UDP listener. If not present, treat it as "raw_udp_listener".
	UdpListenerConfig *listener.UdpListenerConfig `protobuf:"bytes,18,opt,name=udp_listener_config,json=udpListenerConfig,proto3" json:"udp_listener_config,omitempty"`
	// [#not-implemented-hide:]
	// Used to represent an API listener, which is used in non-proxy clients. The type of API
	// exposed to the non-proxy application depends on the type of API listener.
	// When this field is set, no other field except for :ref:`name<envoy_api_field_Listener.name>`
	// should be set.
	// [#next-major-version: In the v3 API, instead of this messy approach where the socket
	// listener fields are directly in the top-level Listener message and the API listener types
	// are in the ApiListener message, the socket listener messages should be in their own message,
	// and the top-level Listener should essentially be a oneof that selects between the
	// socket listener and the various types of API listener. That way, a given Listener message
	// can structurally only contain the fields of the relevant type.]
	ApiListener *v2.ApiListener `protobuf:"bytes,19,opt,name=api_listener,json=apiListener,proto3" json:"api_listener,omitempty"`
	// The listener's connection balancer configuration, currently only applicable to TCP listeners.
	// If no configuration is specified, Envoy will not attempt to balance active connections between
	// worker threads.
	ConnectionBalanceConfig *Listener_ConnectionBalanceConfig `` /* 133-byte string literal not displayed */
	XXX_NoUnkeyedLiteral    struct{}                          `json:"-"`
	XXX_unrecognized        []byte                            `json:"-"`
	XXX_sizecache           int32                             `json:"-"`
}

[#next-free-field: 21]

func (*Listener) Descriptor

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

func (*Listener) GetAddress

func (m *Listener) GetAddress() *core.Address

func (*Listener) GetApiListener added in v0.86.0

func (m *Listener) GetApiListener() *v2.ApiListener

func (*Listener) GetConnectionBalanceConfig added in v0.86.0

func (m *Listener) GetConnectionBalanceConfig() *Listener_ConnectionBalanceConfig

func (*Listener) GetContinueOnListenerFiltersTimeout

func (m *Listener) GetContinueOnListenerFiltersTimeout() bool

func (*Listener) GetDeprecatedV1

func (m *Listener) GetDeprecatedV1() *Listener_DeprecatedV1

func (*Listener) GetDrainType

func (m *Listener) GetDrainType() Listener_DrainType

func (*Listener) GetFilterChains

func (m *Listener) GetFilterChains() []*listener.FilterChain

func (*Listener) GetFreebind

func (m *Listener) GetFreebind() *types.BoolValue

func (*Listener) GetListenerFilters

func (m *Listener) GetListenerFilters() []*listener.ListenerFilter

func (*Listener) GetListenerFiltersTimeout

func (m *Listener) GetListenerFiltersTimeout() *types.Duration

func (*Listener) GetMetadata

func (m *Listener) GetMetadata() *core.Metadata

func (*Listener) GetName

func (m *Listener) GetName() string

func (*Listener) GetPerConnectionBufferLimitBytes

func (m *Listener) GetPerConnectionBufferLimitBytes() *types.UInt32Value

func (*Listener) GetSocketOptions

func (m *Listener) GetSocketOptions() []*core.SocketOption

func (*Listener) GetTcpFastOpenQueueLength

func (m *Listener) GetTcpFastOpenQueueLength() *types.UInt32Value

func (*Listener) GetTrafficDirection

func (m *Listener) GetTrafficDirection() core.TrafficDirection

func (*Listener) GetTransparent

func (m *Listener) GetTransparent() *types.BoolValue

func (*Listener) GetUdpListenerConfig

func (m *Listener) GetUdpListenerConfig() *listener.UdpListenerConfig

func (*Listener) GetUseOriginalDst deprecated

func (m *Listener) GetUseOriginalDst() *types.BoolValue

Deprecated: Do not use.

func (*Listener) Marshal

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

func (*Listener) MarshalTo

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

func (*Listener) MarshalToSizedBuffer

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

func (*Listener) ProtoMessage

func (*Listener) ProtoMessage()

func (*Listener) Reset

func (m *Listener) Reset()

func (*Listener) Size

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

func (*Listener) String

func (m *Listener) String() string

func (*Listener) Unmarshal

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

func (*Listener) Validate

func (m *Listener) Validate() error

Validate checks the field values on Listener with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*Listener) XXX_DiscardUnknown

func (m *Listener) XXX_DiscardUnknown()

func (*Listener) XXX_Marshal

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

func (*Listener) XXX_Merge

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

func (*Listener) XXX_Size

func (m *Listener) XXX_Size() int

func (*Listener) XXX_Unmarshal

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

type ListenerDiscoveryServiceClient

type ListenerDiscoveryServiceClient interface {
	DeltaListeners(ctx context.Context, opts ...grpc.CallOption) (ListenerDiscoveryService_DeltaListenersClient, error)
	StreamListeners(ctx context.Context, opts ...grpc.CallOption) (ListenerDiscoveryService_StreamListenersClient, error)
	FetchListeners(ctx context.Context, in *DiscoveryRequest, opts ...grpc.CallOption) (*DiscoveryResponse, error)
}

ListenerDiscoveryServiceClient is the client API for ListenerDiscoveryService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewListenerDiscoveryServiceClient

func NewListenerDiscoveryServiceClient(cc *grpc.ClientConn) ListenerDiscoveryServiceClient

type ListenerDiscoveryServiceServer

type ListenerDiscoveryServiceServer interface {
	DeltaListeners(ListenerDiscoveryService_DeltaListenersServer) error
	StreamListeners(ListenerDiscoveryService_StreamListenersServer) error
	FetchListeners(context.Context, *DiscoveryRequest) (*DiscoveryResponse, error)
}

ListenerDiscoveryServiceServer is the server API for ListenerDiscoveryService service.

type ListenerDiscoveryService_DeltaListenersClient

type ListenerDiscoveryService_DeltaListenersClient interface {
	Send(*DeltaDiscoveryRequest) error
	Recv() (*DeltaDiscoveryResponse, error)
	grpc.ClientStream
}

type ListenerDiscoveryService_DeltaListenersServer

type ListenerDiscoveryService_DeltaListenersServer interface {
	Send(*DeltaDiscoveryResponse) error
	Recv() (*DeltaDiscoveryRequest, error)
	grpc.ServerStream
}

type ListenerDiscoveryService_StreamListenersClient

type ListenerDiscoveryService_StreamListenersClient interface {
	Send(*DiscoveryRequest) error
	Recv() (*DiscoveryResponse, error)
	grpc.ClientStream
}

type ListenerDiscoveryService_StreamListenersServer

type ListenerDiscoveryService_StreamListenersServer interface {
	Send(*DiscoveryResponse) error
	Recv() (*DiscoveryRequest, error)
	grpc.ServerStream
}

type ListenerValidationError

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

ListenerValidationError is the validation error returned by Listener.Validate if the designated constraints aren't met.

func (ListenerValidationError) Cause

func (e ListenerValidationError) Cause() error

Cause function returns cause value.

func (ListenerValidationError) Error

func (e ListenerValidationError) Error() string

Error satisfies the builtin error interface

func (ListenerValidationError) ErrorName

func (e ListenerValidationError) ErrorName() string

ErrorName returns error name.

func (ListenerValidationError) Field

func (e ListenerValidationError) Field() string

Field function returns field value.

func (ListenerValidationError) Key

func (e ListenerValidationError) Key() bool

Key function returns key value.

func (ListenerValidationError) Reason

func (e ListenerValidationError) Reason() string

Reason function returns reason value.

type Listener_ConnectionBalanceConfig added in v0.86.0

type Listener_ConnectionBalanceConfig struct {
	// Types that are valid to be assigned to BalanceType:
	//	*Listener_ConnectionBalanceConfig_ExactBalance_
	BalanceType          isListener_ConnectionBalanceConfig_BalanceType `protobuf_oneof:"balance_type"`
	XXX_NoUnkeyedLiteral struct{}                                       `json:"-"`
	XXX_unrecognized     []byte                                         `json:"-"`
	XXX_sizecache        int32                                          `json:"-"`
}

Configuration for listener connection balancing.

func (*Listener_ConnectionBalanceConfig) Descriptor added in v0.86.0

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

func (*Listener_ConnectionBalanceConfig) GetBalanceType added in v0.86.0

func (m *Listener_ConnectionBalanceConfig) GetBalanceType() isListener_ConnectionBalanceConfig_BalanceType

func (*Listener_ConnectionBalanceConfig) GetExactBalance added in v0.86.0

func (*Listener_ConnectionBalanceConfig) Marshal added in v0.86.0

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

func (*Listener_ConnectionBalanceConfig) MarshalTo added in v0.86.0

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

func (*Listener_ConnectionBalanceConfig) MarshalToSizedBuffer added in v0.86.0

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

func (*Listener_ConnectionBalanceConfig) ProtoMessage added in v0.86.0

func (*Listener_ConnectionBalanceConfig) ProtoMessage()

func (*Listener_ConnectionBalanceConfig) Reset added in v0.86.0

func (*Listener_ConnectionBalanceConfig) Size added in v0.86.0

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

func (*Listener_ConnectionBalanceConfig) String added in v0.86.0

func (*Listener_ConnectionBalanceConfig) Unmarshal added in v0.86.0

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

func (*Listener_ConnectionBalanceConfig) Validate added in v0.86.0

Validate checks the field values on Listener_ConnectionBalanceConfig with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*Listener_ConnectionBalanceConfig) XXX_DiscardUnknown added in v0.86.0

func (m *Listener_ConnectionBalanceConfig) XXX_DiscardUnknown()

func (*Listener_ConnectionBalanceConfig) XXX_Marshal added in v0.86.0

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

func (*Listener_ConnectionBalanceConfig) XXX_Merge added in v0.86.0

func (*Listener_ConnectionBalanceConfig) XXX_OneofWrappers added in v0.86.0

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

XXX_OneofWrappers is for the internal use of the proto package.

func (*Listener_ConnectionBalanceConfig) XXX_Size added in v0.86.0

func (m *Listener_ConnectionBalanceConfig) XXX_Size() int

func (*Listener_ConnectionBalanceConfig) XXX_Unmarshal added in v0.86.0

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

type Listener_ConnectionBalanceConfigValidationError added in v0.86.0

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

Listener_ConnectionBalanceConfigValidationError is the validation error returned by Listener_ConnectionBalanceConfig.Validate if the designated constraints aren't met.

func (Listener_ConnectionBalanceConfigValidationError) Cause added in v0.86.0

Cause function returns cause value.

func (Listener_ConnectionBalanceConfigValidationError) Error added in v0.86.0

Error satisfies the builtin error interface

func (Listener_ConnectionBalanceConfigValidationError) ErrorName added in v0.86.0

ErrorName returns error name.

func (Listener_ConnectionBalanceConfigValidationError) Field added in v0.86.0

Field function returns field value.

func (Listener_ConnectionBalanceConfigValidationError) Key added in v0.86.0

Key function returns key value.

func (Listener_ConnectionBalanceConfigValidationError) Reason added in v0.86.0

Reason function returns reason value.

type Listener_ConnectionBalanceConfig_ExactBalance added in v0.86.0

type Listener_ConnectionBalanceConfig_ExactBalance struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

A connection balancer implementation that does exact balancing. This means that a lock is held during balancing so that connection counts are nearly exactly balanced between worker threads. This is "nearly" exact in the sense that a connection might close in parallel thus making the counts incorrect, but this should be rectified on the next accept. This balancer sacrifices accept throughput for accuracy and should be used when there are a small number of connections that rarely cycle (e.g., service mesh gRPC egress).

func (*Listener_ConnectionBalanceConfig_ExactBalance) Descriptor added in v0.86.0

func (*Listener_ConnectionBalanceConfig_ExactBalance) Marshal added in v0.86.0

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

func (*Listener_ConnectionBalanceConfig_ExactBalance) MarshalTo added in v0.86.0

func (*Listener_ConnectionBalanceConfig_ExactBalance) MarshalToSizedBuffer added in v0.86.0

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

func (*Listener_ConnectionBalanceConfig_ExactBalance) ProtoMessage added in v0.86.0

func (*Listener_ConnectionBalanceConfig_ExactBalance) Reset added in v0.86.0

func (*Listener_ConnectionBalanceConfig_ExactBalance) Size added in v0.86.0

func (*Listener_ConnectionBalanceConfig_ExactBalance) String added in v0.86.0

func (*Listener_ConnectionBalanceConfig_ExactBalance) Unmarshal added in v0.86.0

func (*Listener_ConnectionBalanceConfig_ExactBalance) Validate added in v0.86.0

Validate checks the field values on Listener_ConnectionBalanceConfig_ExactBalance with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*Listener_ConnectionBalanceConfig_ExactBalance) XXX_DiscardUnknown added in v0.86.0

func (m *Listener_ConnectionBalanceConfig_ExactBalance) XXX_DiscardUnknown()

func (*Listener_ConnectionBalanceConfig_ExactBalance) XXX_Marshal added in v0.86.0

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

func (*Listener_ConnectionBalanceConfig_ExactBalance) XXX_Merge added in v0.86.0

func (*Listener_ConnectionBalanceConfig_ExactBalance) XXX_Size added in v0.86.0

func (*Listener_ConnectionBalanceConfig_ExactBalance) XXX_Unmarshal added in v0.86.0

type Listener_ConnectionBalanceConfig_ExactBalanceValidationError added in v0.86.0

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

Listener_ConnectionBalanceConfig_ExactBalanceValidationError is the validation error returned by Listener_ConnectionBalanceConfig_ExactBalance.Validate if the designated constraints aren't met.

func (Listener_ConnectionBalanceConfig_ExactBalanceValidationError) Cause added in v0.86.0

Cause function returns cause value.

func (Listener_ConnectionBalanceConfig_ExactBalanceValidationError) Error added in v0.86.0

Error satisfies the builtin error interface

func (Listener_ConnectionBalanceConfig_ExactBalanceValidationError) ErrorName added in v0.86.0

ErrorName returns error name.

func (Listener_ConnectionBalanceConfig_ExactBalanceValidationError) Field added in v0.86.0

Field function returns field value.

func (Listener_ConnectionBalanceConfig_ExactBalanceValidationError) Key added in v0.86.0

Key function returns key value.

func (Listener_ConnectionBalanceConfig_ExactBalanceValidationError) Reason added in v0.86.0

Reason function returns reason value.

type Listener_ConnectionBalanceConfig_ExactBalance_ added in v0.86.0

type Listener_ConnectionBalanceConfig_ExactBalance_ struct {
	ExactBalance *Listener_ConnectionBalanceConfig_ExactBalance `protobuf:"bytes,1,opt,name=exact_balance,json=exactBalance,proto3,oneof"`
}

func (*Listener_ConnectionBalanceConfig_ExactBalance_) MarshalTo added in v0.86.0

func (*Listener_ConnectionBalanceConfig_ExactBalance_) MarshalToSizedBuffer added in v0.86.0

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

func (*Listener_ConnectionBalanceConfig_ExactBalance_) Size added in v0.86.0

type Listener_DeprecatedV1

type Listener_DeprecatedV1 struct {
	// Whether the listener should bind to the port. A listener that doesn't
	// bind can only receive connections redirected from other listeners that
	// set use_original_dst parameter to true. Default is true.
	//
	// This is deprecated in v2, all Listeners will bind to their port. An
	// additional filter chain must be created for every original destination
	// port this listener may redirect to in v2, with the original port
	// specified in the FilterChainMatch destination_port field.
	//
	// [#comment:TODO(PiotrSikora): Remove this once verified that we no longer need it.]
	BindToPort           *types.BoolValue `protobuf:"bytes,1,opt,name=bind_to_port,json=bindToPort,proto3" json:"bind_to_port,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

[#not-implemented-hide:]

func (*Listener_DeprecatedV1) Descriptor

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

func (*Listener_DeprecatedV1) GetBindToPort

func (m *Listener_DeprecatedV1) GetBindToPort() *types.BoolValue

func (*Listener_DeprecatedV1) Marshal

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

func (*Listener_DeprecatedV1) MarshalTo

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

func (*Listener_DeprecatedV1) MarshalToSizedBuffer

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

func (*Listener_DeprecatedV1) ProtoMessage

func (*Listener_DeprecatedV1) ProtoMessage()

func (*Listener_DeprecatedV1) Reset

func (m *Listener_DeprecatedV1) Reset()

func (*Listener_DeprecatedV1) Size

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

func (*Listener_DeprecatedV1) String

func (m *Listener_DeprecatedV1) String() string

func (*Listener_DeprecatedV1) Unmarshal

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

func (*Listener_DeprecatedV1) Validate

func (m *Listener_DeprecatedV1) Validate() error

Validate checks the field values on Listener_DeprecatedV1 with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*Listener_DeprecatedV1) XXX_DiscardUnknown

func (m *Listener_DeprecatedV1) XXX_DiscardUnknown()

func (*Listener_DeprecatedV1) XXX_Marshal

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

func (*Listener_DeprecatedV1) XXX_Merge

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

func (*Listener_DeprecatedV1) XXX_Size

func (m *Listener_DeprecatedV1) XXX_Size() int

func (*Listener_DeprecatedV1) XXX_Unmarshal

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

type Listener_DeprecatedV1ValidationError

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

Listener_DeprecatedV1ValidationError is the validation error returned by Listener_DeprecatedV1.Validate if the designated constraints aren't met.

func (Listener_DeprecatedV1ValidationError) Cause

Cause function returns cause value.

func (Listener_DeprecatedV1ValidationError) Error

Error satisfies the builtin error interface

func (Listener_DeprecatedV1ValidationError) ErrorName

ErrorName returns error name.

func (Listener_DeprecatedV1ValidationError) Field

Field function returns field value.

func (Listener_DeprecatedV1ValidationError) Key

Key function returns key value.

func (Listener_DeprecatedV1ValidationError) Reason

Reason function returns reason value.

type Listener_DrainType

type Listener_DrainType int32
const (
	// Drain in response to calling /healthcheck/fail admin endpoint (along with the health check
	// filter), listener removal/modification, and hot restart.
	Listener_DEFAULT Listener_DrainType = 0
	// Drain in response to listener removal/modification and hot restart. This setting does not
	// include /healthcheck/fail. This setting may be desirable if Envoy is hosting both ingress
	// and egress listeners.
	Listener_MODIFY_ONLY Listener_DrainType = 1
)

func (Listener_DrainType) EnumDescriptor

func (Listener_DrainType) EnumDescriptor() ([]byte, []int)

func (Listener_DrainType) String

func (x Listener_DrainType) String() string

type LoadBalancingPolicy

type LoadBalancingPolicy struct {
	// Each client will iterate over the list in order and stop at the first policy that it
	// supports. This provides a mechanism for starting to use new LB policies that are not yet
	// supported by all clients.
	Policies             []*LoadBalancingPolicy_Policy `protobuf:"bytes,1,rep,name=policies,proto3" json:"policies,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                      `json:"-"`
	XXX_unrecognized     []byte                        `json:"-"`
	XXX_sizecache        int32                         `json:"-"`
}

[#not-implemented-hide:] Extensible load balancing policy configuration.

Every LB policy defined via this mechanism will be identified via a unique name using reverse DNS notation. If the policy needs configuration parameters, it must define a message for its own configuration, which will be stored in the config field. The name of the policy will tell clients which type of message they should expect to see in the config field.

Note that there are cases where it is useful to be able to independently select LB policies for choosing a locality and for choosing an endpoint within that locality. For example, a given deployment may always use the same policy to choose the locality, but for choosing the endpoint within the locality, some clusters may use weighted-round-robin, while others may use some sort of session-based balancing.

This can be accomplished via hierarchical LB policies, where the parent LB policy creates a child LB policy for each locality. For each request, the parent chooses the locality and then delegates to the child policy for that locality to choose the endpoint within the locality.

To facilitate this, the config message for the top-level LB policy may include a field of type LoadBalancingPolicy that specifies the child policy.

func (*LoadBalancingPolicy) Descriptor

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

func (*LoadBalancingPolicy) GetPolicies

func (m *LoadBalancingPolicy) GetPolicies() []*LoadBalancingPolicy_Policy

func (*LoadBalancingPolicy) Marshal

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

func (*LoadBalancingPolicy) MarshalTo

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

func (*LoadBalancingPolicy) MarshalToSizedBuffer

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

func (*LoadBalancingPolicy) ProtoMessage

func (*LoadBalancingPolicy) ProtoMessage()

func (*LoadBalancingPolicy) Reset

func (m *LoadBalancingPolicy) Reset()

func (*LoadBalancingPolicy) Size

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

func (*LoadBalancingPolicy) String

func (m *LoadBalancingPolicy) String() string

func (*LoadBalancingPolicy) Unmarshal

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

func (*LoadBalancingPolicy) Validate

func (m *LoadBalancingPolicy) Validate() error

Validate checks the field values on LoadBalancingPolicy with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*LoadBalancingPolicy) XXX_DiscardUnknown

func (m *LoadBalancingPolicy) XXX_DiscardUnknown()

func (*LoadBalancingPolicy) XXX_Marshal

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

func (*LoadBalancingPolicy) XXX_Merge

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

func (*LoadBalancingPolicy) XXX_Size

func (m *LoadBalancingPolicy) XXX_Size() int

func (*LoadBalancingPolicy) XXX_Unmarshal

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

type LoadBalancingPolicyValidationError

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

LoadBalancingPolicyValidationError is the validation error returned by LoadBalancingPolicy.Validate if the designated constraints aren't met.

func (LoadBalancingPolicyValidationError) Cause

Cause function returns cause value.

func (LoadBalancingPolicyValidationError) Error

Error satisfies the builtin error interface

func (LoadBalancingPolicyValidationError) ErrorName

ErrorName returns error name.

func (LoadBalancingPolicyValidationError) Field

Field function returns field value.

func (LoadBalancingPolicyValidationError) Key

Key function returns key value.

func (LoadBalancingPolicyValidationError) Reason

Reason function returns reason value.

type LoadBalancingPolicy_Policy

type LoadBalancingPolicy_Policy struct {
	// Required. The name of the LB policy.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Optional config for the LB policy.
	// No more than one of these two fields may be populated.
	Config               *types.Struct `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"` // Deprecated: Do not use.
	TypedConfig          *types.Any    `protobuf:"bytes,3,opt,name=typed_config,json=typedConfig,proto3" json:"typed_config,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*LoadBalancingPolicy_Policy) Descriptor

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

func (*LoadBalancingPolicy_Policy) GetConfig deprecated

func (m *LoadBalancingPolicy_Policy) GetConfig() *types.Struct

Deprecated: Do not use.

func (*LoadBalancingPolicy_Policy) GetName

func (m *LoadBalancingPolicy_Policy) GetName() string

func (*LoadBalancingPolicy_Policy) GetTypedConfig

func (m *LoadBalancingPolicy_Policy) GetTypedConfig() *types.Any

func (*LoadBalancingPolicy_Policy) Marshal

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

func (*LoadBalancingPolicy_Policy) MarshalTo

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

func (*LoadBalancingPolicy_Policy) MarshalToSizedBuffer

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

func (*LoadBalancingPolicy_Policy) ProtoMessage

func (*LoadBalancingPolicy_Policy) ProtoMessage()

func (*LoadBalancingPolicy_Policy) Reset

func (m *LoadBalancingPolicy_Policy) Reset()

func (*LoadBalancingPolicy_Policy) Size

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

func (*LoadBalancingPolicy_Policy) String

func (m *LoadBalancingPolicy_Policy) String() string

func (*LoadBalancingPolicy_Policy) Unmarshal

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

func (*LoadBalancingPolicy_Policy) Validate

func (m *LoadBalancingPolicy_Policy) Validate() error

Validate checks the field values on LoadBalancingPolicy_Policy with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*LoadBalancingPolicy_Policy) XXX_DiscardUnknown

func (m *LoadBalancingPolicy_Policy) XXX_DiscardUnknown()

func (*LoadBalancingPolicy_Policy) XXX_Marshal

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

func (*LoadBalancingPolicy_Policy) XXX_Merge

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

func (*LoadBalancingPolicy_Policy) XXX_Size

func (m *LoadBalancingPolicy_Policy) XXX_Size() int

func (*LoadBalancingPolicy_Policy) XXX_Unmarshal

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

type LoadBalancingPolicy_PolicyValidationError

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

LoadBalancingPolicy_PolicyValidationError is the validation error returned by LoadBalancingPolicy_Policy.Validate if the designated constraints aren't met.

func (LoadBalancingPolicy_PolicyValidationError) Cause

Cause function returns cause value.

func (LoadBalancingPolicy_PolicyValidationError) Error

Error satisfies the builtin error interface

func (LoadBalancingPolicy_PolicyValidationError) ErrorName

ErrorName returns error name.

func (LoadBalancingPolicy_PolicyValidationError) Field

Field function returns field value.

func (LoadBalancingPolicy_PolicyValidationError) Key

Key function returns key value.

func (LoadBalancingPolicy_PolicyValidationError) Reason

Reason function returns reason value.

type Resource

type Resource struct {
	// The resource's name, to distinguish it from others of the same type of resource.
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// [#not-implemented-hide:]
	// The aliases are a list of other names that this resource can go by.
	Aliases []string `protobuf:"bytes,4,rep,name=aliases,proto3" json:"aliases,omitempty"`
	// The resource level version. It allows xDS to track the state of individual
	// resources.
	Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	// The resource being tracked.
	Resource             *types.Any `protobuf:"bytes,2,opt,name=resource,proto3" json:"resource,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*Resource) Descriptor

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

func (*Resource) GetAliases

func (m *Resource) GetAliases() []string

func (*Resource) GetName

func (m *Resource) GetName() string

func (*Resource) GetResource

func (m *Resource) GetResource() *types.Any

func (*Resource) GetVersion

func (m *Resource) GetVersion() string

func (*Resource) Marshal

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

func (*Resource) MarshalTo

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

func (*Resource) MarshalToSizedBuffer

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

func (*Resource) ProtoMessage

func (*Resource) ProtoMessage()

func (*Resource) Reset

func (m *Resource) Reset()

func (*Resource) Size

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

func (*Resource) String

func (m *Resource) String() string

func (*Resource) Unmarshal

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

func (*Resource) Validate

func (m *Resource) Validate() error

Validate checks the field values on Resource with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*Resource) XXX_DiscardUnknown

func (m *Resource) XXX_DiscardUnknown()

func (*Resource) XXX_Marshal

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

func (*Resource) XXX_Merge

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

func (*Resource) XXX_Size

func (m *Resource) XXX_Size() int

func (*Resource) XXX_Unmarshal

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

type ResourceValidationError

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

ResourceValidationError is the validation error returned by Resource.Validate if the designated constraints aren't met.

func (ResourceValidationError) Cause

func (e ResourceValidationError) Cause() error

Cause function returns cause value.

func (ResourceValidationError) Error

func (e ResourceValidationError) Error() string

Error satisfies the builtin error interface

func (ResourceValidationError) ErrorName

func (e ResourceValidationError) ErrorName() string

ErrorName returns error name.

func (ResourceValidationError) Field

func (e ResourceValidationError) Field() string

Field function returns field value.

func (ResourceValidationError) Key

func (e ResourceValidationError) Key() bool

Key function returns key value.

func (ResourceValidationError) Reason

func (e ResourceValidationError) Reason() string

Reason function returns reason value.

type RouteConfiguration

type RouteConfiguration struct {
	// The name of the route configuration. For example, it might match
	// :ref:`route_config_name
	// <envoy_api_field_config.filter.network.http_connection_manager.v2.Rds.route_config_name>` in
	// :ref:`envoy_api_msg_config.filter.network.http_connection_manager.v2.Rds`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// An array of virtual hosts that make up the route table.
	VirtualHosts []*route.VirtualHost `protobuf:"bytes,2,rep,name=virtual_hosts,json=virtualHosts,proto3" json:"virtual_hosts,omitempty"`
	// An array of virtual hosts will be dynamically loaded via the VHDS API.
	// Both *virtual_hosts* and *vhds* fields will be used when present. *virtual_hosts* can be used
	// for a base routing table or for infrequently changing virtual hosts. *vhds* is used for
	// on-demand discovery of virtual hosts. The contents of these two fields will be merged to
	// generate a routing table for a given RouteConfiguration, with *vhds* derived configuration
	// taking precedence.
	// [#not-implemented-hide:]
	Vhds *Vhds `protobuf:"bytes,9,opt,name=vhds,proto3" json:"vhds,omitempty"`
	// Optionally specifies a list of HTTP headers that the connection manager
	// will consider to be internal only. If they are found on external requests they will be cleaned
	// prior to filter invocation. See :ref:`config_http_conn_man_headers_x-envoy-internal` for more
	// information.
	InternalOnlyHeaders []string `protobuf:"bytes,3,rep,name=internal_only_headers,json=internalOnlyHeaders,proto3" json:"internal_only_headers,omitempty"`
	// Specifies a list of HTTP headers that should be added to each response that
	// the connection manager encodes. Headers specified at this level are applied
	// after headers from any enclosed :ref:`envoy_api_msg_route.VirtualHost` or
	// :ref:`envoy_api_msg_route.RouteAction`. For more information, including details on
	// header value syntax, see the documentation on :ref:`custom request headers
	// <config_http_conn_man_headers_custom_request_headers>`.
	ResponseHeadersToAdd []*core.HeaderValueOption `protobuf:"bytes,4,rep,name=response_headers_to_add,json=responseHeadersToAdd,proto3" json:"response_headers_to_add,omitempty"`
	// Specifies a list of HTTP headers that should be removed from each response
	// that the connection manager encodes.
	ResponseHeadersToRemove []string `` /* 134-byte string literal not displayed */
	// Specifies a list of HTTP headers that should be added to each request
	// routed by the HTTP connection manager. Headers specified at this level are
	// applied after headers from any enclosed :ref:`envoy_api_msg_route.VirtualHost` or
	// :ref:`envoy_api_msg_route.RouteAction`. For more information, including details on
	// header value syntax, see the documentation on :ref:`custom request headers
	// <config_http_conn_man_headers_custom_request_headers>`.
	RequestHeadersToAdd []*core.HeaderValueOption `protobuf:"bytes,6,rep,name=request_headers_to_add,json=requestHeadersToAdd,proto3" json:"request_headers_to_add,omitempty"`
	// Specifies a list of HTTP headers that should be removed from each request
	// routed by the HTTP connection manager.
	RequestHeadersToRemove []string `` /* 131-byte string literal not displayed */
	// By default, headers that should be added/removed are evaluated from most to least specific:
	//
	// * route level
	// * virtual host level
	// * connection manager level
	//
	// To allow setting overrides at the route or virtual host level, this order can be reversed
	// by setting this option to true. Defaults to false.
	//
	// [#next-major-version: In the v3 API, this will default to true.]
	MostSpecificHeaderMutationsWins bool `` /* 162-byte string literal not displayed */
	// An optional boolean that specifies whether the clusters that the route
	// table refers to will be validated by the cluster manager. If set to true
	// and a route refers to a non-existent cluster, the route table will not
	// load. If set to false and a route refers to a non-existent cluster, the
	// route table will load and the router filter will return a 404 if the route
	// is selected at runtime. This setting defaults to true if the route table
	// is statically defined via the :ref:`route_config
	// <envoy_api_field_config.filter.network.http_connection_manager.v2.HttpConnectionManager.route_config>`
	// option. This setting default to false if the route table is loaded dynamically via the
	// :ref:`rds
	// <envoy_api_field_config.filter.network.http_connection_manager.v2.HttpConnectionManager.rds>`
	// option. Users may wish to override the default behavior in certain cases (for example when
	// using CDS with a static route table).
	ValidateClusters     *types.BoolValue `protobuf:"bytes,7,opt,name=validate_clusters,json=validateClusters,proto3" json:"validate_clusters,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

[#next-free-field: 11]

func (*RouteConfiguration) Descriptor

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

func (*RouteConfiguration) GetInternalOnlyHeaders

func (m *RouteConfiguration) GetInternalOnlyHeaders() []string

func (*RouteConfiguration) GetMostSpecificHeaderMutationsWins added in v0.86.0

func (m *RouteConfiguration) GetMostSpecificHeaderMutationsWins() bool

func (*RouteConfiguration) GetName

func (m *RouteConfiguration) GetName() string

func (*RouteConfiguration) GetRequestHeadersToAdd

func (m *RouteConfiguration) GetRequestHeadersToAdd() []*core.HeaderValueOption

func (*RouteConfiguration) GetRequestHeadersToRemove

func (m *RouteConfiguration) GetRequestHeadersToRemove() []string

func (*RouteConfiguration) GetResponseHeadersToAdd

func (m *RouteConfiguration) GetResponseHeadersToAdd() []*core.HeaderValueOption

func (*RouteConfiguration) GetResponseHeadersToRemove

func (m *RouteConfiguration) GetResponseHeadersToRemove() []string

func (*RouteConfiguration) GetValidateClusters

func (m *RouteConfiguration) GetValidateClusters() *types.BoolValue

func (*RouteConfiguration) GetVhds

func (m *RouteConfiguration) GetVhds() *Vhds

func (*RouteConfiguration) GetVirtualHosts

func (m *RouteConfiguration) GetVirtualHosts() []*route.VirtualHost

func (*RouteConfiguration) Marshal

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

func (*RouteConfiguration) MarshalTo

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

func (*RouteConfiguration) MarshalToSizedBuffer

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

func (*RouteConfiguration) ProtoMessage

func (*RouteConfiguration) ProtoMessage()

func (*RouteConfiguration) Reset

func (m *RouteConfiguration) Reset()

func (*RouteConfiguration) Size

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

func (*RouteConfiguration) String

func (m *RouteConfiguration) String() string

func (*RouteConfiguration) Unmarshal

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

func (*RouteConfiguration) Validate

func (m *RouteConfiguration) Validate() error

Validate checks the field values on RouteConfiguration with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*RouteConfiguration) XXX_DiscardUnknown

func (m *RouteConfiguration) XXX_DiscardUnknown()

func (*RouteConfiguration) XXX_Marshal

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

func (*RouteConfiguration) XXX_Merge

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

func (*RouteConfiguration) XXX_Size

func (m *RouteConfiguration) XXX_Size() int

func (*RouteConfiguration) XXX_Unmarshal

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

type RouteConfigurationValidationError

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

RouteConfigurationValidationError is the validation error returned by RouteConfiguration.Validate if the designated constraints aren't met.

func (RouteConfigurationValidationError) Cause

Cause function returns cause value.

func (RouteConfigurationValidationError) Error

Error satisfies the builtin error interface

func (RouteConfigurationValidationError) ErrorName

ErrorName returns error name.

func (RouteConfigurationValidationError) Field

Field function returns field value.

func (RouteConfigurationValidationError) Key

Key function returns key value.

func (RouteConfigurationValidationError) Reason

Reason function returns reason value.

type RouteDiscoveryServiceClient

type RouteDiscoveryServiceClient interface {
	StreamRoutes(ctx context.Context, opts ...grpc.CallOption) (RouteDiscoveryService_StreamRoutesClient, error)
	DeltaRoutes(ctx context.Context, opts ...grpc.CallOption) (RouteDiscoveryService_DeltaRoutesClient, error)
	FetchRoutes(ctx context.Context, in *DiscoveryRequest, opts ...grpc.CallOption) (*DiscoveryResponse, error)
}

RouteDiscoveryServiceClient is the client API for RouteDiscoveryService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewRouteDiscoveryServiceClient

func NewRouteDiscoveryServiceClient(cc *grpc.ClientConn) RouteDiscoveryServiceClient

type RouteDiscoveryServiceServer

type RouteDiscoveryServiceServer interface {
	StreamRoutes(RouteDiscoveryService_StreamRoutesServer) error
	DeltaRoutes(RouteDiscoveryService_DeltaRoutesServer) error
	FetchRoutes(context.Context, *DiscoveryRequest) (*DiscoveryResponse, error)
}

RouteDiscoveryServiceServer is the server API for RouteDiscoveryService service.

type RouteDiscoveryService_DeltaRoutesClient

type RouteDiscoveryService_DeltaRoutesClient interface {
	Send(*DeltaDiscoveryRequest) error
	Recv() (*DeltaDiscoveryResponse, error)
	grpc.ClientStream
}

type RouteDiscoveryService_DeltaRoutesServer

type RouteDiscoveryService_DeltaRoutesServer interface {
	Send(*DeltaDiscoveryResponse) error
	Recv() (*DeltaDiscoveryRequest, error)
	grpc.ServerStream
}

type RouteDiscoveryService_StreamRoutesClient

type RouteDiscoveryService_StreamRoutesClient interface {
	Send(*DiscoveryRequest) error
	Recv() (*DiscoveryResponse, error)
	grpc.ClientStream
}

type RouteDiscoveryService_StreamRoutesServer

type RouteDiscoveryService_StreamRoutesServer interface {
	Send(*DiscoveryResponse) error
	Recv() (*DiscoveryRequest, error)
	grpc.ServerStream
}

type ScopedRouteConfiguration

type ScopedRouteConfiguration struct {
	// The name assigned to the routing scope.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The resource name to use for a :ref:`envoy_api_msg_DiscoveryRequest` to an
	// RDS server to fetch the :ref:`envoy_api_msg_RouteConfiguration` associated
	// with this scope.
	RouteConfigurationName string `` /* 129-byte string literal not displayed */
	// The key to match against.
	Key                  *ScopedRouteConfiguration_Key `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                      `json:"-"`
	XXX_unrecognized     []byte                        `json:"-"`
	XXX_sizecache        int32                         `json:"-"`
}

Specifies a routing scope, which associates a :ref:`Key<envoy_api_msg_ScopedRouteConfiguration.Key>` to a :ref:`envoy_api_msg_RouteConfiguration` (identified by its resource name).

The HTTP connection manager builds up a table consisting of these Key to RouteConfiguration mappings, and looks up the RouteConfiguration to use per request according to the algorithm specified in the :ref:`scope_key_builder<envoy_api_field_config.filter.network.http_connection_manager.v2.ScopedRoutes.scope_key_builder>` assigned to the HttpConnectionManager.

For example, with the following configurations (in YAML):

HttpConnectionManager config:

.. code::

...
scoped_routes:
  name: foo-scoped-routes
  scope_key_builder:
    fragments:
      - header_value_extractor:
          name: X-Route-Selector
          element_separator: ,
          element:
            separator: =
            key: vip

ScopedRouteConfiguration resources (specified statically via :ref:`scoped_route_configurations_list<envoy_api_field_config.filter.network.http_connection_manager.v2.ScopedRoutes.scoped_route_configurations_list>` or obtained dynamically via SRDS):

.. code::

(1)
 name: route-scope1
 route_configuration_name: route-config1
 key:
    fragments:
      - string_key: 172.10.10.20

(2)
 name: route-scope2
 route_configuration_name: route-config2
 key:
   fragments:
     - string_key: 172.20.20.30

A request from a client such as:

.. code::

GET / HTTP/1.1
Host: foo.com
X-Route-Selector: vip=172.10.10.20

would result in the routing table defined by the `route-config1` RouteConfiguration being assigned to the HTTP request/stream.

func (*ScopedRouteConfiguration) Descriptor

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

func (*ScopedRouteConfiguration) GetKey

func (*ScopedRouteConfiguration) GetName

func (m *ScopedRouteConfiguration) GetName() string

func (*ScopedRouteConfiguration) GetRouteConfigurationName

func (m *ScopedRouteConfiguration) GetRouteConfigurationName() string

func (*ScopedRouteConfiguration) Marshal

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

func (*ScopedRouteConfiguration) MarshalTo

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

func (*ScopedRouteConfiguration) MarshalToSizedBuffer

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

func (*ScopedRouteConfiguration) ProtoMessage

func (*ScopedRouteConfiguration) ProtoMessage()

func (*ScopedRouteConfiguration) Reset

func (m *ScopedRouteConfiguration) Reset()

func (*ScopedRouteConfiguration) Size

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

func (*ScopedRouteConfiguration) String

func (m *ScopedRouteConfiguration) String() string

func (*ScopedRouteConfiguration) Unmarshal

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

func (*ScopedRouteConfiguration) Validate

func (m *ScopedRouteConfiguration) Validate() error

Validate checks the field values on ScopedRouteConfiguration with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*ScopedRouteConfiguration) XXX_DiscardUnknown

func (m *ScopedRouteConfiguration) XXX_DiscardUnknown()

func (*ScopedRouteConfiguration) XXX_Marshal

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

func (*ScopedRouteConfiguration) XXX_Merge

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

func (*ScopedRouteConfiguration) XXX_Size

func (m *ScopedRouteConfiguration) XXX_Size() int

func (*ScopedRouteConfiguration) XXX_Unmarshal

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

type ScopedRouteConfigurationValidationError

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

ScopedRouteConfigurationValidationError is the validation error returned by ScopedRouteConfiguration.Validate if the designated constraints aren't met.

func (ScopedRouteConfigurationValidationError) Cause

Cause function returns cause value.

func (ScopedRouteConfigurationValidationError) Error

Error satisfies the builtin error interface

func (ScopedRouteConfigurationValidationError) ErrorName

ErrorName returns error name.

func (ScopedRouteConfigurationValidationError) Field

Field function returns field value.

func (ScopedRouteConfigurationValidationError) Key

Key function returns key value.

func (ScopedRouteConfigurationValidationError) Reason

Reason function returns reason value.

type ScopedRouteConfiguration_Key

type ScopedRouteConfiguration_Key struct {
	// The ordered set of fragments to match against. The order must match the
	// fragments in the corresponding
	// :ref:`scope_key_builder<envoy_api_field_config.filter.network.http_connection_manager.v2.ScopedRoutes.scope_key_builder>`.
	Fragments            []*ScopedRouteConfiguration_Key_Fragment `protobuf:"bytes,1,rep,name=fragments,proto3" json:"fragments,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                                 `json:"-"`
	XXX_unrecognized     []byte                                   `json:"-"`
	XXX_sizecache        int32                                    `json:"-"`
}

Specifies a key which is matched against the output of the :ref:`scope_key_builder<envoy_api_field_config.filter.network.http_connection_manager.v2.ScopedRoutes.scope_key_builder>` specified in the HttpConnectionManager. The matching is done per HTTP request and is dependent on the order of the fragments contained in the Key.

func (*ScopedRouteConfiguration_Key) Descriptor

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

func (*ScopedRouteConfiguration_Key) GetFragments

func (*ScopedRouteConfiguration_Key) Marshal

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

func (*ScopedRouteConfiguration_Key) MarshalTo

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

func (*ScopedRouteConfiguration_Key) MarshalToSizedBuffer

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

func (*ScopedRouteConfiguration_Key) ProtoMessage

func (*ScopedRouteConfiguration_Key) ProtoMessage()

func (*ScopedRouteConfiguration_Key) Reset

func (m *ScopedRouteConfiguration_Key) Reset()

func (*ScopedRouteConfiguration_Key) Size

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

func (*ScopedRouteConfiguration_Key) String

func (*ScopedRouteConfiguration_Key) Unmarshal

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

func (*ScopedRouteConfiguration_Key) Validate

func (m *ScopedRouteConfiguration_Key) Validate() error

Validate checks the field values on ScopedRouteConfiguration_Key with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*ScopedRouteConfiguration_Key) XXX_DiscardUnknown

func (m *ScopedRouteConfiguration_Key) XXX_DiscardUnknown()

func (*ScopedRouteConfiguration_Key) XXX_Marshal

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

func (*ScopedRouteConfiguration_Key) XXX_Merge

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

func (*ScopedRouteConfiguration_Key) XXX_Size

func (m *ScopedRouteConfiguration_Key) XXX_Size() int

func (*ScopedRouteConfiguration_Key) XXX_Unmarshal

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

type ScopedRouteConfiguration_KeyValidationError

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

ScopedRouteConfiguration_KeyValidationError is the validation error returned by ScopedRouteConfiguration_Key.Validate if the designated constraints aren't met.

func (ScopedRouteConfiguration_KeyValidationError) Cause

Cause function returns cause value.

func (ScopedRouteConfiguration_KeyValidationError) Error

Error satisfies the builtin error interface

func (ScopedRouteConfiguration_KeyValidationError) ErrorName

ErrorName returns error name.

func (ScopedRouteConfiguration_KeyValidationError) Field

Field function returns field value.

func (ScopedRouteConfiguration_KeyValidationError) Key

Key function returns key value.

func (ScopedRouteConfiguration_KeyValidationError) Reason

Reason function returns reason value.

type ScopedRouteConfiguration_Key_Fragment

type ScopedRouteConfiguration_Key_Fragment struct {
	// Types that are valid to be assigned to Type:
	//	*ScopedRouteConfiguration_Key_Fragment_StringKey
	Type                 isScopedRouteConfiguration_Key_Fragment_Type `protobuf_oneof:"type"`
	XXX_NoUnkeyedLiteral struct{}                                     `json:"-"`
	XXX_unrecognized     []byte                                       `json:"-"`
	XXX_sizecache        int32                                        `json:"-"`
}

func (*ScopedRouteConfiguration_Key_Fragment) Descriptor

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

func (*ScopedRouteConfiguration_Key_Fragment) GetStringKey

func (*ScopedRouteConfiguration_Key_Fragment) GetType

func (m *ScopedRouteConfiguration_Key_Fragment) GetType() isScopedRouteConfiguration_Key_Fragment_Type

func (*ScopedRouteConfiguration_Key_Fragment) Marshal

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

func (*ScopedRouteConfiguration_Key_Fragment) MarshalTo

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

func (*ScopedRouteConfiguration_Key_Fragment) MarshalToSizedBuffer

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

func (*ScopedRouteConfiguration_Key_Fragment) ProtoMessage

func (*ScopedRouteConfiguration_Key_Fragment) ProtoMessage()

func (*ScopedRouteConfiguration_Key_Fragment) Reset

func (*ScopedRouteConfiguration_Key_Fragment) Size

func (*ScopedRouteConfiguration_Key_Fragment) String

func (*ScopedRouteConfiguration_Key_Fragment) Unmarshal

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

func (*ScopedRouteConfiguration_Key_Fragment) Validate

Validate checks the field values on ScopedRouteConfiguration_Key_Fragment with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*ScopedRouteConfiguration_Key_Fragment) XXX_DiscardUnknown

func (m *ScopedRouteConfiguration_Key_Fragment) XXX_DiscardUnknown()

func (*ScopedRouteConfiguration_Key_Fragment) XXX_Marshal

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

func (*ScopedRouteConfiguration_Key_Fragment) XXX_Merge

func (*ScopedRouteConfiguration_Key_Fragment) XXX_OneofWrappers

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

XXX_OneofWrappers is for the internal use of the proto package.

func (*ScopedRouteConfiguration_Key_Fragment) XXX_Size

func (*ScopedRouteConfiguration_Key_Fragment) XXX_Unmarshal

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

type ScopedRouteConfiguration_Key_FragmentValidationError

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

ScopedRouteConfiguration_Key_FragmentValidationError is the validation error returned by ScopedRouteConfiguration_Key_Fragment.Validate if the designated constraints aren't met.

func (ScopedRouteConfiguration_Key_FragmentValidationError) Cause

Cause function returns cause value.

func (ScopedRouteConfiguration_Key_FragmentValidationError) Error

Error satisfies the builtin error interface

func (ScopedRouteConfiguration_Key_FragmentValidationError) ErrorName

ErrorName returns error name.

func (ScopedRouteConfiguration_Key_FragmentValidationError) Field

Field function returns field value.

func (ScopedRouteConfiguration_Key_FragmentValidationError) Key

Key function returns key value.

func (ScopedRouteConfiguration_Key_FragmentValidationError) Reason

Reason function returns reason value.

type ScopedRouteConfiguration_Key_Fragment_StringKey

type ScopedRouteConfiguration_Key_Fragment_StringKey struct {
	StringKey string `protobuf:"bytes,1,opt,name=string_key,json=stringKey,proto3,oneof"`
}

func (*ScopedRouteConfiguration_Key_Fragment_StringKey) MarshalTo

func (*ScopedRouteConfiguration_Key_Fragment_StringKey) MarshalToSizedBuffer

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

func (*ScopedRouteConfiguration_Key_Fragment_StringKey) Size

type ScopedRoutesDiscoveryServiceClient

type ScopedRoutesDiscoveryServiceClient interface {
	StreamScopedRoutes(ctx context.Context, opts ...grpc.CallOption) (ScopedRoutesDiscoveryService_StreamScopedRoutesClient, error)
	DeltaScopedRoutes(ctx context.Context, opts ...grpc.CallOption) (ScopedRoutesDiscoveryService_DeltaScopedRoutesClient, error)
	FetchScopedRoutes(ctx context.Context, in *DiscoveryRequest, opts ...grpc.CallOption) (*DiscoveryResponse, error)
}

ScopedRoutesDiscoveryServiceClient is the client API for ScopedRoutesDiscoveryService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewScopedRoutesDiscoveryServiceClient

func NewScopedRoutesDiscoveryServiceClient(cc *grpc.ClientConn) ScopedRoutesDiscoveryServiceClient

type ScopedRoutesDiscoveryServiceServer

type ScopedRoutesDiscoveryServiceServer interface {
	StreamScopedRoutes(ScopedRoutesDiscoveryService_StreamScopedRoutesServer) error
	DeltaScopedRoutes(ScopedRoutesDiscoveryService_DeltaScopedRoutesServer) error
	FetchScopedRoutes(context.Context, *DiscoveryRequest) (*DiscoveryResponse, error)
}

ScopedRoutesDiscoveryServiceServer is the server API for ScopedRoutesDiscoveryService service.

type ScopedRoutesDiscoveryService_DeltaScopedRoutesClient

type ScopedRoutesDiscoveryService_DeltaScopedRoutesClient interface {
	Send(*DeltaDiscoveryRequest) error
	Recv() (*DeltaDiscoveryResponse, error)
	grpc.ClientStream
}

type ScopedRoutesDiscoveryService_DeltaScopedRoutesServer

type ScopedRoutesDiscoveryService_DeltaScopedRoutesServer interface {
	Send(*DeltaDiscoveryResponse) error
	Recv() (*DeltaDiscoveryRequest, error)
	grpc.ServerStream
}

type ScopedRoutesDiscoveryService_StreamScopedRoutesClient

type ScopedRoutesDiscoveryService_StreamScopedRoutesClient interface {
	Send(*DiscoveryRequest) error
	Recv() (*DiscoveryResponse, error)
	grpc.ClientStream
}

type ScopedRoutesDiscoveryService_StreamScopedRoutesServer

type ScopedRoutesDiscoveryService_StreamScopedRoutesServer interface {
	Send(*DiscoveryResponse) error
	Recv() (*DiscoveryRequest, error)
	grpc.ServerStream
}

type UnimplementedClusterDiscoveryServiceServer

type UnimplementedClusterDiscoveryServiceServer struct {
}

UnimplementedClusterDiscoveryServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedClusterDiscoveryServiceServer) DeltaClusters

func (*UnimplementedClusterDiscoveryServiceServer) FetchClusters

func (*UnimplementedClusterDiscoveryServiceServer) StreamClusters

type UnimplementedEndpointDiscoveryServiceServer

type UnimplementedEndpointDiscoveryServiceServer struct {
}

UnimplementedEndpointDiscoveryServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedEndpointDiscoveryServiceServer) DeltaEndpoints

func (*UnimplementedEndpointDiscoveryServiceServer) FetchEndpoints

func (*UnimplementedEndpointDiscoveryServiceServer) StreamEndpoints

type UnimplementedListenerDiscoveryServiceServer

type UnimplementedListenerDiscoveryServiceServer struct {
}

UnimplementedListenerDiscoveryServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedListenerDiscoveryServiceServer) DeltaListeners

func (*UnimplementedListenerDiscoveryServiceServer) FetchListeners

func (*UnimplementedListenerDiscoveryServiceServer) StreamListeners

type UnimplementedRouteDiscoveryServiceServer

type UnimplementedRouteDiscoveryServiceServer struct {
}

UnimplementedRouteDiscoveryServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedRouteDiscoveryServiceServer) DeltaRoutes

func (*UnimplementedRouteDiscoveryServiceServer) FetchRoutes

func (*UnimplementedRouteDiscoveryServiceServer) StreamRoutes

type UnimplementedScopedRoutesDiscoveryServiceServer

type UnimplementedScopedRoutesDiscoveryServiceServer struct {
}

UnimplementedScopedRoutesDiscoveryServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedScopedRoutesDiscoveryServiceServer) DeltaScopedRoutes

func (*UnimplementedScopedRoutesDiscoveryServiceServer) FetchScopedRoutes

func (*UnimplementedScopedRoutesDiscoveryServiceServer) StreamScopedRoutes

type UnimplementedVirtualHostDiscoveryServiceServer

type UnimplementedVirtualHostDiscoveryServiceServer struct {
}

UnimplementedVirtualHostDiscoveryServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedVirtualHostDiscoveryServiceServer) DeltaVirtualHosts

type UpstreamBindConfig

type UpstreamBindConfig struct {
	// The address Envoy should bind to when establishing upstream connections.
	SourceAddress        *core.Address `protobuf:"bytes,1,opt,name=source_address,json=sourceAddress,proto3" json:"source_address,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

An extensible structure containing the address Envoy should bind to when establishing upstream connections.

func (*UpstreamBindConfig) Descriptor

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

func (*UpstreamBindConfig) GetSourceAddress

func (m *UpstreamBindConfig) GetSourceAddress() *core.Address

func (*UpstreamBindConfig) Marshal

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

func (*UpstreamBindConfig) MarshalTo

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

func (*UpstreamBindConfig) MarshalToSizedBuffer

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

func (*UpstreamBindConfig) ProtoMessage

func (*UpstreamBindConfig) ProtoMessage()

func (*UpstreamBindConfig) Reset

func (m *UpstreamBindConfig) Reset()

func (*UpstreamBindConfig) Size

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

func (*UpstreamBindConfig) String

func (m *UpstreamBindConfig) String() string

func (*UpstreamBindConfig) Unmarshal

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

func (*UpstreamBindConfig) Validate

func (m *UpstreamBindConfig) Validate() error

Validate checks the field values on UpstreamBindConfig with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*UpstreamBindConfig) XXX_DiscardUnknown

func (m *UpstreamBindConfig) XXX_DiscardUnknown()

func (*UpstreamBindConfig) XXX_Marshal

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

func (*UpstreamBindConfig) XXX_Merge

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

func (*UpstreamBindConfig) XXX_Size

func (m *UpstreamBindConfig) XXX_Size() int

func (*UpstreamBindConfig) XXX_Unmarshal

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

type UpstreamBindConfigValidationError

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

UpstreamBindConfigValidationError is the validation error returned by UpstreamBindConfig.Validate if the designated constraints aren't met.

func (UpstreamBindConfigValidationError) Cause

Cause function returns cause value.

func (UpstreamBindConfigValidationError) Error

Error satisfies the builtin error interface

func (UpstreamBindConfigValidationError) ErrorName

ErrorName returns error name.

func (UpstreamBindConfigValidationError) Field

Field function returns field value.

func (UpstreamBindConfigValidationError) Key

Key function returns key value.

func (UpstreamBindConfigValidationError) Reason

Reason function returns reason value.

type UpstreamConnectionOptions

type UpstreamConnectionOptions struct {
	// If set then set SO_KEEPALIVE on the socket to enable TCP Keepalives.
	TcpKeepalive         *core.TcpKeepalive `protobuf:"bytes,1,opt,name=tcp_keepalive,json=tcpKeepalive,proto3" json:"tcp_keepalive,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

func (*UpstreamConnectionOptions) Descriptor

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

func (*UpstreamConnectionOptions) GetTcpKeepalive

func (m *UpstreamConnectionOptions) GetTcpKeepalive() *core.TcpKeepalive

func (*UpstreamConnectionOptions) Marshal

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

func (*UpstreamConnectionOptions) MarshalTo

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

func (*UpstreamConnectionOptions) MarshalToSizedBuffer

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

func (*UpstreamConnectionOptions) ProtoMessage

func (*UpstreamConnectionOptions) ProtoMessage()

func (*UpstreamConnectionOptions) Reset

func (m *UpstreamConnectionOptions) Reset()

func (*UpstreamConnectionOptions) Size

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

func (*UpstreamConnectionOptions) String

func (m *UpstreamConnectionOptions) String() string

func (*UpstreamConnectionOptions) Unmarshal

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

func (*UpstreamConnectionOptions) Validate

func (m *UpstreamConnectionOptions) Validate() error

Validate checks the field values on UpstreamConnectionOptions with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*UpstreamConnectionOptions) XXX_DiscardUnknown

func (m *UpstreamConnectionOptions) XXX_DiscardUnknown()

func (*UpstreamConnectionOptions) XXX_Marshal

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

func (*UpstreamConnectionOptions) XXX_Merge

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

func (*UpstreamConnectionOptions) XXX_Size

func (m *UpstreamConnectionOptions) XXX_Size() int

func (*UpstreamConnectionOptions) XXX_Unmarshal

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

type UpstreamConnectionOptionsValidationError

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

UpstreamConnectionOptionsValidationError is the validation error returned by UpstreamConnectionOptions.Validate if the designated constraints aren't met.

func (UpstreamConnectionOptionsValidationError) Cause

Cause function returns cause value.

func (UpstreamConnectionOptionsValidationError) Error

Error satisfies the builtin error interface

func (UpstreamConnectionOptionsValidationError) ErrorName

ErrorName returns error name.

func (UpstreamConnectionOptionsValidationError) Field

Field function returns field value.

func (UpstreamConnectionOptionsValidationError) Key

Key function returns key value.

func (UpstreamConnectionOptionsValidationError) Reason

Reason function returns reason value.

type Vhds

type Vhds struct {
	// Configuration source specifier for VHDS.
	ConfigSource         *core.ConfigSource `protobuf:"bytes,1,opt,name=config_source,json=configSource,proto3" json:"config_source,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

[#not-implemented-hide:]

func (*Vhds) Descriptor

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

func (*Vhds) GetConfigSource

func (m *Vhds) GetConfigSource() *core.ConfigSource

func (*Vhds) Marshal

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

func (*Vhds) MarshalTo

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

func (*Vhds) MarshalToSizedBuffer

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

func (*Vhds) ProtoMessage

func (*Vhds) ProtoMessage()

func (*Vhds) Reset

func (m *Vhds) Reset()

func (*Vhds) Size

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

func (*Vhds) String

func (m *Vhds) String() string

func (*Vhds) Unmarshal

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

func (*Vhds) Validate

func (m *Vhds) Validate() error

Validate checks the field values on Vhds with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*Vhds) XXX_DiscardUnknown

func (m *Vhds) XXX_DiscardUnknown()

func (*Vhds) XXX_Marshal

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

func (*Vhds) XXX_Merge

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

func (*Vhds) XXX_Size

func (m *Vhds) XXX_Size() int

func (*Vhds) XXX_Unmarshal

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

type VhdsValidationError

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

VhdsValidationError is the validation error returned by Vhds.Validate if the designated constraints aren't met.

func (VhdsValidationError) Cause

func (e VhdsValidationError) Cause() error

Cause function returns cause value.

func (VhdsValidationError) Error

func (e VhdsValidationError) Error() string

Error satisfies the builtin error interface

func (VhdsValidationError) ErrorName

func (e VhdsValidationError) ErrorName() string

ErrorName returns error name.

func (VhdsValidationError) Field

func (e VhdsValidationError) Field() string

Field function returns field value.

func (VhdsValidationError) Key

func (e VhdsValidationError) Key() bool

Key function returns key value.

func (VhdsValidationError) Reason

func (e VhdsValidationError) Reason() string

Reason function returns reason value.

type VirtualHostDiscoveryServiceClient

type VirtualHostDiscoveryServiceClient interface {
	DeltaVirtualHosts(ctx context.Context, opts ...grpc.CallOption) (VirtualHostDiscoveryService_DeltaVirtualHostsClient, error)
}

VirtualHostDiscoveryServiceClient is the client API for VirtualHostDiscoveryService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewVirtualHostDiscoveryServiceClient

func NewVirtualHostDiscoveryServiceClient(cc *grpc.ClientConn) VirtualHostDiscoveryServiceClient

type VirtualHostDiscoveryServiceServer

type VirtualHostDiscoveryServiceServer interface {
	DeltaVirtualHosts(VirtualHostDiscoveryService_DeltaVirtualHostsServer) error
}

VirtualHostDiscoveryServiceServer is the server API for VirtualHostDiscoveryService service.

type VirtualHostDiscoveryService_DeltaVirtualHostsClient

type VirtualHostDiscoveryService_DeltaVirtualHostsClient interface {
	Send(*DeltaDiscoveryRequest) error
	Recv() (*DeltaDiscoveryResponse, error)
	grpc.ClientStream
}

type VirtualHostDiscoveryService_DeltaVirtualHostsServer

type VirtualHostDiscoveryService_DeltaVirtualHostsServer interface {
	Send(*DeltaDiscoveryResponse) error
	Recv() (*DeltaDiscoveryRequest, error)
	grpc.ServerStream
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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