Documentation
¶
Index ¶
- Variables
- type CircuitBreakers
- func (*CircuitBreakers) Descriptor() ([]byte, []int)deprecated
- func (x *CircuitBreakers) GetPerHostThresholds() []*CircuitBreakers_Thresholds
- func (x *CircuitBreakers) GetThresholds() []*CircuitBreakers_Thresholds
- func (*CircuitBreakers) ProtoMessage()
- func (x *CircuitBreakers) ProtoReflect() protoreflect.Message
- func (x *CircuitBreakers) Reset()
- func (x *CircuitBreakers) String() string
- func (m *CircuitBreakers) Validate() error
- func (m *CircuitBreakers) ValidateAll() error
- type CircuitBreakersMultiError
- type CircuitBreakersValidationError
- func (e CircuitBreakersValidationError) Cause() error
- func (e CircuitBreakersValidationError) Error() string
- func (e CircuitBreakersValidationError) ErrorName() string
- func (e CircuitBreakersValidationError) Field() string
- func (e CircuitBreakersValidationError) Key() bool
- func (e CircuitBreakersValidationError) Reason() string
- type CircuitBreakers_Thresholds
- func (*CircuitBreakers_Thresholds) Descriptor() ([]byte, []int)deprecated
- func (x *CircuitBreakers_Thresholds) GetMaxConnectionPools() *wrappers.UInt32Value
- func (x *CircuitBreakers_Thresholds) GetMaxConnections() *wrappers.UInt32Value
- func (x *CircuitBreakers_Thresholds) GetMaxPendingRequests() *wrappers.UInt32Value
- func (x *CircuitBreakers_Thresholds) GetMaxRequests() *wrappers.UInt32Value
- func (x *CircuitBreakers_Thresholds) GetMaxRetries() *wrappers.UInt32Value
- func (x *CircuitBreakers_Thresholds) GetPriority() v3.RoutingPriority
- func (x *CircuitBreakers_Thresholds) GetRetryBudget() *CircuitBreakers_Thresholds_RetryBudget
- func (x *CircuitBreakers_Thresholds) GetTrackRemaining() bool
- func (*CircuitBreakers_Thresholds) ProtoMessage()
- func (x *CircuitBreakers_Thresholds) ProtoReflect() protoreflect.Message
- func (x *CircuitBreakers_Thresholds) Reset()
- func (x *CircuitBreakers_Thresholds) String() string
- func (m *CircuitBreakers_Thresholds) Validate() error
- func (m *CircuitBreakers_Thresholds) ValidateAll() error
- type CircuitBreakers_ThresholdsMultiError
- type CircuitBreakers_ThresholdsValidationError
- func (e CircuitBreakers_ThresholdsValidationError) Cause() error
- func (e CircuitBreakers_ThresholdsValidationError) Error() string
- func (e CircuitBreakers_ThresholdsValidationError) ErrorName() string
- func (e CircuitBreakers_ThresholdsValidationError) Field() string
- func (e CircuitBreakers_ThresholdsValidationError) Key() bool
- func (e CircuitBreakers_ThresholdsValidationError) Reason() string
- type CircuitBreakers_Thresholds_RetryBudget
- func (*CircuitBreakers_Thresholds_RetryBudget) Descriptor() ([]byte, []int)deprecated
- func (x *CircuitBreakers_Thresholds_RetryBudget) GetBudgetPercent() *v31.Percent
- func (x *CircuitBreakers_Thresholds_RetryBudget) GetMinRetryConcurrency() *wrappers.UInt32Value
- func (*CircuitBreakers_Thresholds_RetryBudget) ProtoMessage()
- func (x *CircuitBreakers_Thresholds_RetryBudget) ProtoReflect() protoreflect.Message
- func (x *CircuitBreakers_Thresholds_RetryBudget) Reset()
- func (x *CircuitBreakers_Thresholds_RetryBudget) String() string
- func (m *CircuitBreakers_Thresholds_RetryBudget) Validate() error
- func (m *CircuitBreakers_Thresholds_RetryBudget) ValidateAll() error
- type CircuitBreakers_Thresholds_RetryBudgetMultiError
- type CircuitBreakers_Thresholds_RetryBudgetValidationError
- func (e CircuitBreakers_Thresholds_RetryBudgetValidationError) Cause() error
- func (e CircuitBreakers_Thresholds_RetryBudgetValidationError) Error() string
- func (e CircuitBreakers_Thresholds_RetryBudgetValidationError) ErrorName() string
- func (e CircuitBreakers_Thresholds_RetryBudgetValidationError) Field() string
- func (e CircuitBreakers_Thresholds_RetryBudgetValidationError) Key() bool
- func (e CircuitBreakers_Thresholds_RetryBudgetValidationError) Reason() string
- type Cluster
- func (*Cluster) Descriptor() ([]byte, []int)deprecated
- func (x *Cluster) GetAltStatName() string
- func (x *Cluster) GetCircuitBreakers() *CircuitBreakers
- func (x *Cluster) GetCleanupInterval() *duration.Duration
- func (x *Cluster) GetCloseConnectionsOnHostHealthFailure() bool
- func (m *Cluster) GetClusterDiscoveryType() isCluster_ClusterDiscoveryType
- func (x *Cluster) GetClusterType() *Cluster_CustomClusterType
- func (x *Cluster) GetCommonHttpProtocolOptions() *v32.HttpProtocolOptionsdeprecated
- func (x *Cluster) GetCommonLbConfig() *Cluster_CommonLbConfig
- func (x *Cluster) GetConnectTimeout() *duration.Duration
- func (x *Cluster) GetConnectionPoolPerDownstreamConnection() bool
- func (x *Cluster) GetDnsFailureRefreshRate() *Cluster_RefreshRate
- func (x *Cluster) GetDnsLookupFamily() Cluster_DnsLookupFamily
- func (x *Cluster) GetDnsRefreshRate() *duration.Duration
- func (x *Cluster) GetDnsResolutionConfig() *v32.DnsResolutionConfigdeprecated
- func (x *Cluster) GetDnsResolvers() []*v32.Addressdeprecated
- func (x *Cluster) GetEdsClusterConfig() *Cluster_EdsClusterConfig
- func (x *Cluster) GetFilters() []*Filter
- func (x *Cluster) GetHealthChecks() []*v32.HealthCheck
- func (x *Cluster) GetHttp2ProtocolOptions() *v32.Http2ProtocolOptionsdeprecated
- func (x *Cluster) GetHttpProtocolOptions() *v32.Http1ProtocolOptionsdeprecated
- func (x *Cluster) GetIgnoreHealthOnHostRemoval() bool
- func (m *Cluster) GetLbConfig() isCluster_LbConfig
- func (x *Cluster) GetLbPolicy() Cluster_LbPolicy
- func (x *Cluster) GetLbSubsetConfig() *Cluster_LbSubsetConfig
- func (x *Cluster) GetLeastRequestLbConfig() *Cluster_LeastRequestLbConfig
- func (x *Cluster) GetLoadAssignment() *v31.ClusterLoadAssignment
- func (x *Cluster) GetLoadBalancingPolicy() *LoadBalancingPolicy
- func (x *Cluster) GetLrsServer() *v32.ConfigSource
- func (x *Cluster) GetMaglevLbConfig() *Cluster_MaglevLbConfig
- func (x *Cluster) GetMaxRequestsPerConnection() *wrappers.UInt32Valuedeprecated
- func (x *Cluster) GetMetadata() *v32.Metadata
- func (x *Cluster) GetName() string
- func (x *Cluster) GetOriginalDstLbConfig() *Cluster_OriginalDstLbConfig
- func (x *Cluster) GetOutlierDetection() *OutlierDetection
- func (x *Cluster) GetPerConnectionBufferLimitBytes() *wrappers.UInt32Value
- func (x *Cluster) GetPreconnectPolicy() *Cluster_PreconnectPolicy
- func (x *Cluster) GetProtocolSelection() Cluster_ClusterProtocolSelectiondeprecated
- func (x *Cluster) GetRespectDnsTtl() bool
- func (x *Cluster) GetRingHashLbConfig() *Cluster_RingHashLbConfig
- func (x *Cluster) GetRoundRobinLbConfig() *Cluster_RoundRobinLbConfig
- func (x *Cluster) GetTrackClusterStats() *TrackClusterStats
- func (x *Cluster) GetTrackTimeoutBudgets() booldeprecated
- func (x *Cluster) GetTransportSocket() *v32.TransportSocket
- func (x *Cluster) GetTransportSocketMatches() []*Cluster_TransportSocketMatch
- func (x *Cluster) GetType() Cluster_DiscoveryType
- func (x *Cluster) GetTypedDnsResolverConfig() *v32.TypedExtensionConfig
- func (x *Cluster) GetTypedExtensionProtocolOptions() map[string]*any.Any
- func (x *Cluster) GetUpstreamBindConfig() *v32.BindConfig
- func (x *Cluster) GetUpstreamConfig() *v32.TypedExtensionConfig
- func (x *Cluster) GetUpstreamConnectionOptions() *UpstreamConnectionOptions
- func (x *Cluster) GetUpstreamHttpProtocolOptions() *v32.UpstreamHttpProtocolOptionsdeprecated
- func (x *Cluster) GetUseTcpForDnsLookups() booldeprecated
- func (x *Cluster) GetWaitForWarmOnInit() *wrappers.BoolValue
- func (*Cluster) ProtoMessage()
- func (x *Cluster) ProtoReflect() protoreflect.Message
- func (x *Cluster) Reset()
- func (x *Cluster) String() string
- func (m *Cluster) Validate() error
- func (m *Cluster) ValidateAll() error
- type ClusterCollection
- func (*ClusterCollection) Descriptor() ([]byte, []int)deprecated
- func (x *ClusterCollection) GetEntries() *v3.CollectionEntry
- func (*ClusterCollection) ProtoMessage()
- func (x *ClusterCollection) ProtoReflect() protoreflect.Message
- func (x *ClusterCollection) Reset()
- func (x *ClusterCollection) String() string
- func (m *ClusterCollection) Validate() error
- func (m *ClusterCollection) ValidateAll() error
- type ClusterCollectionMultiError
- type ClusterCollectionValidationError
- func (e ClusterCollectionValidationError) Cause() error
- func (e ClusterCollectionValidationError) Error() string
- func (e ClusterCollectionValidationError) ErrorName() string
- func (e ClusterCollectionValidationError) Field() string
- func (e ClusterCollectionValidationError) Key() bool
- func (e ClusterCollectionValidationError) Reason() string
- type ClusterMultiError
- type ClusterValidationError
- type Cluster_ClusterProtocolSelection
- func (Cluster_ClusterProtocolSelection) Descriptor() protoreflect.EnumDescriptor
- func (x Cluster_ClusterProtocolSelection) Enum() *Cluster_ClusterProtocolSelection
- func (Cluster_ClusterProtocolSelection) EnumDescriptor() ([]byte, []int)deprecated
- func (x Cluster_ClusterProtocolSelection) Number() protoreflect.EnumNumber
- func (x Cluster_ClusterProtocolSelection) String() string
- func (Cluster_ClusterProtocolSelection) Type() protoreflect.EnumType
- type Cluster_ClusterType
- type Cluster_CommonLbConfig
- func (*Cluster_CommonLbConfig) Descriptor() ([]byte, []int)deprecated
- func (x *Cluster_CommonLbConfig) GetCloseConnectionsOnHostSetChange() bool
- func (x *Cluster_CommonLbConfig) GetConsistentHashingLbConfig() *Cluster_CommonLbConfig_ConsistentHashingLbConfig
- func (x *Cluster_CommonLbConfig) GetHealthyPanicThreshold() *v33.Percent
- func (x *Cluster_CommonLbConfig) GetIgnoreNewHostsUntilFirstHc() bool
- func (m *Cluster_CommonLbConfig) GetLocalityConfigSpecifier() isCluster_CommonLbConfig_LocalityConfigSpecifier
- func (x *Cluster_CommonLbConfig) GetLocalityWeightedLbConfig() *Cluster_CommonLbConfig_LocalityWeightedLbConfig
- func (x *Cluster_CommonLbConfig) GetOverrideHostStatus() *v32.HealthStatusSet
- func (x *Cluster_CommonLbConfig) GetUpdateMergeWindow() *duration.Duration
- func (x *Cluster_CommonLbConfig) GetZoneAwareLbConfig() *Cluster_CommonLbConfig_ZoneAwareLbConfig
- func (*Cluster_CommonLbConfig) ProtoMessage()
- func (x *Cluster_CommonLbConfig) ProtoReflect() protoreflect.Message
- func (x *Cluster_CommonLbConfig) Reset()
- func (x *Cluster_CommonLbConfig) String() string
- func (m *Cluster_CommonLbConfig) Validate() error
- func (m *Cluster_CommonLbConfig) ValidateAll() error
- type Cluster_CommonLbConfigMultiError
- type Cluster_CommonLbConfigValidationError
- func (e Cluster_CommonLbConfigValidationError) Cause() error
- func (e Cluster_CommonLbConfigValidationError) Error() string
- func (e Cluster_CommonLbConfigValidationError) ErrorName() string
- func (e Cluster_CommonLbConfigValidationError) Field() string
- func (e Cluster_CommonLbConfigValidationError) Key() bool
- func (e Cluster_CommonLbConfigValidationError) Reason() string
- type Cluster_CommonLbConfig_ConsistentHashingLbConfig
- func (*Cluster_CommonLbConfig_ConsistentHashingLbConfig) Descriptor() ([]byte, []int)deprecated
- func (x *Cluster_CommonLbConfig_ConsistentHashingLbConfig) GetHashBalanceFactor() *wrappers.UInt32Value
- func (x *Cluster_CommonLbConfig_ConsistentHashingLbConfig) GetUseHostnameForHashing() bool
- func (*Cluster_CommonLbConfig_ConsistentHashingLbConfig) ProtoMessage()
- func (x *Cluster_CommonLbConfig_ConsistentHashingLbConfig) ProtoReflect() protoreflect.Message
- func (x *Cluster_CommonLbConfig_ConsistentHashingLbConfig) Reset()
- func (x *Cluster_CommonLbConfig_ConsistentHashingLbConfig) String() string
- func (m *Cluster_CommonLbConfig_ConsistentHashingLbConfig) Validate() error
- func (m *Cluster_CommonLbConfig_ConsistentHashingLbConfig) ValidateAll() error
- type Cluster_CommonLbConfig_ConsistentHashingLbConfigMultiError
- type Cluster_CommonLbConfig_ConsistentHashingLbConfigValidationError
- func (e Cluster_CommonLbConfig_ConsistentHashingLbConfigValidationError) Cause() error
- func (e Cluster_CommonLbConfig_ConsistentHashingLbConfigValidationError) Error() string
- func (e Cluster_CommonLbConfig_ConsistentHashingLbConfigValidationError) ErrorName() string
- func (e Cluster_CommonLbConfig_ConsistentHashingLbConfigValidationError) Field() string
- func (e Cluster_CommonLbConfig_ConsistentHashingLbConfigValidationError) Key() bool
- func (e Cluster_CommonLbConfig_ConsistentHashingLbConfigValidationError) Reason() string
- type Cluster_CommonLbConfig_LocalityWeightedLbConfig
- func (*Cluster_CommonLbConfig_LocalityWeightedLbConfig) Descriptor() ([]byte, []int)deprecated
- func (*Cluster_CommonLbConfig_LocalityWeightedLbConfig) ProtoMessage()
- func (x *Cluster_CommonLbConfig_LocalityWeightedLbConfig) ProtoReflect() protoreflect.Message
- func (x *Cluster_CommonLbConfig_LocalityWeightedLbConfig) Reset()
- func (x *Cluster_CommonLbConfig_LocalityWeightedLbConfig) String() string
- func (m *Cluster_CommonLbConfig_LocalityWeightedLbConfig) Validate() error
- func (m *Cluster_CommonLbConfig_LocalityWeightedLbConfig) ValidateAll() error
- type Cluster_CommonLbConfig_LocalityWeightedLbConfigMultiError
- type Cluster_CommonLbConfig_LocalityWeightedLbConfigValidationError
- func (e Cluster_CommonLbConfig_LocalityWeightedLbConfigValidationError) Cause() error
- func (e Cluster_CommonLbConfig_LocalityWeightedLbConfigValidationError) Error() string
- func (e Cluster_CommonLbConfig_LocalityWeightedLbConfigValidationError) ErrorName() string
- func (e Cluster_CommonLbConfig_LocalityWeightedLbConfigValidationError) Field() string
- func (e Cluster_CommonLbConfig_LocalityWeightedLbConfigValidationError) Key() bool
- func (e Cluster_CommonLbConfig_LocalityWeightedLbConfigValidationError) Reason() string
- type Cluster_CommonLbConfig_LocalityWeightedLbConfig_
- type Cluster_CommonLbConfig_ZoneAwareLbConfig
- func (*Cluster_CommonLbConfig_ZoneAwareLbConfig) Descriptor() ([]byte, []int)deprecated
- func (x *Cluster_CommonLbConfig_ZoneAwareLbConfig) GetFailTrafficOnPanic() bool
- func (x *Cluster_CommonLbConfig_ZoneAwareLbConfig) GetMinClusterSize() *wrappers.UInt64Value
- func (x *Cluster_CommonLbConfig_ZoneAwareLbConfig) GetRoutingEnabled() *v33.Percent
- func (*Cluster_CommonLbConfig_ZoneAwareLbConfig) ProtoMessage()
- func (x *Cluster_CommonLbConfig_ZoneAwareLbConfig) ProtoReflect() protoreflect.Message
- func (x *Cluster_CommonLbConfig_ZoneAwareLbConfig) Reset()
- func (x *Cluster_CommonLbConfig_ZoneAwareLbConfig) String() string
- func (m *Cluster_CommonLbConfig_ZoneAwareLbConfig) Validate() error
- func (m *Cluster_CommonLbConfig_ZoneAwareLbConfig) ValidateAll() error
- type Cluster_CommonLbConfig_ZoneAwareLbConfigMultiError
- type Cluster_CommonLbConfig_ZoneAwareLbConfigValidationError
- func (e Cluster_CommonLbConfig_ZoneAwareLbConfigValidationError) Cause() error
- func (e Cluster_CommonLbConfig_ZoneAwareLbConfigValidationError) Error() string
- func (e Cluster_CommonLbConfig_ZoneAwareLbConfigValidationError) ErrorName() string
- func (e Cluster_CommonLbConfig_ZoneAwareLbConfigValidationError) Field() string
- func (e Cluster_CommonLbConfig_ZoneAwareLbConfigValidationError) Key() bool
- func (e Cluster_CommonLbConfig_ZoneAwareLbConfigValidationError) Reason() string
- type Cluster_CommonLbConfig_ZoneAwareLbConfig_
- type Cluster_CustomClusterType
- func (*Cluster_CustomClusterType) Descriptor() ([]byte, []int)deprecated
- func (x *Cluster_CustomClusterType) GetName() string
- func (x *Cluster_CustomClusterType) GetTypedConfig() *any.Any
- func (*Cluster_CustomClusterType) ProtoMessage()
- func (x *Cluster_CustomClusterType) ProtoReflect() protoreflect.Message
- func (x *Cluster_CustomClusterType) Reset()
- func (x *Cluster_CustomClusterType) String() string
- func (m *Cluster_CustomClusterType) Validate() error
- func (m *Cluster_CustomClusterType) ValidateAll() error
- type Cluster_CustomClusterTypeMultiError
- type Cluster_CustomClusterTypeValidationError
- func (e Cluster_CustomClusterTypeValidationError) Cause() error
- func (e Cluster_CustomClusterTypeValidationError) Error() string
- func (e Cluster_CustomClusterTypeValidationError) ErrorName() string
- func (e Cluster_CustomClusterTypeValidationError) Field() string
- func (e Cluster_CustomClusterTypeValidationError) Key() bool
- func (e Cluster_CustomClusterTypeValidationError) Reason() string
- type Cluster_DiscoveryType
- func (Cluster_DiscoveryType) Descriptor() protoreflect.EnumDescriptor
- func (x Cluster_DiscoveryType) Enum() *Cluster_DiscoveryType
- func (Cluster_DiscoveryType) EnumDescriptor() ([]byte, []int)deprecated
- func (x Cluster_DiscoveryType) Number() protoreflect.EnumNumber
- func (x Cluster_DiscoveryType) String() string
- func (Cluster_DiscoveryType) Type() protoreflect.EnumType
- type Cluster_DnsLookupFamily
- func (Cluster_DnsLookupFamily) Descriptor() protoreflect.EnumDescriptor
- func (x Cluster_DnsLookupFamily) Enum() *Cluster_DnsLookupFamily
- func (Cluster_DnsLookupFamily) EnumDescriptor() ([]byte, []int)deprecated
- func (x Cluster_DnsLookupFamily) Number() protoreflect.EnumNumber
- func (x Cluster_DnsLookupFamily) String() string
- func (Cluster_DnsLookupFamily) Type() protoreflect.EnumType
- type Cluster_EdsClusterConfig
- func (*Cluster_EdsClusterConfig) Descriptor() ([]byte, []int)deprecated
- func (x *Cluster_EdsClusterConfig) GetEdsConfig() *v32.ConfigSource
- func (x *Cluster_EdsClusterConfig) GetServiceName() string
- func (*Cluster_EdsClusterConfig) ProtoMessage()
- func (x *Cluster_EdsClusterConfig) ProtoReflect() protoreflect.Message
- func (x *Cluster_EdsClusterConfig) Reset()
- func (x *Cluster_EdsClusterConfig) String() string
- func (m *Cluster_EdsClusterConfig) Validate() error
- func (m *Cluster_EdsClusterConfig) ValidateAll() error
- type Cluster_EdsClusterConfigMultiError
- type Cluster_EdsClusterConfigValidationError
- func (e Cluster_EdsClusterConfigValidationError) Cause() error
- func (e Cluster_EdsClusterConfigValidationError) Error() string
- func (e Cluster_EdsClusterConfigValidationError) ErrorName() string
- func (e Cluster_EdsClusterConfigValidationError) Field() string
- func (e Cluster_EdsClusterConfigValidationError) Key() bool
- func (e Cluster_EdsClusterConfigValidationError) Reason() string
- type Cluster_LbPolicy
- func (Cluster_LbPolicy) Descriptor() protoreflect.EnumDescriptor
- func (x Cluster_LbPolicy) Enum() *Cluster_LbPolicy
- func (Cluster_LbPolicy) EnumDescriptor() ([]byte, []int)deprecated
- func (x Cluster_LbPolicy) Number() protoreflect.EnumNumber
- func (x Cluster_LbPolicy) String() string
- func (Cluster_LbPolicy) Type() protoreflect.EnumType
- type Cluster_LbSubsetConfig
- func (*Cluster_LbSubsetConfig) Descriptor() ([]byte, []int)deprecated
- func (x *Cluster_LbSubsetConfig) GetDefaultSubset() *_struct.Struct
- func (x *Cluster_LbSubsetConfig) GetFallbackPolicy() Cluster_LbSubsetConfig_LbSubsetFallbackPolicy
- func (x *Cluster_LbSubsetConfig) GetListAsAny() bool
- func (x *Cluster_LbSubsetConfig) GetLocalityWeightAware() bool
- func (x *Cluster_LbSubsetConfig) GetMetadataFallbackPolicy() Cluster_LbSubsetConfig_LbSubsetMetadataFallbackPolicy
- func (x *Cluster_LbSubsetConfig) GetPanicModeAny() bool
- func (x *Cluster_LbSubsetConfig) GetScaleLocalityWeight() bool
- func (x *Cluster_LbSubsetConfig) GetSubsetSelectors() []*Cluster_LbSubsetConfig_LbSubsetSelector
- func (*Cluster_LbSubsetConfig) ProtoMessage()
- func (x *Cluster_LbSubsetConfig) ProtoReflect() protoreflect.Message
- func (x *Cluster_LbSubsetConfig) Reset()
- func (x *Cluster_LbSubsetConfig) String() string
- func (m *Cluster_LbSubsetConfig) Validate() error
- func (m *Cluster_LbSubsetConfig) ValidateAll() error
- type Cluster_LbSubsetConfigMultiError
- type Cluster_LbSubsetConfigValidationError
- func (e Cluster_LbSubsetConfigValidationError) Cause() error
- func (e Cluster_LbSubsetConfigValidationError) Error() string
- func (e Cluster_LbSubsetConfigValidationError) ErrorName() string
- func (e Cluster_LbSubsetConfigValidationError) Field() string
- func (e Cluster_LbSubsetConfigValidationError) Key() bool
- func (e Cluster_LbSubsetConfigValidationError) Reason() string
- type Cluster_LbSubsetConfig_LbSubsetFallbackPolicy
- func (Cluster_LbSubsetConfig_LbSubsetFallbackPolicy) Descriptor() protoreflect.EnumDescriptor
- func (x Cluster_LbSubsetConfig_LbSubsetFallbackPolicy) Enum() *Cluster_LbSubsetConfig_LbSubsetFallbackPolicy
- func (Cluster_LbSubsetConfig_LbSubsetFallbackPolicy) EnumDescriptor() ([]byte, []int)deprecated
- func (x Cluster_LbSubsetConfig_LbSubsetFallbackPolicy) Number() protoreflect.EnumNumber
- func (x Cluster_LbSubsetConfig_LbSubsetFallbackPolicy) String() string
- func (Cluster_LbSubsetConfig_LbSubsetFallbackPolicy) Type() protoreflect.EnumType
- type Cluster_LbSubsetConfig_LbSubsetMetadataFallbackPolicy
- func (Cluster_LbSubsetConfig_LbSubsetMetadataFallbackPolicy) Descriptor() protoreflect.EnumDescriptor
- func (x Cluster_LbSubsetConfig_LbSubsetMetadataFallbackPolicy) Enum() *Cluster_LbSubsetConfig_LbSubsetMetadataFallbackPolicy
- func (Cluster_LbSubsetConfig_LbSubsetMetadataFallbackPolicy) EnumDescriptor() ([]byte, []int)deprecated
- func (x Cluster_LbSubsetConfig_LbSubsetMetadataFallbackPolicy) Number() protoreflect.EnumNumber
- func (x Cluster_LbSubsetConfig_LbSubsetMetadataFallbackPolicy) String() string
- func (Cluster_LbSubsetConfig_LbSubsetMetadataFallbackPolicy) Type() protoreflect.EnumType
- type Cluster_LbSubsetConfig_LbSubsetSelector
- func (*Cluster_LbSubsetConfig_LbSubsetSelector) Descriptor() ([]byte, []int)deprecated
- func (x *Cluster_LbSubsetConfig_LbSubsetSelector) GetFallbackKeysSubset() []string
- func (x *Cluster_LbSubsetConfig_LbSubsetSelector) GetFallbackPolicy() Cluster_LbSubsetConfig_LbSubsetSelector_LbSubsetSelectorFallbackPolicy
- func (x *Cluster_LbSubsetConfig_LbSubsetSelector) GetKeys() []string
- func (x *Cluster_LbSubsetConfig_LbSubsetSelector) GetSingleHostPerSubset() bool
- func (*Cluster_LbSubsetConfig_LbSubsetSelector) ProtoMessage()
- func (x *Cluster_LbSubsetConfig_LbSubsetSelector) ProtoReflect() protoreflect.Message
- func (x *Cluster_LbSubsetConfig_LbSubsetSelector) Reset()
- func (x *Cluster_LbSubsetConfig_LbSubsetSelector) String() string
- func (m *Cluster_LbSubsetConfig_LbSubsetSelector) Validate() error
- func (m *Cluster_LbSubsetConfig_LbSubsetSelector) ValidateAll() error
- type Cluster_LbSubsetConfig_LbSubsetSelectorMultiError
- type Cluster_LbSubsetConfig_LbSubsetSelectorValidationError
- func (e Cluster_LbSubsetConfig_LbSubsetSelectorValidationError) Cause() error
- func (e Cluster_LbSubsetConfig_LbSubsetSelectorValidationError) Error() string
- func (e Cluster_LbSubsetConfig_LbSubsetSelectorValidationError) ErrorName() string
- func (e Cluster_LbSubsetConfig_LbSubsetSelectorValidationError) Field() string
- func (e Cluster_LbSubsetConfig_LbSubsetSelectorValidationError) Key() bool
- func (e Cluster_LbSubsetConfig_LbSubsetSelectorValidationError) Reason() string
- type Cluster_LbSubsetConfig_LbSubsetSelector_LbSubsetSelectorFallbackPolicy
- func (Cluster_LbSubsetConfig_LbSubsetSelector_LbSubsetSelectorFallbackPolicy) Descriptor() protoreflect.EnumDescriptor
- func (x Cluster_LbSubsetConfig_LbSubsetSelector_LbSubsetSelectorFallbackPolicy) Enum() *Cluster_LbSubsetConfig_LbSubsetSelector_LbSubsetSelectorFallbackPolicy
- func (Cluster_LbSubsetConfig_LbSubsetSelector_LbSubsetSelectorFallbackPolicy) EnumDescriptor() ([]byte, []int)deprecated
- func (x Cluster_LbSubsetConfig_LbSubsetSelector_LbSubsetSelectorFallbackPolicy) Number() protoreflect.EnumNumber
- func (x Cluster_LbSubsetConfig_LbSubsetSelector_LbSubsetSelectorFallbackPolicy) String() string
- func (Cluster_LbSubsetConfig_LbSubsetSelector_LbSubsetSelectorFallbackPolicy) Type() protoreflect.EnumType
- type Cluster_LeastRequestLbConfig
- func (*Cluster_LeastRequestLbConfig) Descriptor() ([]byte, []int)deprecated
- func (x *Cluster_LeastRequestLbConfig) GetActiveRequestBias() *v32.RuntimeDouble
- func (x *Cluster_LeastRequestLbConfig) GetChoiceCount() *wrappers.UInt32Value
- func (x *Cluster_LeastRequestLbConfig) GetSlowStartConfig() *Cluster_SlowStartConfig
- func (*Cluster_LeastRequestLbConfig) ProtoMessage()
- func (x *Cluster_LeastRequestLbConfig) ProtoReflect() protoreflect.Message
- func (x *Cluster_LeastRequestLbConfig) Reset()
- func (x *Cluster_LeastRequestLbConfig) String() string
- func (m *Cluster_LeastRequestLbConfig) Validate() error
- func (m *Cluster_LeastRequestLbConfig) ValidateAll() error
- type Cluster_LeastRequestLbConfigMultiError
- type Cluster_LeastRequestLbConfigValidationError
- func (e Cluster_LeastRequestLbConfigValidationError) Cause() error
- func (e Cluster_LeastRequestLbConfigValidationError) Error() string
- func (e Cluster_LeastRequestLbConfigValidationError) ErrorName() string
- func (e Cluster_LeastRequestLbConfigValidationError) Field() string
- func (e Cluster_LeastRequestLbConfigValidationError) Key() bool
- func (e Cluster_LeastRequestLbConfigValidationError) Reason() string
- type Cluster_LeastRequestLbConfig_
- type Cluster_MaglevLbConfig
- func (*Cluster_MaglevLbConfig) Descriptor() ([]byte, []int)deprecated
- func (x *Cluster_MaglevLbConfig) GetTableSize() *wrappers.UInt64Value
- func (*Cluster_MaglevLbConfig) ProtoMessage()
- func (x *Cluster_MaglevLbConfig) ProtoReflect() protoreflect.Message
- func (x *Cluster_MaglevLbConfig) Reset()
- func (x *Cluster_MaglevLbConfig) String() string
- func (m *Cluster_MaglevLbConfig) Validate() error
- func (m *Cluster_MaglevLbConfig) ValidateAll() error
- type Cluster_MaglevLbConfigMultiError
- type Cluster_MaglevLbConfigValidationError
- func (e Cluster_MaglevLbConfigValidationError) Cause() error
- func (e Cluster_MaglevLbConfigValidationError) Error() string
- func (e Cluster_MaglevLbConfigValidationError) ErrorName() string
- func (e Cluster_MaglevLbConfigValidationError) Field() string
- func (e Cluster_MaglevLbConfigValidationError) Key() bool
- func (e Cluster_MaglevLbConfigValidationError) Reason() string
- type Cluster_MaglevLbConfig_
- type Cluster_OriginalDstLbConfig
- func (*Cluster_OriginalDstLbConfig) Descriptor() ([]byte, []int)deprecated
- func (x *Cluster_OriginalDstLbConfig) GetHttpHeaderName() string
- func (x *Cluster_OriginalDstLbConfig) GetUpstreamPortOverride() *wrappers.UInt32Value
- func (x *Cluster_OriginalDstLbConfig) GetUseHttpHeader() bool
- func (*Cluster_OriginalDstLbConfig) ProtoMessage()
- func (x *Cluster_OriginalDstLbConfig) ProtoReflect() protoreflect.Message
- func (x *Cluster_OriginalDstLbConfig) Reset()
- func (x *Cluster_OriginalDstLbConfig) String() string
- func (m *Cluster_OriginalDstLbConfig) Validate() error
- func (m *Cluster_OriginalDstLbConfig) ValidateAll() error
- type Cluster_OriginalDstLbConfigMultiError
- type Cluster_OriginalDstLbConfigValidationError
- func (e Cluster_OriginalDstLbConfigValidationError) Cause() error
- func (e Cluster_OriginalDstLbConfigValidationError) Error() string
- func (e Cluster_OriginalDstLbConfigValidationError) ErrorName() string
- func (e Cluster_OriginalDstLbConfigValidationError) Field() string
- func (e Cluster_OriginalDstLbConfigValidationError) Key() bool
- func (e Cluster_OriginalDstLbConfigValidationError) Reason() string
- type Cluster_OriginalDstLbConfig_
- type Cluster_PreconnectPolicy
- func (*Cluster_PreconnectPolicy) Descriptor() ([]byte, []int)deprecated
- func (x *Cluster_PreconnectPolicy) GetPerUpstreamPreconnectRatio() *wrappers.DoubleValue
- func (x *Cluster_PreconnectPolicy) GetPredictivePreconnectRatio() *wrappers.DoubleValue
- func (*Cluster_PreconnectPolicy) ProtoMessage()
- func (x *Cluster_PreconnectPolicy) ProtoReflect() protoreflect.Message
- func (x *Cluster_PreconnectPolicy) Reset()
- func (x *Cluster_PreconnectPolicy) String() string
- func (m *Cluster_PreconnectPolicy) Validate() error
- func (m *Cluster_PreconnectPolicy) ValidateAll() error
- type Cluster_PreconnectPolicyMultiError
- type Cluster_PreconnectPolicyValidationError
- func (e Cluster_PreconnectPolicyValidationError) Cause() error
- func (e Cluster_PreconnectPolicyValidationError) Error() string
- func (e Cluster_PreconnectPolicyValidationError) ErrorName() string
- func (e Cluster_PreconnectPolicyValidationError) Field() string
- func (e Cluster_PreconnectPolicyValidationError) Key() bool
- func (e Cluster_PreconnectPolicyValidationError) Reason() string
- type Cluster_RefreshRate
- func (*Cluster_RefreshRate) Descriptor() ([]byte, []int)deprecated
- func (x *Cluster_RefreshRate) GetBaseInterval() *duration.Duration
- func (x *Cluster_RefreshRate) GetMaxInterval() *duration.Duration
- func (*Cluster_RefreshRate) ProtoMessage()
- func (x *Cluster_RefreshRate) ProtoReflect() protoreflect.Message
- func (x *Cluster_RefreshRate) Reset()
- func (x *Cluster_RefreshRate) String() string
- func (m *Cluster_RefreshRate) Validate() error
- func (m *Cluster_RefreshRate) ValidateAll() error
- type Cluster_RefreshRateMultiError
- type Cluster_RefreshRateValidationError
- func (e Cluster_RefreshRateValidationError) Cause() error
- func (e Cluster_RefreshRateValidationError) Error() string
- func (e Cluster_RefreshRateValidationError) ErrorName() string
- func (e Cluster_RefreshRateValidationError) Field() string
- func (e Cluster_RefreshRateValidationError) Key() bool
- func (e Cluster_RefreshRateValidationError) Reason() string
- type Cluster_RingHashLbConfig
- func (*Cluster_RingHashLbConfig) Descriptor() ([]byte, []int)deprecated
- func (x *Cluster_RingHashLbConfig) GetHashFunction() Cluster_RingHashLbConfig_HashFunction
- func (x *Cluster_RingHashLbConfig) GetMaximumRingSize() *wrappers.UInt64Value
- func (x *Cluster_RingHashLbConfig) GetMinimumRingSize() *wrappers.UInt64Value
- func (*Cluster_RingHashLbConfig) ProtoMessage()
- func (x *Cluster_RingHashLbConfig) ProtoReflect() protoreflect.Message
- func (x *Cluster_RingHashLbConfig) Reset()
- func (x *Cluster_RingHashLbConfig) String() string
- func (m *Cluster_RingHashLbConfig) Validate() error
- func (m *Cluster_RingHashLbConfig) ValidateAll() error
- type Cluster_RingHashLbConfigMultiError
- type Cluster_RingHashLbConfigValidationError
- func (e Cluster_RingHashLbConfigValidationError) Cause() error
- func (e Cluster_RingHashLbConfigValidationError) Error() string
- func (e Cluster_RingHashLbConfigValidationError) ErrorName() string
- func (e Cluster_RingHashLbConfigValidationError) Field() string
- func (e Cluster_RingHashLbConfigValidationError) Key() bool
- func (e Cluster_RingHashLbConfigValidationError) Reason() string
- type Cluster_RingHashLbConfig_
- type Cluster_RingHashLbConfig_HashFunction
- func (Cluster_RingHashLbConfig_HashFunction) Descriptor() protoreflect.EnumDescriptor
- func (x Cluster_RingHashLbConfig_HashFunction) Enum() *Cluster_RingHashLbConfig_HashFunction
- func (Cluster_RingHashLbConfig_HashFunction) EnumDescriptor() ([]byte, []int)deprecated
- func (x Cluster_RingHashLbConfig_HashFunction) Number() protoreflect.EnumNumber
- func (x Cluster_RingHashLbConfig_HashFunction) String() string
- func (Cluster_RingHashLbConfig_HashFunction) Type() protoreflect.EnumType
- type Cluster_RoundRobinLbConfig
- func (*Cluster_RoundRobinLbConfig) Descriptor() ([]byte, []int)deprecated
- func (x *Cluster_RoundRobinLbConfig) GetSlowStartConfig() *Cluster_SlowStartConfig
- func (*Cluster_RoundRobinLbConfig) ProtoMessage()
- func (x *Cluster_RoundRobinLbConfig) ProtoReflect() protoreflect.Message
- func (x *Cluster_RoundRobinLbConfig) Reset()
- func (x *Cluster_RoundRobinLbConfig) String() string
- func (m *Cluster_RoundRobinLbConfig) Validate() error
- func (m *Cluster_RoundRobinLbConfig) ValidateAll() error
- type Cluster_RoundRobinLbConfigMultiError
- type Cluster_RoundRobinLbConfigValidationError
- func (e Cluster_RoundRobinLbConfigValidationError) Cause() error
- func (e Cluster_RoundRobinLbConfigValidationError) Error() string
- func (e Cluster_RoundRobinLbConfigValidationError) ErrorName() string
- func (e Cluster_RoundRobinLbConfigValidationError) Field() string
- func (e Cluster_RoundRobinLbConfigValidationError) Key() bool
- func (e Cluster_RoundRobinLbConfigValidationError) Reason() string
- type Cluster_RoundRobinLbConfig_
- type Cluster_SlowStartConfig
- func (*Cluster_SlowStartConfig) Descriptor() ([]byte, []int)deprecated
- func (x *Cluster_SlowStartConfig) GetAggression() *v32.RuntimeDouble
- func (x *Cluster_SlowStartConfig) GetMinWeightPercent() *v33.Percent
- func (x *Cluster_SlowStartConfig) GetSlowStartWindow() *duration.Duration
- func (*Cluster_SlowStartConfig) ProtoMessage()
- func (x *Cluster_SlowStartConfig) ProtoReflect() protoreflect.Message
- func (x *Cluster_SlowStartConfig) Reset()
- func (x *Cluster_SlowStartConfig) String() string
- func (m *Cluster_SlowStartConfig) Validate() error
- func (m *Cluster_SlowStartConfig) ValidateAll() error
- type Cluster_SlowStartConfigMultiError
- type Cluster_SlowStartConfigValidationError
- func (e Cluster_SlowStartConfigValidationError) Cause() error
- func (e Cluster_SlowStartConfigValidationError) Error() string
- func (e Cluster_SlowStartConfigValidationError) ErrorName() string
- func (e Cluster_SlowStartConfigValidationError) Field() string
- func (e Cluster_SlowStartConfigValidationError) Key() bool
- func (e Cluster_SlowStartConfigValidationError) Reason() string
- type Cluster_TransportSocketMatch
- func (*Cluster_TransportSocketMatch) Descriptor() ([]byte, []int)deprecated
- func (x *Cluster_TransportSocketMatch) GetMatch() *_struct.Struct
- func (x *Cluster_TransportSocketMatch) GetName() string
- func (x *Cluster_TransportSocketMatch) GetTransportSocket() *v32.TransportSocket
- func (*Cluster_TransportSocketMatch) ProtoMessage()
- func (x *Cluster_TransportSocketMatch) ProtoReflect() protoreflect.Message
- func (x *Cluster_TransportSocketMatch) Reset()
- func (x *Cluster_TransportSocketMatch) String() string
- func (m *Cluster_TransportSocketMatch) Validate() error
- func (m *Cluster_TransportSocketMatch) ValidateAll() error
- type Cluster_TransportSocketMatchMultiError
- type Cluster_TransportSocketMatchValidationError
- func (e Cluster_TransportSocketMatchValidationError) Cause() error
- func (e Cluster_TransportSocketMatchValidationError) Error() string
- func (e Cluster_TransportSocketMatchValidationError) ErrorName() string
- func (e Cluster_TransportSocketMatchValidationError) Field() string
- func (e Cluster_TransportSocketMatchValidationError) Key() bool
- func (e Cluster_TransportSocketMatchValidationError) Reason() string
- type Cluster_Type
- type Filter
- func (*Filter) Descriptor() ([]byte, []int)deprecated
- func (x *Filter) GetName() string
- func (x *Filter) GetTypedConfig() *any.Any
- func (*Filter) ProtoMessage()
- func (x *Filter) ProtoReflect() protoreflect.Message
- func (x *Filter) Reset()
- func (x *Filter) String() string
- func (m *Filter) Validate() error
- func (m *Filter) ValidateAll() error
- type FilterMultiError
- type FilterValidationError
- type LoadBalancingPolicy
- func (*LoadBalancingPolicy) Descriptor() ([]byte, []int)deprecated
- func (x *LoadBalancingPolicy) GetPolicies() []*LoadBalancingPolicy_Policy
- func (*LoadBalancingPolicy) ProtoMessage()
- func (x *LoadBalancingPolicy) ProtoReflect() protoreflect.Message
- func (x *LoadBalancingPolicy) Reset()
- func (x *LoadBalancingPolicy) String() string
- func (m *LoadBalancingPolicy) Validate() error
- func (m *LoadBalancingPolicy) ValidateAll() error
- type LoadBalancingPolicyMultiError
- type LoadBalancingPolicyValidationError
- func (e LoadBalancingPolicyValidationError) Cause() error
- func (e LoadBalancingPolicyValidationError) Error() string
- func (e LoadBalancingPolicyValidationError) ErrorName() string
- func (e LoadBalancingPolicyValidationError) Field() string
- func (e LoadBalancingPolicyValidationError) Key() bool
- func (e LoadBalancingPolicyValidationError) Reason() string
- type LoadBalancingPolicy_Policy
- func (*LoadBalancingPolicy_Policy) Descriptor() ([]byte, []int)deprecated
- func (x *LoadBalancingPolicy_Policy) GetTypedExtensionConfig() *v32.TypedExtensionConfig
- func (*LoadBalancingPolicy_Policy) ProtoMessage()
- func (x *LoadBalancingPolicy_Policy) ProtoReflect() protoreflect.Message
- func (x *LoadBalancingPolicy_Policy) Reset()
- func (x *LoadBalancingPolicy_Policy) String() string
- func (m *LoadBalancingPolicy_Policy) Validate() error
- func (m *LoadBalancingPolicy_Policy) ValidateAll() error
- type LoadBalancingPolicy_PolicyMultiError
- type LoadBalancingPolicy_PolicyValidationError
- func (e LoadBalancingPolicy_PolicyValidationError) Cause() error
- func (e LoadBalancingPolicy_PolicyValidationError) Error() string
- func (e LoadBalancingPolicy_PolicyValidationError) ErrorName() string
- func (e LoadBalancingPolicy_PolicyValidationError) Field() string
- func (e LoadBalancingPolicy_PolicyValidationError) Key() bool
- func (e LoadBalancingPolicy_PolicyValidationError) Reason() string
- type OutlierDetection
- func (*OutlierDetection) Descriptor() ([]byte, []int)deprecated
- func (x *OutlierDetection) GetBaseEjectionTime() *duration.Duration
- func (x *OutlierDetection) GetConsecutiveGatewayFailure() *wrappers.UInt32Value
- func (x *OutlierDetection) GetConsecutiveLocalOriginFailure() *wrappers.UInt32Value
- func (x *OutlierDetection) GetConsecutive_5Xx() *wrappers.UInt32Value
- func (x *OutlierDetection) GetEnforcingConsecutiveGatewayFailure() *wrappers.UInt32Value
- func (x *OutlierDetection) GetEnforcingConsecutiveLocalOriginFailure() *wrappers.UInt32Value
- func (x *OutlierDetection) GetEnforcingConsecutive_5Xx() *wrappers.UInt32Value
- func (x *OutlierDetection) GetEnforcingFailurePercentage() *wrappers.UInt32Value
- func (x *OutlierDetection) GetEnforcingFailurePercentageLocalOrigin() *wrappers.UInt32Value
- func (x *OutlierDetection) GetEnforcingLocalOriginSuccessRate() *wrappers.UInt32Value
- func (x *OutlierDetection) GetEnforcingSuccessRate() *wrappers.UInt32Value
- func (x *OutlierDetection) GetFailurePercentageMinimumHosts() *wrappers.UInt32Value
- func (x *OutlierDetection) GetFailurePercentageRequestVolume() *wrappers.UInt32Value
- func (x *OutlierDetection) GetFailurePercentageThreshold() *wrappers.UInt32Value
- func (x *OutlierDetection) GetInterval() *duration.Duration
- func (x *OutlierDetection) GetMaxEjectionPercent() *wrappers.UInt32Value
- func (x *OutlierDetection) GetMaxEjectionTime() *duration.Duration
- func (x *OutlierDetection) GetMaxEjectionTimeJitter() *duration.Duration
- func (x *OutlierDetection) GetSplitExternalLocalOriginErrors() bool
- func (x *OutlierDetection) GetSuccessRateMinimumHosts() *wrappers.UInt32Value
- func (x *OutlierDetection) GetSuccessRateRequestVolume() *wrappers.UInt32Value
- func (x *OutlierDetection) GetSuccessRateStdevFactor() *wrappers.UInt32Value
- func (*OutlierDetection) ProtoMessage()
- func (x *OutlierDetection) ProtoReflect() protoreflect.Message
- func (x *OutlierDetection) Reset()
- func (x *OutlierDetection) String() string
- func (m *OutlierDetection) Validate() error
- func (m *OutlierDetection) ValidateAll() error
- type OutlierDetectionMultiError
- type OutlierDetectionValidationError
- func (e OutlierDetectionValidationError) Cause() error
- func (e OutlierDetectionValidationError) Error() string
- func (e OutlierDetectionValidationError) ErrorName() string
- func (e OutlierDetectionValidationError) Field() string
- func (e OutlierDetectionValidationError) Key() bool
- func (e OutlierDetectionValidationError) Reason() string
- type TrackClusterStats
- func (*TrackClusterStats) Descriptor() ([]byte, []int)deprecated
- func (x *TrackClusterStats) GetRequestResponseSizes() bool
- func (x *TrackClusterStats) GetTimeoutBudgets() bool
- func (*TrackClusterStats) ProtoMessage()
- func (x *TrackClusterStats) ProtoReflect() protoreflect.Message
- func (x *TrackClusterStats) Reset()
- func (x *TrackClusterStats) String() string
- func (m *TrackClusterStats) Validate() error
- func (m *TrackClusterStats) ValidateAll() error
- type TrackClusterStatsMultiError
- type TrackClusterStatsValidationError
- func (e TrackClusterStatsValidationError) Cause() error
- func (e TrackClusterStatsValidationError) Error() string
- func (e TrackClusterStatsValidationError) ErrorName() string
- func (e TrackClusterStatsValidationError) Field() string
- func (e TrackClusterStatsValidationError) Key() bool
- func (e TrackClusterStatsValidationError) Reason() string
- type UpstreamConnectionOptions
- func (*UpstreamConnectionOptions) Descriptor() ([]byte, []int)deprecated
- func (x *UpstreamConnectionOptions) GetSetLocalInterfaceNameOnUpstreamConnections() bool
- func (x *UpstreamConnectionOptions) GetTcpKeepalive() *v32.TcpKeepalive
- func (*UpstreamConnectionOptions) ProtoMessage()
- func (x *UpstreamConnectionOptions) ProtoReflect() protoreflect.Message
- func (x *UpstreamConnectionOptions) Reset()
- func (x *UpstreamConnectionOptions) String() string
- func (m *UpstreamConnectionOptions) Validate() error
- func (m *UpstreamConnectionOptions) ValidateAll() error
- type UpstreamConnectionOptionsMultiError
- type UpstreamConnectionOptionsValidationError
- func (e UpstreamConnectionOptionsValidationError) Cause() error
- func (e UpstreamConnectionOptionsValidationError) Error() string
- func (e UpstreamConnectionOptionsValidationError) ErrorName() string
- func (e UpstreamConnectionOptionsValidationError) Field() string
- func (e UpstreamConnectionOptionsValidationError) Key() bool
- func (e UpstreamConnectionOptionsValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var ( Cluster_DiscoveryType_name = map[int32]string{ 0: "STATIC", 1: "STRICT_DNS", 2: "LOGICAL_DNS", 3: "EDS", 4: "ORIGINAL_DST", } Cluster_DiscoveryType_value = map[string]int32{ "STATIC": 0, "STRICT_DNS": 1, "LOGICAL_DNS": 2, "EDS": 3, "ORIGINAL_DST": 4, } )
Enum value maps for Cluster_DiscoveryType.
var ( Cluster_LbPolicy_name = map[int32]string{ 0: "ROUND_ROBIN", 1: "LEAST_REQUEST", 2: "RING_HASH", 3: "RANDOM", 5: "MAGLEV", 6: "CLUSTER_PROVIDED", 7: "LOAD_BALANCING_POLICY_CONFIG", } Cluster_LbPolicy_value = map[string]int32{ "ROUND_ROBIN": 0, "LEAST_REQUEST": 1, "RING_HASH": 2, "RANDOM": 3, "MAGLEV": 5, "CLUSTER_PROVIDED": 6, "LOAD_BALANCING_POLICY_CONFIG": 7, } )
Enum value maps for Cluster_LbPolicy.
var ( Cluster_DnsLookupFamily_name = map[int32]string{ 0: "AUTO", 1: "V4_ONLY", 2: "V6_ONLY", 3: "V4_PREFERRED", 4: "ALL", } Cluster_DnsLookupFamily_value = map[string]int32{ "AUTO": 0, "V4_ONLY": 1, "V6_ONLY": 2, "V4_PREFERRED": 3, "ALL": 4, } )
Enum value maps for Cluster_DnsLookupFamily.
var ( Cluster_ClusterProtocolSelection_name = map[int32]string{ 0: "USE_CONFIGURED_PROTOCOL", 1: "USE_DOWNSTREAM_PROTOCOL", } Cluster_ClusterProtocolSelection_value = map[string]int32{ "USE_CONFIGURED_PROTOCOL": 0, "USE_DOWNSTREAM_PROTOCOL": 1, } )
Enum value maps for Cluster_ClusterProtocolSelection.
var ( Cluster_LbSubsetConfig_LbSubsetFallbackPolicy_name = map[int32]string{ 0: "NO_FALLBACK", 1: "ANY_ENDPOINT", 2: "DEFAULT_SUBSET", } Cluster_LbSubsetConfig_LbSubsetFallbackPolicy_value = map[string]int32{ "NO_FALLBACK": 0, "ANY_ENDPOINT": 1, "DEFAULT_SUBSET": 2, } )
Enum value maps for Cluster_LbSubsetConfig_LbSubsetFallbackPolicy.
var ( Cluster_LbSubsetConfig_LbSubsetMetadataFallbackPolicy_name = map[int32]string{ 0: "METADATA_NO_FALLBACK", 1: "FALLBACK_LIST", } Cluster_LbSubsetConfig_LbSubsetMetadataFallbackPolicy_value = map[string]int32{ "METADATA_NO_FALLBACK": 0, "FALLBACK_LIST": 1, } )
Enum value maps for Cluster_LbSubsetConfig_LbSubsetMetadataFallbackPolicy.
var ( Cluster_LbSubsetConfig_LbSubsetSelector_LbSubsetSelectorFallbackPolicy_name = map[int32]string{ 0: "NOT_DEFINED", 1: "NO_FALLBACK", 2: "ANY_ENDPOINT", 3: "DEFAULT_SUBSET", 4: "KEYS_SUBSET", } Cluster_LbSubsetConfig_LbSubsetSelector_LbSubsetSelectorFallbackPolicy_value = map[string]int32{ "NOT_DEFINED": 0, "NO_FALLBACK": 1, "ANY_ENDPOINT": 2, "DEFAULT_SUBSET": 3, "KEYS_SUBSET": 4, } )
Enum value maps for Cluster_LbSubsetConfig_LbSubsetSelector_LbSubsetSelectorFallbackPolicy.
var ( Cluster_RingHashLbConfig_HashFunction_name = map[int32]string{ 0: "XX_HASH", 1: "MURMUR_HASH_2", } Cluster_RingHashLbConfig_HashFunction_value = map[string]int32{ "XX_HASH": 0, "MURMUR_HASH_2": 1, } )
Enum value maps for Cluster_RingHashLbConfig_HashFunction.
var File_envoy_config_cluster_v3_circuit_breaker_proto protoreflect.FileDescriptor
var File_envoy_config_cluster_v3_cluster_proto protoreflect.FileDescriptor
var File_envoy_config_cluster_v3_filter_proto protoreflect.FileDescriptor
var File_envoy_config_cluster_v3_outlier_detection_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type CircuitBreakers ¶
type CircuitBreakers struct { // If multiple :ref:`Thresholds<envoy_v3_api_msg_config.cluster.v3.CircuitBreakers.Thresholds>` // are defined with the same :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>`, // the first one in the list is used. If no Thresholds is defined for a given // :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>`, the default values // are used. Thresholds []*CircuitBreakers_Thresholds `protobuf:"bytes,1,rep,name=thresholds,proto3" json:"thresholds,omitempty"` // Optional per-host limits which apply to each individual host in a cluster. // // .. note:: // currently only the :ref:`max_connections // <envoy_v3_api_field_config.cluster.v3.CircuitBreakers.Thresholds.max_connections>` field is supported for per-host limits. // // If multiple per-host :ref:`Thresholds<envoy_v3_api_msg_config.cluster.v3.CircuitBreakers.Thresholds>` // are defined with the same :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>`, // the first one in the list is used. If no per-host Thresholds are defined for a given // :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>`, // the cluster will not have per-host limits. PerHostThresholds []*CircuitBreakers_Thresholds `protobuf:"bytes,2,rep,name=per_host_thresholds,json=perHostThresholds,proto3" json:"per_host_thresholds,omitempty"` // contains filtered or unexported fields }
:ref:`Circuit breaking<arch_overview_circuit_break>` settings can be specified individually for each defined priority.
func (*CircuitBreakers) Descriptor
deprecated
func (*CircuitBreakers) Descriptor() ([]byte, []int)
Deprecated: Use CircuitBreakers.ProtoReflect.Descriptor instead.
func (*CircuitBreakers) GetPerHostThresholds ¶
func (x *CircuitBreakers) GetPerHostThresholds() []*CircuitBreakers_Thresholds
func (*CircuitBreakers) GetThresholds ¶
func (x *CircuitBreakers) GetThresholds() []*CircuitBreakers_Thresholds
func (*CircuitBreakers) ProtoMessage ¶
func (*CircuitBreakers) ProtoMessage()
func (*CircuitBreakers) ProtoReflect ¶
func (x *CircuitBreakers) ProtoReflect() protoreflect.Message
func (*CircuitBreakers) Reset ¶
func (x *CircuitBreakers) Reset()
func (*CircuitBreakers) String ¶
func (x *CircuitBreakers) String() string
func (*CircuitBreakers) Validate ¶
func (m *CircuitBreakers) Validate() error
Validate checks the field values on CircuitBreakers with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CircuitBreakers) ValidateAll ¶
func (m *CircuitBreakers) ValidateAll() error
ValidateAll checks the field values on CircuitBreakers with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CircuitBreakersMultiError, or nil if none found.
type CircuitBreakersMultiError ¶
type CircuitBreakersMultiError []error
CircuitBreakersMultiError is an error wrapping multiple validation errors returned by CircuitBreakers.ValidateAll() if the designated constraints aren't met.
func (CircuitBreakersMultiError) AllErrors ¶
func (m CircuitBreakersMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CircuitBreakersMultiError) Error ¶
func (m CircuitBreakersMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CircuitBreakersValidationError ¶
type CircuitBreakersValidationError struct {
// contains filtered or unexported fields
}
CircuitBreakersValidationError is the validation error returned by CircuitBreakers.Validate if the designated constraints aren't met.
func (CircuitBreakersValidationError) Cause ¶
func (e CircuitBreakersValidationError) Cause() error
Cause function returns cause value.
func (CircuitBreakersValidationError) Error ¶
func (e CircuitBreakersValidationError) Error() string
Error satisfies the builtin error interface
func (CircuitBreakersValidationError) ErrorName ¶
func (e CircuitBreakersValidationError) ErrorName() string
ErrorName returns error name.
func (CircuitBreakersValidationError) Field ¶
func (e CircuitBreakersValidationError) Field() string
Field function returns field value.
func (CircuitBreakersValidationError) Key ¶
func (e CircuitBreakersValidationError) Key() bool
Key function returns key value.
func (CircuitBreakersValidationError) Reason ¶
func (e CircuitBreakersValidationError) Reason() string
Reason function returns reason value.
type CircuitBreakers_Thresholds ¶
type CircuitBreakers_Thresholds struct { // The :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>` // the specified CircuitBreaker settings apply to. Priority v3.RoutingPriority `protobuf:"varint,1,opt,name=priority,proto3,enum=envoy.config.core.v3.RoutingPriority" json:"priority,omitempty"` // The maximum number of connections that Envoy will make to the upstream // cluster. If not specified, the default is 1024. MaxConnections *wrappers.UInt32Value `protobuf:"bytes,2,opt,name=max_connections,json=maxConnections,proto3" json:"max_connections,omitempty"` // The maximum number of pending requests that Envoy will allow to the // upstream cluster. If not specified, the default is 1024. // This limit is applied as a connection limit for non-HTTP traffic. MaxPendingRequests *wrappers.UInt32Value `protobuf:"bytes,3,opt,name=max_pending_requests,json=maxPendingRequests,proto3" json:"max_pending_requests,omitempty"` // The maximum number of parallel requests that Envoy will make to the // upstream cluster. If not specified, the default is 1024. // This limit does not apply to non-HTTP traffic. MaxRequests *wrappers.UInt32Value `protobuf:"bytes,4,opt,name=max_requests,json=maxRequests,proto3" json:"max_requests,omitempty"` // The maximum number of parallel retries that Envoy will allow to the // upstream cluster. If not specified, the default is 3. MaxRetries *wrappers.UInt32Value `protobuf:"bytes,5,opt,name=max_retries,json=maxRetries,proto3" json:"max_retries,omitempty"` // Specifies a limit on concurrent retries in relation to the number of active requests. This // parameter is optional. // // .. note:: // // If this field is set, the retry budget will override any configured retry circuit // breaker. RetryBudget *CircuitBreakers_Thresholds_RetryBudget `protobuf:"bytes,8,opt,name=retry_budget,json=retryBudget,proto3" json:"retry_budget,omitempty"` // If track_remaining is true, then stats will be published that expose // the number of resources remaining until the circuit breakers open. If // not specified, the default is false. // // .. note:: // // If a retry budget is used in lieu of the max_retries circuit breaker, // the remaining retry resources remaining will not be tracked. TrackRemaining bool `protobuf:"varint,6,opt,name=track_remaining,json=trackRemaining,proto3" json:"track_remaining,omitempty"` // The maximum number of connection pools per cluster that Envoy will concurrently support at // once. If not specified, the default is unlimited. Set this for clusters which create a // large number of connection pools. See // :ref:`Circuit Breaking <arch_overview_circuit_break_cluster_maximum_connection_pools>` for // more details. MaxConnectionPools *wrappers.UInt32Value `protobuf:"bytes,7,opt,name=max_connection_pools,json=maxConnectionPools,proto3" json:"max_connection_pools,omitempty"` // contains filtered or unexported fields }
A Thresholds defines CircuitBreaker settings for a :ref:`RoutingPriority<envoy_v3_api_enum_config.core.v3.RoutingPriority>`. [#next-free-field: 9]
func (*CircuitBreakers_Thresholds) Descriptor
deprecated
func (*CircuitBreakers_Thresholds) Descriptor() ([]byte, []int)
Deprecated: Use CircuitBreakers_Thresholds.ProtoReflect.Descriptor instead.
func (*CircuitBreakers_Thresholds) GetMaxConnectionPools ¶
func (x *CircuitBreakers_Thresholds) GetMaxConnectionPools() *wrappers.UInt32Value
func (*CircuitBreakers_Thresholds) GetMaxConnections ¶
func (x *CircuitBreakers_Thresholds) GetMaxConnections() *wrappers.UInt32Value
func (*CircuitBreakers_Thresholds) GetMaxPendingRequests ¶
func (x *CircuitBreakers_Thresholds) GetMaxPendingRequests() *wrappers.UInt32Value
func (*CircuitBreakers_Thresholds) GetMaxRequests ¶
func (x *CircuitBreakers_Thresholds) GetMaxRequests() *wrappers.UInt32Value
func (*CircuitBreakers_Thresholds) GetMaxRetries ¶
func (x *CircuitBreakers_Thresholds) GetMaxRetries() *wrappers.UInt32Value
func (*CircuitBreakers_Thresholds) GetPriority ¶
func (x *CircuitBreakers_Thresholds) GetPriority() v3.RoutingPriority
func (*CircuitBreakers_Thresholds) GetRetryBudget ¶
func (x *CircuitBreakers_Thresholds) GetRetryBudget() *CircuitBreakers_Thresholds_RetryBudget
func (*CircuitBreakers_Thresholds) GetTrackRemaining ¶
func (x *CircuitBreakers_Thresholds) GetTrackRemaining() bool
func (*CircuitBreakers_Thresholds) ProtoMessage ¶
func (*CircuitBreakers_Thresholds) ProtoMessage()
func (*CircuitBreakers_Thresholds) ProtoReflect ¶
func (x *CircuitBreakers_Thresholds) ProtoReflect() protoreflect.Message
func (*CircuitBreakers_Thresholds) Reset ¶
func (x *CircuitBreakers_Thresholds) Reset()
func (*CircuitBreakers_Thresholds) String ¶
func (x *CircuitBreakers_Thresholds) String() string
func (*CircuitBreakers_Thresholds) Validate ¶
func (m *CircuitBreakers_Thresholds) Validate() error
Validate checks the field values on CircuitBreakers_Thresholds with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CircuitBreakers_Thresholds) ValidateAll ¶
func (m *CircuitBreakers_Thresholds) ValidateAll() error
ValidateAll checks the field values on CircuitBreakers_Thresholds with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CircuitBreakers_ThresholdsMultiError, or nil if none found.
type CircuitBreakers_ThresholdsMultiError ¶
type CircuitBreakers_ThresholdsMultiError []error
CircuitBreakers_ThresholdsMultiError is an error wrapping multiple validation errors returned by CircuitBreakers_Thresholds.ValidateAll() if the designated constraints aren't met.
func (CircuitBreakers_ThresholdsMultiError) AllErrors ¶
func (m CircuitBreakers_ThresholdsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CircuitBreakers_ThresholdsMultiError) Error ¶
func (m CircuitBreakers_ThresholdsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CircuitBreakers_ThresholdsValidationError ¶
type CircuitBreakers_ThresholdsValidationError struct {
// contains filtered or unexported fields
}
CircuitBreakers_ThresholdsValidationError is the validation error returned by CircuitBreakers_Thresholds.Validate if the designated constraints aren't met.
func (CircuitBreakers_ThresholdsValidationError) Cause ¶
func (e CircuitBreakers_ThresholdsValidationError) Cause() error
Cause function returns cause value.
func (CircuitBreakers_ThresholdsValidationError) Error ¶
func (e CircuitBreakers_ThresholdsValidationError) Error() string
Error satisfies the builtin error interface
func (CircuitBreakers_ThresholdsValidationError) ErrorName ¶
func (e CircuitBreakers_ThresholdsValidationError) ErrorName() string
ErrorName returns error name.
func (CircuitBreakers_ThresholdsValidationError) Field ¶
func (e CircuitBreakers_ThresholdsValidationError) Field() string
Field function returns field value.
func (CircuitBreakers_ThresholdsValidationError) Key ¶
func (e CircuitBreakers_ThresholdsValidationError) Key() bool
Key function returns key value.
func (CircuitBreakers_ThresholdsValidationError) Reason ¶
func (e CircuitBreakers_ThresholdsValidationError) Reason() string
Reason function returns reason value.
type CircuitBreakers_Thresholds_RetryBudget ¶
type CircuitBreakers_Thresholds_RetryBudget struct { // Specifies the limit on concurrent retries as a percentage of the sum of active requests and // active pending requests. For example, if there are 100 active requests and the // budget_percent is set to 25, there may be 25 active retries. // // This parameter is optional. Defaults to 20%. BudgetPercent *v31.Percent `protobuf:"bytes,1,opt,name=budget_percent,json=budgetPercent,proto3" json:"budget_percent,omitempty"` // Specifies the minimum retry concurrency allowed for the retry budget. The limit on the // number of active retries may never go below this number. // // This parameter is optional. Defaults to 3. MinRetryConcurrency *wrappers.UInt32Value `protobuf:"bytes,2,opt,name=min_retry_concurrency,json=minRetryConcurrency,proto3" json:"min_retry_concurrency,omitempty"` // contains filtered or unexported fields }
func (*CircuitBreakers_Thresholds_RetryBudget) Descriptor
deprecated
func (*CircuitBreakers_Thresholds_RetryBudget) Descriptor() ([]byte, []int)
Deprecated: Use CircuitBreakers_Thresholds_RetryBudget.ProtoReflect.Descriptor instead.
func (*CircuitBreakers_Thresholds_RetryBudget) GetBudgetPercent ¶
func (x *CircuitBreakers_Thresholds_RetryBudget) GetBudgetPercent() *v31.Percent
func (*CircuitBreakers_Thresholds_RetryBudget) GetMinRetryConcurrency ¶
func (x *CircuitBreakers_Thresholds_RetryBudget) GetMinRetryConcurrency() *wrappers.UInt32Value
func (*CircuitBreakers_Thresholds_RetryBudget) ProtoMessage ¶
func (*CircuitBreakers_Thresholds_RetryBudget) ProtoMessage()
func (*CircuitBreakers_Thresholds_RetryBudget) ProtoReflect ¶
func (x *CircuitBreakers_Thresholds_RetryBudget) ProtoReflect() protoreflect.Message
func (*CircuitBreakers_Thresholds_RetryBudget) Reset ¶
func (x *CircuitBreakers_Thresholds_RetryBudget) Reset()
func (*CircuitBreakers_Thresholds_RetryBudget) String ¶
func (x *CircuitBreakers_Thresholds_RetryBudget) String() string
func (*CircuitBreakers_Thresholds_RetryBudget) Validate ¶
func (m *CircuitBreakers_Thresholds_RetryBudget) Validate() error
Validate checks the field values on CircuitBreakers_Thresholds_RetryBudget with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CircuitBreakers_Thresholds_RetryBudget) ValidateAll ¶
func (m *CircuitBreakers_Thresholds_RetryBudget) ValidateAll() error
ValidateAll checks the field values on CircuitBreakers_Thresholds_RetryBudget with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CircuitBreakers_Thresholds_RetryBudgetMultiError, or nil if none found.
type CircuitBreakers_Thresholds_RetryBudgetMultiError ¶
type CircuitBreakers_Thresholds_RetryBudgetMultiError []error
CircuitBreakers_Thresholds_RetryBudgetMultiError is an error wrapping multiple validation errors returned by CircuitBreakers_Thresholds_RetryBudget.ValidateAll() if the designated constraints aren't met.
func (CircuitBreakers_Thresholds_RetryBudgetMultiError) AllErrors ¶
func (m CircuitBreakers_Thresholds_RetryBudgetMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CircuitBreakers_Thresholds_RetryBudgetMultiError) Error ¶
func (m CircuitBreakers_Thresholds_RetryBudgetMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CircuitBreakers_Thresholds_RetryBudgetValidationError ¶
type CircuitBreakers_Thresholds_RetryBudgetValidationError struct {
// contains filtered or unexported fields
}
CircuitBreakers_Thresholds_RetryBudgetValidationError is the validation error returned by CircuitBreakers_Thresholds_RetryBudget.Validate if the designated constraints aren't met.
func (CircuitBreakers_Thresholds_RetryBudgetValidationError) Cause ¶
func (e CircuitBreakers_Thresholds_RetryBudgetValidationError) Cause() error
Cause function returns cause value.
func (CircuitBreakers_Thresholds_RetryBudgetValidationError) Error ¶
func (e CircuitBreakers_Thresholds_RetryBudgetValidationError) Error() string
Error satisfies the builtin error interface
func (CircuitBreakers_Thresholds_RetryBudgetValidationError) ErrorName ¶
func (e CircuitBreakers_Thresholds_RetryBudgetValidationError) ErrorName() string
ErrorName returns error name.
func (CircuitBreakers_Thresholds_RetryBudgetValidationError) Field ¶
func (e CircuitBreakers_Thresholds_RetryBudgetValidationError) Field() string
Field function returns field value.
func (CircuitBreakers_Thresholds_RetryBudgetValidationError) Key ¶
func (e CircuitBreakers_Thresholds_RetryBudgetValidationError) Key() bool
Key function returns key value.
func (CircuitBreakers_Thresholds_RetryBudgetValidationError) Reason ¶
func (e CircuitBreakers_Thresholds_RetryBudgetValidationError) Reason() string
Reason function returns reason value.
type Cluster ¶
type Cluster struct { // Configuration to use different transport sockets for different endpoints. // The entry of “envoy.transport_socket_match“ in the // :ref:`LbEndpoint.Metadata <envoy_v3_api_field_config.endpoint.v3.LbEndpoint.metadata>` // is used to match against the transport sockets as they appear in the list. The first // :ref:`match <envoy_v3_api_msg_config.cluster.v3.Cluster.TransportSocketMatch>` is used. // For example, with the following match // // .. code-block:: yaml // // transport_socket_matches: // - name: "enableMTLS" // match: // acceptMTLS: true // transport_socket: // name: envoy.transport_sockets.tls // config: { ... } # tls socket configuration // - name: "defaultToPlaintext" // match: {} // transport_socket: // name: envoy.transport_sockets.raw_buffer // // Connections to the endpoints whose metadata value under “envoy.transport_socket_match“ // having "acceptMTLS"/"true" key/value pair use the "enableMTLS" socket configuration. // // If a :ref:`socket match <envoy_v3_api_msg_config.cluster.v3.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_match“ 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. // // This field can be used to specify custom transport socket configurations for health // checks by adding matching key/value pairs in a health check's // :ref:`transport socket match criteria <envoy_v3_api_field_config.core.v3.HealthCheck.transport_socket_match_criteria>` field. // // [#comment: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_v3_api_field_config.cluster.v3.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 for observability. This name is used // emitting stats for the cluster and access logging the cluster name. This will appear as // additional information in configuration dumps of a cluster's current status as // :ref:`observability_name <envoy_v3_api_field_admin.v3.ClusterStatus.observability_name>` // and as an additional tag "upstream_cluster.name" while tracing. Note: 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 assignable 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. // If not set, a default value of 5s will be used. ConnectTimeout *duration.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 *wrappers.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 `` /* 132-byte string literal not displayed */ // Setting this is required for specifying members of // :ref:`STATIC<envoy_v3_api_enum_value_config.cluster.v3.Cluster.DiscoveryType.STATIC>`, // :ref:`STRICT_DNS<envoy_v3_api_enum_value_config.cluster.v3.Cluster.DiscoveryType.STRICT_DNS>` // or :ref:`LOGICAL_DNS<envoy_v3_api_enum_value_config.cluster.v3.Cluster.DiscoveryType.LOGICAL_DNS>` clusters. // This field supersedes the “hosts“ field in the v2 API. // // .. attention:: // // Setting this allows non-EDS cluster types to contain embedded EDS equivalent // :ref:`endpoint assignments<envoy_v3_api_msg_config.endpoint.v3.ClusterLoadAssignment>`. // LoadAssignment *v31.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 []*v32.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. // // .. attention:: // This field has been deprecated in favor of the :ref:`max_requests_per_connection <envoy_v3_api_field_config.core.v3.HttpProtocolOptions.max_requests_per_connection>` field. // // Deprecated: Do not use. MaxRequestsPerConnection *wrappers.UInt32Value `` /* 137-byte string literal not displayed */ // Optional :ref:`circuit breaking <arch_overview_circuit_break>` for the cluster. CircuitBreakers *CircuitBreakers `protobuf:"bytes,10,opt,name=circuit_breakers,json=circuitBreakers,proto3" json:"circuit_breakers,omitempty"` // HTTP protocol options that are applied only to upstream HTTP connections. // These options apply to all HTTP versions. // This has been deprecated in favor of // :ref:`upstream_http_protocol_options <envoy_v3_api_field_extensions.upstreams.http.v3.HttpProtocolOptions.upstream_http_protocol_options>` // in the :ref:`http_protocol_options <envoy_v3_api_msg_extensions.upstreams.http.v3.HttpProtocolOptions>` message. // upstream_http_protocol_options can be set via the cluster's // :ref:`extension_protocol_options<envoy_v3_api_field_config.cluster.v3.Cluster.typed_extension_protocol_options>`. // See :ref:`upstream_http_protocol_options // <envoy_v3_api_field_extensions.upstreams.http.v3.HttpProtocolOptions.upstream_http_protocol_options>` // for example usage. // // Deprecated: Do not use. UpstreamHttpProtocolOptions *v32.UpstreamHttpProtocolOptions `` /* 147-byte string literal not displayed */ // Additional options when handling HTTP requests upstream. These options will be applicable to // both HTTP1 and HTTP2 requests. // This has been deprecated in favor of // :ref:`common_http_protocol_options <envoy_v3_api_field_extensions.upstreams.http.v3.HttpProtocolOptions.common_http_protocol_options>` // in the :ref:`http_protocol_options <envoy_v3_api_msg_extensions.upstreams.http.v3.HttpProtocolOptions>` message. // common_http_protocol_options can be set via the cluster's // :ref:`extension_protocol_options<envoy_v3_api_field_config.cluster.v3.Cluster.typed_extension_protocol_options>`. // See :ref:`upstream_http_protocol_options // <envoy_v3_api_field_extensions.upstreams.http.v3.HttpProtocolOptions.upstream_http_protocol_options>` // for example usage. // // Deprecated: Do not use. CommonHttpProtocolOptions *v32.HttpProtocolOptions `` /* 141-byte string literal not displayed */ // Additional options when handling HTTP1 requests. // This has been deprecated in favor of http_protocol_options fields in the // :ref:`http_protocol_options <envoy_v3_api_msg_extensions.upstreams.http.v3.HttpProtocolOptions>` message. // http_protocol_options can be set via the cluster's // :ref:`extension_protocol_options<envoy_v3_api_field_config.cluster.v3.Cluster.typed_extension_protocol_options>`. // See :ref:`upstream_http_protocol_options // <envoy_v3_api_field_extensions.upstreams.http.v3.HttpProtocolOptions.upstream_http_protocol_options>` // for example usage. // // Deprecated: Do not use. HttpProtocolOptions *v32.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. // This has been deprecated in favor of http2_protocol_options fields in the // :ref:`http_protocol_options <envoy_v3_api_msg_extensions.upstreams.http.v3.HttpProtocolOptions>` // message. http2_protocol_options can be set via the cluster's // :ref:`extension_protocol_options<envoy_v3_api_field_config.cluster.v3.Cluster.typed_extension_protocol_options>`. // See :ref:`upstream_http_protocol_options // <envoy_v3_api_field_extensions.upstreams.http.v3.HttpProtocolOptions.upstream_http_protocol_options>` // for example usage. // // Deprecated: Do not use. Http2ProtocolOptions *v32.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. // [#next-major-version: make this a list of typed extensions.] TypedExtensionProtocolOptions map[string]*any.Any `` /* 241-byte string literal not displayed */ // If the DNS refresh rate is specified and the cluster type is either // :ref:`STRICT_DNS<envoy_v3_api_enum_value_config.cluster.v3.Cluster.DiscoveryType.STRICT_DNS>`, // or :ref:`LOGICAL_DNS<envoy_v3_api_enum_value_config.cluster.v3.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_v3_api_enum_value_config.cluster.v3.Cluster.DiscoveryType.STRICT_DNS>` // and :ref:`LOGICAL_DNS<envoy_v3_api_enum_value_config.cluster.v3.Cluster.DiscoveryType.LOGICAL_DNS>` // this setting is ignored. DnsRefreshRate *duration.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_v3_api_enum_value_config.cluster.v3.Cluster.DiscoveryType.STRICT_DNS>`, // or :ref:`LOGICAL_DNS<envoy_v3_api_enum_value_config.cluster.v3.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_v3_api_enum_value_config.cluster.v3.Cluster.DiscoveryType.STRICT_DNS>` and // :ref:`LOGICAL_DNS<envoy_v3_api_enum_value_config.cluster.v3.Cluster.DiscoveryType.LOGICAL_DNS>` this setting is // ignored. 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_v3_api_enum_value_config.cluster.v3.Cluster.DnsLookupFamily.AUTO>`. DnsLookupFamily Cluster_DnsLookupFamily `` /* 163-byte string literal not displayed */ // If DNS resolvers are specified and the cluster type is either // :ref:`STRICT_DNS<envoy_v3_api_enum_value_config.cluster.v3.Cluster.DiscoveryType.STRICT_DNS>`, // or :ref:`LOGICAL_DNS<envoy_v3_api_enum_value_config.cluster.v3.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_v3_api_enum_value_config.cluster.v3.Cluster.DiscoveryType.STRICT_DNS>` // and :ref:`LOGICAL_DNS<envoy_v3_api_enum_value_config.cluster.v3.Cluster.DiscoveryType.LOGICAL_DNS>` // this setting is ignored. // This field is deprecated in favor of “dns_resolution_config“ // which aggregates all of the DNS resolver configuration in a single message. // // Deprecated: Do not use. DnsResolvers []*v32.Address `protobuf:"bytes,18,rep,name=dns_resolvers,json=dnsResolvers,proto3" json:"dns_resolvers,omitempty"` // Always use TCP queries instead of UDP queries for DNS lookups. // This field is deprecated in favor of “dns_resolution_config“ // which aggregates all of the DNS resolver configuration in a single message. // // Deprecated: Do not use. UseTcpForDnsLookups bool `` /* 126-byte string literal not displayed */ // DNS resolution configuration which includes the underlying dns resolver addresses and options. // This field is deprecated in favor of // :ref:`typed_dns_resolver_config <envoy_v3_api_field_config.cluster.v3.Cluster.typed_dns_resolver_config>`. // // Deprecated: Do not use. DnsResolutionConfig *v32.DnsResolutionConfig `protobuf:"bytes,53,opt,name=dns_resolution_config,json=dnsResolutionConfig,proto3" json:"dns_resolution_config,omitempty"` // DNS resolver type configuration extension. This extension can be used to configure c-ares, apple, // or any other DNS resolver types and the related parameters. // For example, an object of // :ref:`CaresDnsResolverConfig <envoy_v3_api_msg_extensions.network.dns_resolver.cares.v3.CaresDnsResolverConfig>` // can be packed into this “typed_dns_resolver_config“. This configuration replaces the // :ref:`dns_resolution_config <envoy_v3_api_field_config.cluster.v3.Cluster.dns_resolution_config>` // configuration. // During the transition period when both “dns_resolution_config“ and “typed_dns_resolver_config“ exists, // when “typed_dns_resolver_config“ is in place, Envoy will use it and ignore “dns_resolution_config“. // When “typed_dns_resolver_config“ is missing, the default behavior is in place. // [#extension-category: envoy.network.dns_resolver] TypedDnsResolverConfig *v32.TypedExtensionConfig `` /* 132-byte string literal not displayed */ // Optional configuration for having cluster readiness block on warm-up. Currently, only applicable for // :ref:`STRICT_DNS<envoy_v3_api_enum_value_config.cluster.v3.Cluster.DiscoveryType.STRICT_DNS>`, // or :ref:`LOGICAL_DNS<envoy_v3_api_enum_value_config.cluster.v3.Cluster.DiscoveryType.LOGICAL_DNS>`. // If true, cluster readiness blocks on warm-up. If false, the cluster will complete // initialization whether or not warm-up has completed. Defaults to true. WaitForWarmOnInit *wrappers.BoolValue `protobuf:"bytes,54,opt,name=wait_for_warm_on_init,json=waitForWarmOnInit,proto3" json:"wait_for_warm_on_init,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 *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_v3_api_enum_value_config.cluster.v3.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_v3_api_enum_value_config.cluster.v3.Cluster.DiscoveryType.ORIGINAL_DST>` // this setting is ignored. CleanupInterval *duration.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 *v32.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_v3_api_enum_value_config.cluster.v3.Cluster.LbPolicy.RING_HASH>`, // :ref:`MAGLEV<envoy_v3_api_enum_value_config.cluster.v3.Cluster.LbPolicy.MAGLEV>` and // :ref:`LEAST_REQUEST<envoy_v3_api_enum_value_config.cluster.v3.Cluster.LbPolicy.LEAST_REQUEST>` // has additional configuration options. // Specifying ring_hash_lb_config or maglev_lb_config or least_request_lb_config without setting the corresponding // LbPolicy will generate an error at runtime. // // Types that are assignable to LbConfig: // *Cluster_RingHashLbConfig_ // *Cluster_MaglevLbConfig_ // *Cluster_OriginalDstLbConfig_ // *Cluster_LeastRequestLbConfig_ // *Cluster_RoundRobinLbConfig_ 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 “envoy.transport_sockets.tls“ and // :ref:`UpstreamTlsContexts <envoy_v3_api_msg_extensions.transport_sockets.tls.v3.UpstreamTlsContext>` in the “typed_config“. // If no transport socket configuration is specified, new connections // will be set up with plaintext. TransportSocket *v32.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.filters.http.router“. Metadata *v32.Metadata `protobuf:"bytes,25,opt,name=metadata,proto3" json:"metadata,omitempty"` // Determines how Envoy selects the protocol used to speak to upstream hosts. // This has been deprecated in favor of setting explicit protocol selection // in the :ref:`http_protocol_options // <envoy_v3_api_msg_extensions.upstreams.http.v3.HttpProtocolOptions>` message. // http_protocol_options can be set via the cluster's // :ref:`extension_protocol_options<envoy_v3_api_field_config.cluster.v3.Cluster.typed_extension_protocol_options>`. // // Deprecated: Do not use. ProtocolSelection Cluster_ClusterProtocolSelection `` /* 176-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 set to true, Envoy will ignore the health value of a host when processing its removal // from service discovery. This means that if active health checking is used, Envoy will *not* // wait for the endpoint to go unhealthy before removing it. IgnoreHealthOnHostRemoval bool `` /* 144-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 []*Filter `protobuf:"bytes,40,rep,name=filters,proto3" json:"filters,omitempty"` // If this field is set and is supported by the client, it will supersede the value of // :ref:`lb_policy<envoy_v3_api_field_config.cluster.v3.Cluster.lb_policy>`. 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 *v32.ConfigSource `protobuf:"bytes,42,opt,name=lrs_server,json=lrsServer,proto3" json:"lrs_server,omitempty"` // If track_timeout_budgets is true, the :ref:`timeout budget histograms // <config_cluster_manager_cluster_stats_timeout_budgets>` will be published for each // request. These show what percentage of a request's per try and global timeout was used. A value // of 0 would indicate that none of the timeout was used or that the timeout was infinite. A value // of 100 would indicate that the request took the entirety of the timeout given to it. // // .. attention:: // // This field has been deprecated in favor of “timeout_budgets“, part of // :ref:`track_cluster_stats <envoy_v3_api_field_config.cluster.v3.Cluster.track_cluster_stats>`. // // Deprecated: Do not use. TrackTimeoutBudgets bool `protobuf:"varint,47,opt,name=track_timeout_budgets,json=trackTimeoutBudgets,proto3" json:"track_timeout_budgets,omitempty"` // Optional customization and configuration of upstream connection pool, and upstream type. // // Currently this field only applies for HTTP traffic but is designed for eventual use for custom // TCP upstreams. // // For HTTP traffic, Envoy will generally take downstream HTTP and send it upstream as upstream // HTTP, using the http connection pool and the codec from “http2_protocol_options“ // // For routes where CONNECT termination is configured, Envoy will take downstream CONNECT // requests and forward the CONNECT payload upstream over raw TCP using the tcp connection pool. // // The default pool used is the generic connection pool which creates the HTTP upstream for most // HTTP requests, and the TCP upstream if CONNECT termination is configured. // // If users desire custom connection pool or upstream behavior, for example terminating // CONNECT only if a custom filter indicates it is appropriate, the custom factories // can be registered and configured here. // [#extension-category: envoy.upstreams] UpstreamConfig *v32.TypedExtensionConfig `protobuf:"bytes,48,opt,name=upstream_config,json=upstreamConfig,proto3" json:"upstream_config,omitempty"` // Configuration to track optional cluster stats. TrackClusterStats *TrackClusterStats `protobuf:"bytes,49,opt,name=track_cluster_stats,json=trackClusterStats,proto3" json:"track_cluster_stats,omitempty"` // Preconnect configuration for this cluster. PreconnectPolicy *Cluster_PreconnectPolicy `protobuf:"bytes,50,opt,name=preconnect_policy,json=preconnectPolicy,proto3" json:"preconnect_policy,omitempty"` // If “connection_pool_per_downstream_connection“ is true, the cluster will use a separate // connection pool for every downstream connection ConnectionPoolPerDownstreamConnection bool `` /* 180-byte string literal not displayed */ // contains filtered or unexported fields }
Configuration for a single upstream cluster. [#next-free-field: 57]
func (*Cluster) Descriptor
deprecated
func (*Cluster) GetAltStatName ¶
func (*Cluster) GetCircuitBreakers ¶
func (x *Cluster) GetCircuitBreakers() *CircuitBreakers
func (*Cluster) GetCleanupInterval ¶
func (*Cluster) GetCloseConnectionsOnHostHealthFailure ¶
func (*Cluster) GetClusterDiscoveryType ¶
func (m *Cluster) GetClusterDiscoveryType() isCluster_ClusterDiscoveryType
func (*Cluster) GetClusterType ¶
func (x *Cluster) GetClusterType() *Cluster_CustomClusterType
func (*Cluster) GetCommonHttpProtocolOptions
deprecated
func (x *Cluster) GetCommonHttpProtocolOptions() *v32.HttpProtocolOptions
Deprecated: Do not use.
func (*Cluster) GetCommonLbConfig ¶
func (x *Cluster) GetCommonLbConfig() *Cluster_CommonLbConfig
func (*Cluster) GetConnectTimeout ¶
func (*Cluster) GetConnectionPoolPerDownstreamConnection ¶
func (*Cluster) GetDnsFailureRefreshRate ¶
func (x *Cluster) GetDnsFailureRefreshRate() *Cluster_RefreshRate
func (*Cluster) GetDnsLookupFamily ¶
func (x *Cluster) GetDnsLookupFamily() Cluster_DnsLookupFamily
func (*Cluster) GetDnsRefreshRate ¶
func (*Cluster) GetDnsResolutionConfig
deprecated
func (x *Cluster) GetDnsResolutionConfig() *v32.DnsResolutionConfig
Deprecated: Do not use.
func (*Cluster) GetDnsResolvers
deprecated
func (*Cluster) GetEdsClusterConfig ¶
func (x *Cluster) GetEdsClusterConfig() *Cluster_EdsClusterConfig
func (*Cluster) GetFilters ¶
func (*Cluster) GetHealthChecks ¶
func (x *Cluster) GetHealthChecks() []*v32.HealthCheck
func (*Cluster) GetHttp2ProtocolOptions
deprecated
func (x *Cluster) GetHttp2ProtocolOptions() *v32.Http2ProtocolOptions
Deprecated: Do not use.
func (*Cluster) GetHttpProtocolOptions
deprecated
func (x *Cluster) GetHttpProtocolOptions() *v32.Http1ProtocolOptions
Deprecated: Do not use.
func (*Cluster) GetIgnoreHealthOnHostRemoval ¶
func (*Cluster) GetLbConfig ¶
func (m *Cluster) GetLbConfig() isCluster_LbConfig
func (*Cluster) GetLbPolicy ¶
func (x *Cluster) GetLbPolicy() Cluster_LbPolicy
func (*Cluster) GetLbSubsetConfig ¶
func (x *Cluster) GetLbSubsetConfig() *Cluster_LbSubsetConfig
func (*Cluster) GetLeastRequestLbConfig ¶
func (x *Cluster) GetLeastRequestLbConfig() *Cluster_LeastRequestLbConfig
func (*Cluster) GetLoadAssignment ¶
func (x *Cluster) GetLoadAssignment() *v31.ClusterLoadAssignment
func (*Cluster) GetLoadBalancingPolicy ¶
func (x *Cluster) GetLoadBalancingPolicy() *LoadBalancingPolicy
func (*Cluster) GetLrsServer ¶
func (x *Cluster) GetLrsServer() *v32.ConfigSource
func (*Cluster) GetMaglevLbConfig ¶
func (x *Cluster) GetMaglevLbConfig() *Cluster_MaglevLbConfig
func (*Cluster) GetMaxRequestsPerConnection
deprecated
func (x *Cluster) GetMaxRequestsPerConnection() *wrappers.UInt32Value
Deprecated: Do not use.
func (*Cluster) GetMetadata ¶
func (*Cluster) GetOriginalDstLbConfig ¶
func (x *Cluster) GetOriginalDstLbConfig() *Cluster_OriginalDstLbConfig
func (*Cluster) GetOutlierDetection ¶
func (x *Cluster) GetOutlierDetection() *OutlierDetection
func (*Cluster) GetPerConnectionBufferLimitBytes ¶
func (x *Cluster) GetPerConnectionBufferLimitBytes() *wrappers.UInt32Value
func (*Cluster) GetPreconnectPolicy ¶
func (x *Cluster) GetPreconnectPolicy() *Cluster_PreconnectPolicy
func (*Cluster) GetProtocolSelection
deprecated
func (x *Cluster) GetProtocolSelection() Cluster_ClusterProtocolSelection
Deprecated: Do not use.
func (*Cluster) GetRespectDnsTtl ¶
func (*Cluster) GetRingHashLbConfig ¶
func (x *Cluster) GetRingHashLbConfig() *Cluster_RingHashLbConfig
func (*Cluster) GetRoundRobinLbConfig ¶
func (x *Cluster) GetRoundRobinLbConfig() *Cluster_RoundRobinLbConfig
func (*Cluster) GetTrackClusterStats ¶
func (x *Cluster) GetTrackClusterStats() *TrackClusterStats
func (*Cluster) GetTrackTimeoutBudgets
deprecated
func (*Cluster) GetTransportSocket ¶
func (x *Cluster) GetTransportSocket() *v32.TransportSocket
func (*Cluster) GetTransportSocketMatches ¶
func (x *Cluster) GetTransportSocketMatches() []*Cluster_TransportSocketMatch
func (*Cluster) GetType ¶
func (x *Cluster) GetType() Cluster_DiscoveryType
func (*Cluster) GetTypedDnsResolverConfig ¶
func (x *Cluster) GetTypedDnsResolverConfig() *v32.TypedExtensionConfig
func (*Cluster) GetTypedExtensionProtocolOptions ¶
func (*Cluster) GetUpstreamBindConfig ¶
func (x *Cluster) GetUpstreamBindConfig() *v32.BindConfig
func (*Cluster) GetUpstreamConfig ¶
func (x *Cluster) GetUpstreamConfig() *v32.TypedExtensionConfig
func (*Cluster) GetUpstreamConnectionOptions ¶
func (x *Cluster) GetUpstreamConnectionOptions() *UpstreamConnectionOptions
func (*Cluster) GetUpstreamHttpProtocolOptions
deprecated
func (x *Cluster) GetUpstreamHttpProtocolOptions() *v32.UpstreamHttpProtocolOptions
Deprecated: Do not use.
func (*Cluster) GetUseTcpForDnsLookups
deprecated
func (*Cluster) GetWaitForWarmOnInit ¶
func (*Cluster) ProtoMessage ¶
func (*Cluster) ProtoMessage()
func (*Cluster) ProtoReflect ¶
func (x *Cluster) ProtoReflect() protoreflect.Message
func (*Cluster) Validate ¶
Validate checks the field values on Cluster with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Cluster) ValidateAll ¶
ValidateAll checks the field values on Cluster with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ClusterMultiError, or nil if none found.
type ClusterCollection ¶
type ClusterCollection struct { Entries *v3.CollectionEntry `protobuf:"bytes,1,opt,name=entries,proto3" json:"entries,omitempty"` // contains filtered or unexported fields }
Cluster list collections. Entries are “Cluster“ resources or references. [#not-implemented-hide:]
func (*ClusterCollection) Descriptor
deprecated
func (*ClusterCollection) Descriptor() ([]byte, []int)
Deprecated: Use ClusterCollection.ProtoReflect.Descriptor instead.
func (*ClusterCollection) GetEntries ¶
func (x *ClusterCollection) GetEntries() *v3.CollectionEntry
func (*ClusterCollection) ProtoMessage ¶
func (*ClusterCollection) ProtoMessage()
func (*ClusterCollection) ProtoReflect ¶
func (x *ClusterCollection) ProtoReflect() protoreflect.Message
func (*ClusterCollection) Reset ¶
func (x *ClusterCollection) Reset()
func (*ClusterCollection) String ¶
func (x *ClusterCollection) String() string
func (*ClusterCollection) Validate ¶
func (m *ClusterCollection) Validate() error
Validate checks the field values on ClusterCollection with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ClusterCollection) ValidateAll ¶
func (m *ClusterCollection) ValidateAll() error
ValidateAll checks the field values on ClusterCollection with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ClusterCollectionMultiError, or nil if none found.
type ClusterCollectionMultiError ¶
type ClusterCollectionMultiError []error
ClusterCollectionMultiError is an error wrapping multiple validation errors returned by ClusterCollection.ValidateAll() if the designated constraints aren't met.
func (ClusterCollectionMultiError) AllErrors ¶
func (m ClusterCollectionMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ClusterCollectionMultiError) Error ¶
func (m ClusterCollectionMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ClusterCollectionValidationError ¶
type ClusterCollectionValidationError struct {
// contains filtered or unexported fields
}
ClusterCollectionValidationError is the validation error returned by ClusterCollection.Validate if the designated constraints aren't met.
func (ClusterCollectionValidationError) Cause ¶
func (e ClusterCollectionValidationError) Cause() error
Cause function returns cause value.
func (ClusterCollectionValidationError) Error ¶
func (e ClusterCollectionValidationError) Error() string
Error satisfies the builtin error interface
func (ClusterCollectionValidationError) ErrorName ¶
func (e ClusterCollectionValidationError) ErrorName() string
ErrorName returns error name.
func (ClusterCollectionValidationError) Field ¶
func (e ClusterCollectionValidationError) Field() string
Field function returns field value.
func (ClusterCollectionValidationError) Key ¶
func (e ClusterCollectionValidationError) Key() bool
Key function returns key value.
func (ClusterCollectionValidationError) Reason ¶
func (e ClusterCollectionValidationError) Reason() string
Reason function returns reason value.
type ClusterMultiError ¶
type ClusterMultiError []error
ClusterMultiError is an error wrapping multiple validation errors returned by Cluster.ValidateAll() if the designated constraints aren't met.
func (ClusterMultiError) AllErrors ¶
func (m ClusterMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ClusterMultiError) Error ¶
func (m ClusterMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
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_v3_api_field_config.cluster.v3.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) Descriptor ¶
func (Cluster_ClusterProtocolSelection) Descriptor() protoreflect.EnumDescriptor
func (Cluster_ClusterProtocolSelection) Enum ¶
func (x Cluster_ClusterProtocolSelection) Enum() *Cluster_ClusterProtocolSelection
func (Cluster_ClusterProtocolSelection) EnumDescriptor
deprecated
func (Cluster_ClusterProtocolSelection) EnumDescriptor() ([]byte, []int)
Deprecated: Use Cluster_ClusterProtocolSelection.Descriptor instead.
func (Cluster_ClusterProtocolSelection) Number ¶
func (x Cluster_ClusterProtocolSelection) Number() protoreflect.EnumNumber
func (Cluster_ClusterProtocolSelection) String ¶
func (x Cluster_ClusterProtocolSelection) String() string
func (Cluster_ClusterProtocolSelection) Type ¶
func (Cluster_ClusterProtocolSelection) Type() protoreflect.EnumType
type Cluster_ClusterType ¶
type Cluster_ClusterType struct { // The custom cluster type. ClusterType *Cluster_CustomClusterType `protobuf:"bytes,38,opt,name=cluster_type,json=clusterType,proto3,oneof"` }
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 *v33.Percent `` /* 126-byte string literal not displayed */ // Types that are assignable 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 *duration.Duration `protobuf:"bytes,4,opt,name=update_merge_window,json=updateMergeWindow,proto3" json:"update_merge_window,omitempty"` // If set to true, Envoy will :ref:`exclude <arch_overview_load_balancing_excluded>` 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. 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 */ // Common Configuration for all consistent hashing load balancers (MaglevLb, RingHashLb, etc.) ConsistentHashingLbConfig *Cluster_CommonLbConfig_ConsistentHashingLbConfig `` /* 140-byte string literal not displayed */ // This controls what hosts are considered valid when using // :ref:`host overrides <arch_overview_load_balancing_override_host>`, which is used by some // filters to modify the load balancing decision. // // If this is unset then [UNKNOWN, HEALTHY, DEGRADED] will be applied by default. If this is // set with an empty set of statuses then host overrides will be ignored by the load balancing. OverrideHostStatus *v32.HealthStatusSet `protobuf:"bytes,8,opt,name=override_host_status,json=overrideHostStatus,proto3" json:"override_host_status,omitempty"` // contains filtered or unexported fields }
Common configuration for all load balancer implementations. [#next-free-field: 9]
func (*Cluster_CommonLbConfig) Descriptor
deprecated
func (*Cluster_CommonLbConfig) Descriptor() ([]byte, []int)
Deprecated: Use Cluster_CommonLbConfig.ProtoReflect.Descriptor instead.
func (*Cluster_CommonLbConfig) GetCloseConnectionsOnHostSetChange ¶
func (x *Cluster_CommonLbConfig) GetCloseConnectionsOnHostSetChange() bool
func (*Cluster_CommonLbConfig) GetConsistentHashingLbConfig ¶
func (x *Cluster_CommonLbConfig) GetConsistentHashingLbConfig() *Cluster_CommonLbConfig_ConsistentHashingLbConfig
func (*Cluster_CommonLbConfig) GetHealthyPanicThreshold ¶
func (x *Cluster_CommonLbConfig) GetHealthyPanicThreshold() *v33.Percent
func (*Cluster_CommonLbConfig) GetIgnoreNewHostsUntilFirstHc ¶
func (x *Cluster_CommonLbConfig) GetIgnoreNewHostsUntilFirstHc() bool
func (*Cluster_CommonLbConfig) GetLocalityConfigSpecifier ¶
func (m *Cluster_CommonLbConfig) GetLocalityConfigSpecifier() isCluster_CommonLbConfig_LocalityConfigSpecifier
func (*Cluster_CommonLbConfig) GetLocalityWeightedLbConfig ¶
func (x *Cluster_CommonLbConfig) GetLocalityWeightedLbConfig() *Cluster_CommonLbConfig_LocalityWeightedLbConfig
func (*Cluster_CommonLbConfig) GetOverrideHostStatus ¶
func (x *Cluster_CommonLbConfig) GetOverrideHostStatus() *v32.HealthStatusSet
func (*Cluster_CommonLbConfig) GetUpdateMergeWindow ¶
func (x *Cluster_CommonLbConfig) GetUpdateMergeWindow() *duration.Duration
func (*Cluster_CommonLbConfig) GetZoneAwareLbConfig ¶
func (x *Cluster_CommonLbConfig) GetZoneAwareLbConfig() *Cluster_CommonLbConfig_ZoneAwareLbConfig
func (*Cluster_CommonLbConfig) ProtoMessage ¶
func (*Cluster_CommonLbConfig) ProtoMessage()
func (*Cluster_CommonLbConfig) ProtoReflect ¶
func (x *Cluster_CommonLbConfig) ProtoReflect() protoreflect.Message
func (*Cluster_CommonLbConfig) Reset ¶
func (x *Cluster_CommonLbConfig) Reset()
func (*Cluster_CommonLbConfig) String ¶
func (x *Cluster_CommonLbConfig) String() string
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, the first error encountered is returned, or nil if there are no violations.
func (*Cluster_CommonLbConfig) ValidateAll ¶
func (m *Cluster_CommonLbConfig) ValidateAll() error
ValidateAll checks the field values on Cluster_CommonLbConfig with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Cluster_CommonLbConfigMultiError, or nil if none found.
type Cluster_CommonLbConfigMultiError ¶
type Cluster_CommonLbConfigMultiError []error
Cluster_CommonLbConfigMultiError is an error wrapping multiple validation errors returned by Cluster_CommonLbConfig.ValidateAll() if the designated constraints aren't met.
func (Cluster_CommonLbConfigMultiError) AllErrors ¶
func (m Cluster_CommonLbConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Cluster_CommonLbConfigMultiError) Error ¶
func (m Cluster_CommonLbConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
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 ¶
func (e Cluster_CommonLbConfigValidationError) Cause() error
Cause function returns cause value.
func (Cluster_CommonLbConfigValidationError) Error ¶
func (e Cluster_CommonLbConfigValidationError) Error() string
Error satisfies the builtin error interface
func (Cluster_CommonLbConfigValidationError) ErrorName ¶
func (e Cluster_CommonLbConfigValidationError) ErrorName() string
ErrorName returns error name.
func (Cluster_CommonLbConfigValidationError) Field ¶
func (e Cluster_CommonLbConfigValidationError) Field() string
Field function returns field value.
func (Cluster_CommonLbConfigValidationError) Key ¶
func (e Cluster_CommonLbConfigValidationError) Key() bool
Key function returns key value.
func (Cluster_CommonLbConfigValidationError) Reason ¶
func (e Cluster_CommonLbConfigValidationError) Reason() string
Reason function returns reason value.
type Cluster_CommonLbConfig_ConsistentHashingLbConfig ¶
type Cluster_CommonLbConfig_ConsistentHashingLbConfig struct { // If set to “true“, the cluster will use hostname instead of the resolved // address as the key to consistently hash to an upstream host. Only valid for StrictDNS clusters with hostnames which resolve to a single IP address. UseHostnameForHashing bool `` /* 129-byte string literal not displayed */ // Configures percentage of average cluster load to bound per upstream host. For example, with a value of 150 // no upstream host will get a load more than 1.5 times the average load of all the hosts in the cluster. // If not specified, the load is not bounded for any upstream host. Typical value for this parameter is between 120 and 200. // Minimum is 100. // // Applies to both Ring Hash and Maglev load balancers. // // This is implemented based on the method described in the paper https://arxiv.org/abs/1608.01350. For the specified // “hash_balance_factor“, requests to any upstream host are capped at “hash_balance_factor/100“ times the average number of requests // across the cluster. When a request arrives for an upstream host that is currently serving at its max capacity, linear probing // is used to identify an eligible host. Further, the linear probe is implemented using a random jump in hosts ring/table to identify // the eligible host (this technique is as described in the paper https://arxiv.org/abs/1908.08762 - the random jump avoids the // cascading overflow effect when choosing the next host in the ring/table). // // If weights are specified on the hosts, they are respected. // // This is an O(N) algorithm, unlike other load balancers. Using a lower “hash_balance_factor“ results in more hosts // being probed, so use a higher value if you require better performance. HashBalanceFactor *wrappers.UInt32Value `protobuf:"bytes,2,opt,name=hash_balance_factor,json=hashBalanceFactor,proto3" json:"hash_balance_factor,omitempty"` // contains filtered or unexported fields }
Common Configuration for all consistent hashing load balancers (MaglevLb, RingHashLb, etc.)
func (*Cluster_CommonLbConfig_ConsistentHashingLbConfig) Descriptor
deprecated
func (*Cluster_CommonLbConfig_ConsistentHashingLbConfig) Descriptor() ([]byte, []int)
Deprecated: Use Cluster_CommonLbConfig_ConsistentHashingLbConfig.ProtoReflect.Descriptor instead.
func (*Cluster_CommonLbConfig_ConsistentHashingLbConfig) GetHashBalanceFactor ¶
func (x *Cluster_CommonLbConfig_ConsistentHashingLbConfig) GetHashBalanceFactor() *wrappers.UInt32Value
func (*Cluster_CommonLbConfig_ConsistentHashingLbConfig) GetUseHostnameForHashing ¶
func (x *Cluster_CommonLbConfig_ConsistentHashingLbConfig) GetUseHostnameForHashing() bool
func (*Cluster_CommonLbConfig_ConsistentHashingLbConfig) ProtoMessage ¶
func (*Cluster_CommonLbConfig_ConsistentHashingLbConfig) ProtoMessage()
func (*Cluster_CommonLbConfig_ConsistentHashingLbConfig) ProtoReflect ¶
func (x *Cluster_CommonLbConfig_ConsistentHashingLbConfig) ProtoReflect() protoreflect.Message
func (*Cluster_CommonLbConfig_ConsistentHashingLbConfig) Reset ¶
func (x *Cluster_CommonLbConfig_ConsistentHashingLbConfig) Reset()
func (*Cluster_CommonLbConfig_ConsistentHashingLbConfig) String ¶
func (x *Cluster_CommonLbConfig_ConsistentHashingLbConfig) String() string
func (*Cluster_CommonLbConfig_ConsistentHashingLbConfig) Validate ¶
func (m *Cluster_CommonLbConfig_ConsistentHashingLbConfig) Validate() error
Validate checks the field values on Cluster_CommonLbConfig_ConsistentHashingLbConfig with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Cluster_CommonLbConfig_ConsistentHashingLbConfig) ValidateAll ¶
func (m *Cluster_CommonLbConfig_ConsistentHashingLbConfig) ValidateAll() error
ValidateAll checks the field values on Cluster_CommonLbConfig_ConsistentHashingLbConfig with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Cluster_CommonLbConfig_ConsistentHashingLbConfigMultiError, or nil if none found.
type Cluster_CommonLbConfig_ConsistentHashingLbConfigMultiError ¶
type Cluster_CommonLbConfig_ConsistentHashingLbConfigMultiError []error
Cluster_CommonLbConfig_ConsistentHashingLbConfigMultiError is an error wrapping multiple validation errors returned by Cluster_CommonLbConfig_ConsistentHashingLbConfig.ValidateAll() if the designated constraints aren't met.
func (Cluster_CommonLbConfig_ConsistentHashingLbConfigMultiError) AllErrors ¶
func (m Cluster_CommonLbConfig_ConsistentHashingLbConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Cluster_CommonLbConfig_ConsistentHashingLbConfigMultiError) Error ¶
func (m Cluster_CommonLbConfig_ConsistentHashingLbConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Cluster_CommonLbConfig_ConsistentHashingLbConfigValidationError ¶
type Cluster_CommonLbConfig_ConsistentHashingLbConfigValidationError struct {
// contains filtered or unexported fields
}
Cluster_CommonLbConfig_ConsistentHashingLbConfigValidationError is the validation error returned by Cluster_CommonLbConfig_ConsistentHashingLbConfig.Validate if the designated constraints aren't met.
func (Cluster_CommonLbConfig_ConsistentHashingLbConfigValidationError) Cause ¶
func (e Cluster_CommonLbConfig_ConsistentHashingLbConfigValidationError) Cause() error
Cause function returns cause value.
func (Cluster_CommonLbConfig_ConsistentHashingLbConfigValidationError) Error ¶
func (e Cluster_CommonLbConfig_ConsistentHashingLbConfigValidationError) Error() string
Error satisfies the builtin error interface
func (Cluster_CommonLbConfig_ConsistentHashingLbConfigValidationError) ErrorName ¶
func (e Cluster_CommonLbConfig_ConsistentHashingLbConfigValidationError) ErrorName() string
ErrorName returns error name.
func (Cluster_CommonLbConfig_ConsistentHashingLbConfigValidationError) Field ¶
func (e Cluster_CommonLbConfig_ConsistentHashingLbConfigValidationError) Field() string
Field function returns field value.
func (Cluster_CommonLbConfig_ConsistentHashingLbConfigValidationError) Key ¶
Key function returns key value.
func (Cluster_CommonLbConfig_ConsistentHashingLbConfigValidationError) Reason ¶
func (e Cluster_CommonLbConfig_ConsistentHashingLbConfigValidationError) Reason() string
Reason function returns reason value.
type Cluster_CommonLbConfig_LocalityWeightedLbConfig ¶
type Cluster_CommonLbConfig_LocalityWeightedLbConfig struct {
// contains filtered or unexported fields
}
Configuration for :ref:`locality weighted load balancing <arch_overview_load_balancing_locality_weighted_lb>`
func (*Cluster_CommonLbConfig_LocalityWeightedLbConfig) Descriptor
deprecated
func (*Cluster_CommonLbConfig_LocalityWeightedLbConfig) Descriptor() ([]byte, []int)
Deprecated: Use Cluster_CommonLbConfig_LocalityWeightedLbConfig.ProtoReflect.Descriptor instead.
func (*Cluster_CommonLbConfig_LocalityWeightedLbConfig) ProtoMessage ¶
func (*Cluster_CommonLbConfig_LocalityWeightedLbConfig) ProtoMessage()
func (*Cluster_CommonLbConfig_LocalityWeightedLbConfig) ProtoReflect ¶
func (x *Cluster_CommonLbConfig_LocalityWeightedLbConfig) ProtoReflect() protoreflect.Message
func (*Cluster_CommonLbConfig_LocalityWeightedLbConfig) Reset ¶
func (x *Cluster_CommonLbConfig_LocalityWeightedLbConfig) Reset()
func (*Cluster_CommonLbConfig_LocalityWeightedLbConfig) String ¶
func (x *Cluster_CommonLbConfig_LocalityWeightedLbConfig) String() string
func (*Cluster_CommonLbConfig_LocalityWeightedLbConfig) Validate ¶
func (m *Cluster_CommonLbConfig_LocalityWeightedLbConfig) Validate() error
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, the first error encountered is returned, or nil if there are no violations.
func (*Cluster_CommonLbConfig_LocalityWeightedLbConfig) ValidateAll ¶
func (m *Cluster_CommonLbConfig_LocalityWeightedLbConfig) ValidateAll() error
ValidateAll checks the field values on Cluster_CommonLbConfig_LocalityWeightedLbConfig with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Cluster_CommonLbConfig_LocalityWeightedLbConfigMultiError, or nil if none found.
type Cluster_CommonLbConfig_LocalityWeightedLbConfigMultiError ¶
type Cluster_CommonLbConfig_LocalityWeightedLbConfigMultiError []error
Cluster_CommonLbConfig_LocalityWeightedLbConfigMultiError is an error wrapping multiple validation errors returned by Cluster_CommonLbConfig_LocalityWeightedLbConfig.ValidateAll() if the designated constraints aren't met.
func (Cluster_CommonLbConfig_LocalityWeightedLbConfigMultiError) AllErrors ¶
func (m Cluster_CommonLbConfig_LocalityWeightedLbConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Cluster_CommonLbConfig_LocalityWeightedLbConfigMultiError) Error ¶
func (m Cluster_CommonLbConfig_LocalityWeightedLbConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
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 ¶
func (e Cluster_CommonLbConfig_LocalityWeightedLbConfigValidationError) Cause() error
Cause function returns cause value.
func (Cluster_CommonLbConfig_LocalityWeightedLbConfigValidationError) Error ¶
func (e Cluster_CommonLbConfig_LocalityWeightedLbConfigValidationError) Error() string
Error satisfies the builtin error interface
func (Cluster_CommonLbConfig_LocalityWeightedLbConfigValidationError) ErrorName ¶
func (e Cluster_CommonLbConfig_LocalityWeightedLbConfigValidationError) ErrorName() string
ErrorName returns error name.
func (Cluster_CommonLbConfig_LocalityWeightedLbConfigValidationError) Field ¶
func (e Cluster_CommonLbConfig_LocalityWeightedLbConfigValidationError) Field() string
Field function returns field value.
func (Cluster_CommonLbConfig_LocalityWeightedLbConfigValidationError) Key ¶
Key function returns key value.
func (Cluster_CommonLbConfig_LocalityWeightedLbConfigValidationError) Reason ¶
func (e Cluster_CommonLbConfig_LocalityWeightedLbConfigValidationError) Reason() string
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"`
}
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 *v33.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 *wrappers.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"` // contains filtered or unexported fields }
Configuration for :ref:`zone aware routing <arch_overview_load_balancing_zone_aware_routing>`.
func (*Cluster_CommonLbConfig_ZoneAwareLbConfig) Descriptor
deprecated
func (*Cluster_CommonLbConfig_ZoneAwareLbConfig) Descriptor() ([]byte, []int)
Deprecated: Use Cluster_CommonLbConfig_ZoneAwareLbConfig.ProtoReflect.Descriptor instead.
func (*Cluster_CommonLbConfig_ZoneAwareLbConfig) GetFailTrafficOnPanic ¶
func (x *Cluster_CommonLbConfig_ZoneAwareLbConfig) GetFailTrafficOnPanic() bool
func (*Cluster_CommonLbConfig_ZoneAwareLbConfig) GetMinClusterSize ¶
func (x *Cluster_CommonLbConfig_ZoneAwareLbConfig) GetMinClusterSize() *wrappers.UInt64Value
func (*Cluster_CommonLbConfig_ZoneAwareLbConfig) GetRoutingEnabled ¶
func (x *Cluster_CommonLbConfig_ZoneAwareLbConfig) GetRoutingEnabled() *v33.Percent
func (*Cluster_CommonLbConfig_ZoneAwareLbConfig) ProtoMessage ¶
func (*Cluster_CommonLbConfig_ZoneAwareLbConfig) ProtoMessage()
func (*Cluster_CommonLbConfig_ZoneAwareLbConfig) ProtoReflect ¶
func (x *Cluster_CommonLbConfig_ZoneAwareLbConfig) ProtoReflect() protoreflect.Message
func (*Cluster_CommonLbConfig_ZoneAwareLbConfig) Reset ¶
func (x *Cluster_CommonLbConfig_ZoneAwareLbConfig) Reset()
func (*Cluster_CommonLbConfig_ZoneAwareLbConfig) String ¶
func (x *Cluster_CommonLbConfig_ZoneAwareLbConfig) String() string
func (*Cluster_CommonLbConfig_ZoneAwareLbConfig) Validate ¶
func (m *Cluster_CommonLbConfig_ZoneAwareLbConfig) Validate() error
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, the first error encountered is returned, or nil if there are no violations.
func (*Cluster_CommonLbConfig_ZoneAwareLbConfig) ValidateAll ¶
func (m *Cluster_CommonLbConfig_ZoneAwareLbConfig) ValidateAll() error
ValidateAll checks the field values on Cluster_CommonLbConfig_ZoneAwareLbConfig with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Cluster_CommonLbConfig_ZoneAwareLbConfigMultiError, or nil if none found.
type Cluster_CommonLbConfig_ZoneAwareLbConfigMultiError ¶
type Cluster_CommonLbConfig_ZoneAwareLbConfigMultiError []error
Cluster_CommonLbConfig_ZoneAwareLbConfigMultiError is an error wrapping multiple validation errors returned by Cluster_CommonLbConfig_ZoneAwareLbConfig.ValidateAll() if the designated constraints aren't met.
func (Cluster_CommonLbConfig_ZoneAwareLbConfigMultiError) AllErrors ¶
func (m Cluster_CommonLbConfig_ZoneAwareLbConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Cluster_CommonLbConfig_ZoneAwareLbConfigMultiError) Error ¶
func (m Cluster_CommonLbConfig_ZoneAwareLbConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
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 ¶
func (e Cluster_CommonLbConfig_ZoneAwareLbConfigValidationError) Cause() error
Cause function returns cause value.
func (Cluster_CommonLbConfig_ZoneAwareLbConfigValidationError) Error ¶
func (e Cluster_CommonLbConfig_ZoneAwareLbConfigValidationError) Error() string
Error satisfies the builtin error interface
func (Cluster_CommonLbConfig_ZoneAwareLbConfigValidationError) ErrorName ¶
func (e Cluster_CommonLbConfig_ZoneAwareLbConfigValidationError) ErrorName() string
ErrorName returns error name.
func (Cluster_CommonLbConfig_ZoneAwareLbConfigValidationError) Field ¶
func (e Cluster_CommonLbConfig_ZoneAwareLbConfigValidationError) Field() string
Field function returns field value.
func (Cluster_CommonLbConfig_ZoneAwareLbConfigValidationError) Key ¶
func (e Cluster_CommonLbConfig_ZoneAwareLbConfigValidationError) Key() bool
Key function returns key value.
func (Cluster_CommonLbConfig_ZoneAwareLbConfigValidationError) Reason ¶
func (e Cluster_CommonLbConfig_ZoneAwareLbConfigValidationError) Reason() string
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"`
}
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. // [#extension-category: envoy.clusters] TypedConfig *any.Any `protobuf:"bytes,2,opt,name=typed_config,json=typedConfig,proto3" json:"typed_config,omitempty"` // contains filtered or unexported fields }
Extended cluster type.
func (*Cluster_CustomClusterType) Descriptor
deprecated
func (*Cluster_CustomClusterType) Descriptor() ([]byte, []int)
Deprecated: Use Cluster_CustomClusterType.ProtoReflect.Descriptor instead.
func (*Cluster_CustomClusterType) GetName ¶
func (x *Cluster_CustomClusterType) GetName() string
func (*Cluster_CustomClusterType) GetTypedConfig ¶
func (x *Cluster_CustomClusterType) GetTypedConfig() *any.Any
func (*Cluster_CustomClusterType) ProtoMessage ¶
func (*Cluster_CustomClusterType) ProtoMessage()
func (*Cluster_CustomClusterType) ProtoReflect ¶
func (x *Cluster_CustomClusterType) ProtoReflect() protoreflect.Message
func (*Cluster_CustomClusterType) Reset ¶
func (x *Cluster_CustomClusterType) Reset()
func (*Cluster_CustomClusterType) String ¶
func (x *Cluster_CustomClusterType) String() string
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, the first error encountered is returned, or nil if there are no violations.
func (*Cluster_CustomClusterType) ValidateAll ¶
func (m *Cluster_CustomClusterType) ValidateAll() error
ValidateAll checks the field values on Cluster_CustomClusterType with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Cluster_CustomClusterTypeMultiError, or nil if none found.
type Cluster_CustomClusterTypeMultiError ¶
type Cluster_CustomClusterTypeMultiError []error
Cluster_CustomClusterTypeMultiError is an error wrapping multiple validation errors returned by Cluster_CustomClusterType.ValidateAll() if the designated constraints aren't met.
func (Cluster_CustomClusterTypeMultiError) AllErrors ¶
func (m Cluster_CustomClusterTypeMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Cluster_CustomClusterTypeMultiError) Error ¶
func (m Cluster_CustomClusterTypeMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
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 ¶
func (e Cluster_CustomClusterTypeValidationError) Cause() error
Cause function returns cause value.
func (Cluster_CustomClusterTypeValidationError) Error ¶
func (e Cluster_CustomClusterTypeValidationError) Error() string
Error satisfies the builtin error interface
func (Cluster_CustomClusterTypeValidationError) ErrorName ¶
func (e Cluster_CustomClusterTypeValidationError) ErrorName() string
ErrorName returns error name.
func (Cluster_CustomClusterTypeValidationError) Field ¶
func (e Cluster_CustomClusterTypeValidationError) Field() string
Field function returns field value.
func (Cluster_CustomClusterTypeValidationError) Key ¶
func (e Cluster_CustomClusterTypeValidationError) Key() bool
Key function returns key value.
func (Cluster_CustomClusterTypeValidationError) Reason ¶
func (e Cluster_CustomClusterTypeValidationError) Reason() string
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) Descriptor ¶
func (Cluster_DiscoveryType) Descriptor() protoreflect.EnumDescriptor
func (Cluster_DiscoveryType) Enum ¶
func (x Cluster_DiscoveryType) Enum() *Cluster_DiscoveryType
func (Cluster_DiscoveryType) EnumDescriptor
deprecated
func (Cluster_DiscoveryType) EnumDescriptor() ([]byte, []int)
Deprecated: Use Cluster_DiscoveryType.Descriptor instead.
func (Cluster_DiscoveryType) Number ¶
func (x Cluster_DiscoveryType) Number() protoreflect.EnumNumber
func (Cluster_DiscoveryType) String ¶
func (x Cluster_DiscoveryType) String() string
func (Cluster_DiscoveryType) Type ¶
func (Cluster_DiscoveryType) Type() protoreflect.EnumType
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. This is semantically equivalent to a non-existent V6_PREFERRED option. AUTO is a legacy name that is more opaque than necessary and will be deprecated in favor of V6_PREFERRED in a future major version of the API. If V4_PREFERRED is specified, the DNS resolver will first perform a lookup for addresses in the IPv4 family and fallback to a lookup for addresses in the IPv6 family. i.e., the callback target will only get v6 addresses if there were NO v4 addresses to return. If ALL is specified, the DNS resolver will perform a lookup for both IPv4 and IPv6 families, and return all resolved addresses. When this is used, Happy Eyeballs will be enabled for upstream connections. Refer to :ref:`Happy Eyeballs Support <arch_overview_happy_eyeballs>` for more information. For cluster types other than :ref:`STRICT_DNS<envoy_v3_api_enum_value_config.cluster.v3.Cluster.DiscoveryType.STRICT_DNS>` and :ref:`LOGICAL_DNS<envoy_v3_api_enum_value_config.cluster.v3.Cluster.DiscoveryType.LOGICAL_DNS>`, this setting is ignored. [#next-major-version: deprecate AUTO in favor of a V6_PREFERRED option.]
const ( Cluster_AUTO Cluster_DnsLookupFamily = 0 Cluster_V4_ONLY Cluster_DnsLookupFamily = 1 Cluster_V6_ONLY Cluster_DnsLookupFamily = 2 Cluster_V4_PREFERRED Cluster_DnsLookupFamily = 3 Cluster_ALL Cluster_DnsLookupFamily = 4 )
func (Cluster_DnsLookupFamily) Descriptor ¶
func (Cluster_DnsLookupFamily) Descriptor() protoreflect.EnumDescriptor
func (Cluster_DnsLookupFamily) Enum ¶
func (x Cluster_DnsLookupFamily) Enum() *Cluster_DnsLookupFamily
func (Cluster_DnsLookupFamily) EnumDescriptor
deprecated
func (Cluster_DnsLookupFamily) EnumDescriptor() ([]byte, []int)
Deprecated: Use Cluster_DnsLookupFamily.Descriptor instead.
func (Cluster_DnsLookupFamily) Number ¶
func (x Cluster_DnsLookupFamily) Number() protoreflect.EnumNumber
func (Cluster_DnsLookupFamily) String ¶
func (x Cluster_DnsLookupFamily) String() string
func (Cluster_DnsLookupFamily) Type ¶
func (Cluster_DnsLookupFamily) Type() protoreflect.EnumType
type Cluster_EdsClusterConfig ¶
type Cluster_EdsClusterConfig struct { // Configuration for the source of EDS updates for this Cluster. EdsConfig *v32.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. This may be a xdstp:// URL. ServiceName string `protobuf:"bytes,2,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` // contains filtered or unexported fields }
Only valid when discovery type is EDS.
func (*Cluster_EdsClusterConfig) Descriptor
deprecated
func (*Cluster_EdsClusterConfig) Descriptor() ([]byte, []int)
Deprecated: Use Cluster_EdsClusterConfig.ProtoReflect.Descriptor instead.
func (*Cluster_EdsClusterConfig) GetEdsConfig ¶
func (x *Cluster_EdsClusterConfig) GetEdsConfig() *v32.ConfigSource
func (*Cluster_EdsClusterConfig) GetServiceName ¶
func (x *Cluster_EdsClusterConfig) GetServiceName() string
func (*Cluster_EdsClusterConfig) ProtoMessage ¶
func (*Cluster_EdsClusterConfig) ProtoMessage()
func (*Cluster_EdsClusterConfig) ProtoReflect ¶
func (x *Cluster_EdsClusterConfig) ProtoReflect() protoreflect.Message
func (*Cluster_EdsClusterConfig) Reset ¶
func (x *Cluster_EdsClusterConfig) Reset()
func (*Cluster_EdsClusterConfig) String ¶
func (x *Cluster_EdsClusterConfig) String() string
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, the first error encountered is returned, or nil if there are no violations.
func (*Cluster_EdsClusterConfig) ValidateAll ¶
func (m *Cluster_EdsClusterConfig) ValidateAll() error
ValidateAll checks the field values on Cluster_EdsClusterConfig with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Cluster_EdsClusterConfigMultiError, or nil if none found.
type Cluster_EdsClusterConfigMultiError ¶
type Cluster_EdsClusterConfigMultiError []error
Cluster_EdsClusterConfigMultiError is an error wrapping multiple validation errors returned by Cluster_EdsClusterConfig.ValidateAll() if the designated constraints aren't met.
func (Cluster_EdsClusterConfigMultiError) AllErrors ¶
func (m Cluster_EdsClusterConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Cluster_EdsClusterConfigMultiError) Error ¶
func (m Cluster_EdsClusterConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
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 ¶
func (e Cluster_EdsClusterConfigValidationError) Cause() error
Cause function returns cause value.
func (Cluster_EdsClusterConfigValidationError) Error ¶
func (e Cluster_EdsClusterConfigValidationError) Error() string
Error satisfies the builtin error interface
func (Cluster_EdsClusterConfigValidationError) ErrorName ¶
func (e Cluster_EdsClusterConfigValidationError) ErrorName() string
ErrorName returns error name.
func (Cluster_EdsClusterConfigValidationError) Field ¶
func (e Cluster_EdsClusterConfigValidationError) Field() string
Field function returns field value.
func (Cluster_EdsClusterConfigValidationError) Key ¶
func (e Cluster_EdsClusterConfigValidationError) Key() bool
Key function returns key value.
func (Cluster_EdsClusterConfigValidationError) Reason ¶
func (e Cluster_EdsClusterConfigValidationError) Reason() string
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:`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 // Use the new :ref:`load_balancing_policy // <envoy_v3_api_field_config.cluster.v3.Cluster.load_balancing_policy>` field to determine the LB policy. // This has been deprecated in favor of using the :ref:`load_balancing_policy // <envoy_v3_api_field_config.cluster.v3.Cluster.load_balancing_policy>` field without // setting any value in :ref:`lb_policy<envoy_v3_api_field_config.cluster.v3.Cluster.lb_policy>`. Cluster_LOAD_BALANCING_POLICY_CONFIG Cluster_LbPolicy = 7 )
func (Cluster_LbPolicy) Descriptor ¶
func (Cluster_LbPolicy) Descriptor() protoreflect.EnumDescriptor
func (Cluster_LbPolicy) Enum ¶
func (x Cluster_LbPolicy) Enum() *Cluster_LbPolicy
func (Cluster_LbPolicy) EnumDescriptor
deprecated
func (Cluster_LbPolicy) EnumDescriptor() ([]byte, []int)
Deprecated: Use Cluster_LbPolicy.Descriptor instead.
func (Cluster_LbPolicy) Number ¶
func (x Cluster_LbPolicy) Number() protoreflect.EnumNumber
func (Cluster_LbPolicy) String ¶
func (x Cluster_LbPolicy) String() string
func (Cluster_LbPolicy) Type ¶
func (Cluster_LbPolicy) Type() protoreflect.EnumType
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_v3_api_enum_value_config.cluster.v3.Cluster.LbSubsetConfig.LbSubsetFallbackPolicy.NO_FALLBACK>`. FallbackPolicy Cluster_LbSubsetConfig_LbSubsetFallbackPolicy `` /* 179-byte string literal not displayed */ // Specifies the default subset of endpoints used during fallback if // fallback_policy is // :ref:`DEFAULT_SUBSET<envoy_v3_api_enum_value_config.cluster.v3.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_v3_api_enum_value_config.cluster.v3.Cluster.LbSubsetConfig.LbSubsetFallbackPolicy.NO_FALLBACK>`. DefaultSubset *_struct.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"` // Fallback mechanism that allows to try different route metadata until a host is found. // If load balancing process, including all its mechanisms (like // :ref:`fallback_policy<envoy_v3_api_field_config.cluster.v3.Cluster.LbSubsetConfig.fallback_policy>`) // fails to select a host, this policy decides if and how the process is repeated using another metadata. // // The value defaults to // :ref:`METADATA_NO_FALLBACK<envoy_v3_api_enum_value_config.cluster.v3.Cluster.LbSubsetConfig.LbSubsetMetadataFallbackPolicy.METADATA_NO_FALLBACK>`. MetadataFallbackPolicy Cluster_LbSubsetConfig_LbSubsetMetadataFallbackPolicy `` /* 213-byte string literal not displayed */ // contains filtered or unexported fields }
Optionally divide the endpoints in this cluster into subsets defined by endpoint metadata and selected by route and weighted cluster metadata. [#next-free-field: 9]
func (*Cluster_LbSubsetConfig) Descriptor
deprecated
func (*Cluster_LbSubsetConfig) Descriptor() ([]byte, []int)
Deprecated: Use Cluster_LbSubsetConfig.ProtoReflect.Descriptor instead.
func (*Cluster_LbSubsetConfig) GetDefaultSubset ¶
func (x *Cluster_LbSubsetConfig) GetDefaultSubset() *_struct.Struct
func (*Cluster_LbSubsetConfig) GetFallbackPolicy ¶
func (x *Cluster_LbSubsetConfig) GetFallbackPolicy() Cluster_LbSubsetConfig_LbSubsetFallbackPolicy
func (*Cluster_LbSubsetConfig) GetListAsAny ¶
func (x *Cluster_LbSubsetConfig) GetListAsAny() bool
func (*Cluster_LbSubsetConfig) GetLocalityWeightAware ¶
func (x *Cluster_LbSubsetConfig) GetLocalityWeightAware() bool
func (*Cluster_LbSubsetConfig) GetMetadataFallbackPolicy ¶ added in v3.4.0
func (x *Cluster_LbSubsetConfig) GetMetadataFallbackPolicy() Cluster_LbSubsetConfig_LbSubsetMetadataFallbackPolicy
func (*Cluster_LbSubsetConfig) GetPanicModeAny ¶
func (x *Cluster_LbSubsetConfig) GetPanicModeAny() bool
func (*Cluster_LbSubsetConfig) GetScaleLocalityWeight ¶
func (x *Cluster_LbSubsetConfig) GetScaleLocalityWeight() bool
func (*Cluster_LbSubsetConfig) GetSubsetSelectors ¶
func (x *Cluster_LbSubsetConfig) GetSubsetSelectors() []*Cluster_LbSubsetConfig_LbSubsetSelector
func (*Cluster_LbSubsetConfig) ProtoMessage ¶
func (*Cluster_LbSubsetConfig) ProtoMessage()
func (*Cluster_LbSubsetConfig) ProtoReflect ¶
func (x *Cluster_LbSubsetConfig) ProtoReflect() protoreflect.Message
func (*Cluster_LbSubsetConfig) Reset ¶
func (x *Cluster_LbSubsetConfig) Reset()
func (*Cluster_LbSubsetConfig) String ¶
func (x *Cluster_LbSubsetConfig) String() string
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, the first error encountered is returned, or nil if there are no violations.
func (*Cluster_LbSubsetConfig) ValidateAll ¶
func (m *Cluster_LbSubsetConfig) ValidateAll() error
ValidateAll checks the field values on Cluster_LbSubsetConfig with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Cluster_LbSubsetConfigMultiError, or nil if none found.
type Cluster_LbSubsetConfigMultiError ¶
type Cluster_LbSubsetConfigMultiError []error
Cluster_LbSubsetConfigMultiError is an error wrapping multiple validation errors returned by Cluster_LbSubsetConfig.ValidateAll() if the designated constraints aren't met.
func (Cluster_LbSubsetConfigMultiError) AllErrors ¶
func (m Cluster_LbSubsetConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Cluster_LbSubsetConfigMultiError) Error ¶
func (m Cluster_LbSubsetConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
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 ¶
func (e Cluster_LbSubsetConfigValidationError) Cause() error
Cause function returns cause value.
func (Cluster_LbSubsetConfigValidationError) Error ¶
func (e Cluster_LbSubsetConfigValidationError) Error() string
Error satisfies the builtin error interface
func (Cluster_LbSubsetConfigValidationError) ErrorName ¶
func (e Cluster_LbSubsetConfigValidationError) ErrorName() string
ErrorName returns error name.
func (Cluster_LbSubsetConfigValidationError) Field ¶
func (e Cluster_LbSubsetConfigValidationError) Field() string
Field function returns field value.
func (Cluster_LbSubsetConfigValidationError) Key ¶
func (e Cluster_LbSubsetConfigValidationError) Key() bool
Key function returns key value.
func (Cluster_LbSubsetConfigValidationError) Reason ¶
func (e Cluster_LbSubsetConfigValidationError) Reason() string
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) Descriptor ¶
func (Cluster_LbSubsetConfig_LbSubsetFallbackPolicy) Descriptor() protoreflect.EnumDescriptor
func (Cluster_LbSubsetConfig_LbSubsetFallbackPolicy) EnumDescriptor
deprecated
func (Cluster_LbSubsetConfig_LbSubsetFallbackPolicy) EnumDescriptor() ([]byte, []int)
Deprecated: Use Cluster_LbSubsetConfig_LbSubsetFallbackPolicy.Descriptor instead.
func (Cluster_LbSubsetConfig_LbSubsetFallbackPolicy) Number ¶
func (x Cluster_LbSubsetConfig_LbSubsetFallbackPolicy) Number() protoreflect.EnumNumber
func (Cluster_LbSubsetConfig_LbSubsetFallbackPolicy) String ¶
func (x Cluster_LbSubsetConfig_LbSubsetFallbackPolicy) String() string
type Cluster_LbSubsetConfig_LbSubsetMetadataFallbackPolicy ¶ added in v3.4.0
type Cluster_LbSubsetConfig_LbSubsetMetadataFallbackPolicy int32
const ( // No fallback. Route metadata will be used as-is. Cluster_LbSubsetConfig_METADATA_NO_FALLBACK Cluster_LbSubsetConfig_LbSubsetMetadataFallbackPolicy = 0 // A special metadata key “fallback_list“ will be used to provide variants of metadata to try. // Value of “fallback_list“ key has to be a list. Every list element has to be a struct - it will // be merged with route metadata, overriding keys that appear in both places. // “fallback_list“ entries will be used in order until a host is found. // // “fallback_list“ key itself is removed from metadata before subset load balancing is performed. // // Example: // // for metadata: // // .. code-block:: yaml // // version: 1.0 // fallback_list: // - version: 2.0 // hardware: c64 // - hardware: c32 // - version: 3.0 // // at first, metadata: // // .. code-block:: json // // {"version": "2.0", "hardware": "c64"} // // will be used for load balancing. If no host is found, metadata: // // .. code-block:: json // // {"version": "1.0", "hardware": "c32"} // // is next to try. If it still results in no host, finally metadata: // // .. code-block:: json // // {"version": "3.0"} // // is used. Cluster_LbSubsetConfig_FALLBACK_LIST Cluster_LbSubsetConfig_LbSubsetMetadataFallbackPolicy = 1 )
func (Cluster_LbSubsetConfig_LbSubsetMetadataFallbackPolicy) Descriptor ¶ added in v3.4.0
func (Cluster_LbSubsetConfig_LbSubsetMetadataFallbackPolicy) Descriptor() protoreflect.EnumDescriptor
func (Cluster_LbSubsetConfig_LbSubsetMetadataFallbackPolicy) EnumDescriptor
deprecated
added in
v3.4.0
func (Cluster_LbSubsetConfig_LbSubsetMetadataFallbackPolicy) EnumDescriptor() ([]byte, []int)
Deprecated: Use Cluster_LbSubsetConfig_LbSubsetMetadataFallbackPolicy.Descriptor instead.
func (Cluster_LbSubsetConfig_LbSubsetMetadataFallbackPolicy) Number ¶ added in v3.4.0
func (x Cluster_LbSubsetConfig_LbSubsetMetadataFallbackPolicy) Number() protoreflect.EnumNumber
func (Cluster_LbSubsetConfig_LbSubsetMetadataFallbackPolicy) String ¶ added in v3.4.0
func (x Cluster_LbSubsetConfig_LbSubsetMetadataFallbackPolicy) String() 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"` // Selects a mode of operation in which each subset has only one host. This mode uses the same rules for // choosing a host, but updating hosts is faster, especially for large numbers of hosts. // // If a match is found to a host, that host will be used regardless of priority levels. // // When this mode is enabled, configurations that contain more than one host with the same metadata value for the single key in “keys“ // will use only one of the hosts with the given key; no requests will be routed to the others. The cluster gauge // :ref:`lb_subsets_single_host_per_subset_duplicate<config_cluster_manager_cluster_stats_subset_lb>` indicates how many duplicates are // present in the current configuration. SingleHostPerSubset bool `protobuf:"varint,4,opt,name=single_host_per_subset,json=singleHostPerSubset,proto3" json:"single_host_per_subset,omitempty"` // The behavior used when no endpoint subset matches the selected route's // metadata. FallbackPolicy Cluster_LbSubsetConfig_LbSubsetSelector_LbSubsetSelectorFallbackPolicy `` /* 204-byte string literal not displayed */ // Subset of // :ref:`keys<envoy_v3_api_field_config.cluster.v3.Cluster.LbSubsetConfig.LbSubsetSelector.keys>` used by // :ref:`KEYS_SUBSET<envoy_v3_api_enum_value_config.cluster.v3.Cluster.LbSubsetConfig.LbSubsetSelector.LbSubsetSelectorFallbackPolicy.KEYS_SUBSET>` // fallback policy. // It has to be a non empty list if KEYS_SUBSET fallback policy is selected. // For any other fallback policy the parameter is not used and should not be set. // Only values also present in // :ref:`keys<envoy_v3_api_field_config.cluster.v3.Cluster.LbSubsetConfig.LbSubsetSelector.keys>` are allowed, but // “fallback_keys_subset“ cannot be equal to “keys“. FallbackKeysSubset []string `protobuf:"bytes,3,rep,name=fallback_keys_subset,json=fallbackKeysSubset,proto3" json:"fallback_keys_subset,omitempty"` // contains filtered or unexported fields }
Specifications for subsets.
func (*Cluster_LbSubsetConfig_LbSubsetSelector) Descriptor
deprecated
func (*Cluster_LbSubsetConfig_LbSubsetSelector) Descriptor() ([]byte, []int)
Deprecated: Use Cluster_LbSubsetConfig_LbSubsetSelector.ProtoReflect.Descriptor instead.
func (*Cluster_LbSubsetConfig_LbSubsetSelector) GetFallbackKeysSubset ¶
func (x *Cluster_LbSubsetConfig_LbSubsetSelector) GetFallbackKeysSubset() []string
func (*Cluster_LbSubsetConfig_LbSubsetSelector) GetFallbackPolicy ¶
func (x *Cluster_LbSubsetConfig_LbSubsetSelector) GetFallbackPolicy() Cluster_LbSubsetConfig_LbSubsetSelector_LbSubsetSelectorFallbackPolicy
func (*Cluster_LbSubsetConfig_LbSubsetSelector) GetKeys ¶
func (x *Cluster_LbSubsetConfig_LbSubsetSelector) GetKeys() []string
func (*Cluster_LbSubsetConfig_LbSubsetSelector) GetSingleHostPerSubset ¶
func (x *Cluster_LbSubsetConfig_LbSubsetSelector) GetSingleHostPerSubset() bool
func (*Cluster_LbSubsetConfig_LbSubsetSelector) ProtoMessage ¶
func (*Cluster_LbSubsetConfig_LbSubsetSelector) ProtoMessage()
func (*Cluster_LbSubsetConfig_LbSubsetSelector) ProtoReflect ¶
func (x *Cluster_LbSubsetConfig_LbSubsetSelector) ProtoReflect() protoreflect.Message
func (*Cluster_LbSubsetConfig_LbSubsetSelector) Reset ¶
func (x *Cluster_LbSubsetConfig_LbSubsetSelector) Reset()
func (*Cluster_LbSubsetConfig_LbSubsetSelector) String ¶
func (x *Cluster_LbSubsetConfig_LbSubsetSelector) String() string
func (*Cluster_LbSubsetConfig_LbSubsetSelector) Validate ¶
func (m *Cluster_LbSubsetConfig_LbSubsetSelector) Validate() error
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, the first error encountered is returned, or nil if there are no violations.
func (*Cluster_LbSubsetConfig_LbSubsetSelector) ValidateAll ¶
func (m *Cluster_LbSubsetConfig_LbSubsetSelector) ValidateAll() error
ValidateAll checks the field values on Cluster_LbSubsetConfig_LbSubsetSelector with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Cluster_LbSubsetConfig_LbSubsetSelectorMultiError, or nil if none found.
type Cluster_LbSubsetConfig_LbSubsetSelectorMultiError ¶
type Cluster_LbSubsetConfig_LbSubsetSelectorMultiError []error
Cluster_LbSubsetConfig_LbSubsetSelectorMultiError is an error wrapping multiple validation errors returned by Cluster_LbSubsetConfig_LbSubsetSelector.ValidateAll() if the designated constraints aren't met.
func (Cluster_LbSubsetConfig_LbSubsetSelectorMultiError) AllErrors ¶
func (m Cluster_LbSubsetConfig_LbSubsetSelectorMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Cluster_LbSubsetConfig_LbSubsetSelectorMultiError) Error ¶
func (m Cluster_LbSubsetConfig_LbSubsetSelectorMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
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 ¶
func (e Cluster_LbSubsetConfig_LbSubsetSelectorValidationError) Cause() error
Cause function returns cause value.
func (Cluster_LbSubsetConfig_LbSubsetSelectorValidationError) Error ¶
func (e Cluster_LbSubsetConfig_LbSubsetSelectorValidationError) Error() string
Error satisfies the builtin error interface
func (Cluster_LbSubsetConfig_LbSubsetSelectorValidationError) ErrorName ¶
func (e Cluster_LbSubsetConfig_LbSubsetSelectorValidationError) ErrorName() string
ErrorName returns error name.
func (Cluster_LbSubsetConfig_LbSubsetSelectorValidationError) Field ¶
func (e Cluster_LbSubsetConfig_LbSubsetSelectorValidationError) Field() string
Field function returns field value.
func (Cluster_LbSubsetConfig_LbSubsetSelectorValidationError) Key ¶
func (e Cluster_LbSubsetConfig_LbSubsetSelectorValidationError) Key() bool
Key function returns key value.
func (Cluster_LbSubsetConfig_LbSubsetSelectorValidationError) Reason ¶
func (e Cluster_LbSubsetConfig_LbSubsetSelectorValidationError) Reason() string
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 // If KEYS_SUBSET is selected, subset selector matching is performed again with metadata // keys reduced to // :ref:`fallback_keys_subset<envoy_v3_api_field_config.cluster.v3.Cluster.LbSubsetConfig.LbSubsetSelector.fallback_keys_subset>`. // It allows for a fallback to a different, less specific selector if some of the keys of // the selector are considered optional. Cluster_LbSubsetConfig_LbSubsetSelector_KEYS_SUBSET Cluster_LbSubsetConfig_LbSubsetSelector_LbSubsetSelectorFallbackPolicy = 4 )
func (Cluster_LbSubsetConfig_LbSubsetSelector_LbSubsetSelectorFallbackPolicy) Descriptor ¶
func (Cluster_LbSubsetConfig_LbSubsetSelector_LbSubsetSelectorFallbackPolicy) EnumDescriptor
deprecated
func (Cluster_LbSubsetConfig_LbSubsetSelector_LbSubsetSelectorFallbackPolicy) EnumDescriptor() ([]byte, []int)
Deprecated: Use Cluster_LbSubsetConfig_LbSubsetSelector_LbSubsetSelectorFallbackPolicy.Descriptor instead.
func (Cluster_LbSubsetConfig_LbSubsetSelector_LbSubsetSelectorFallbackPolicy) String ¶
func (x Cluster_LbSubsetConfig_LbSubsetSelector_LbSubsetSelectorFallbackPolicy) String() 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 *wrappers.UInt32Value `protobuf:"bytes,1,opt,name=choice_count,json=choiceCount,proto3" json:"choice_count,omitempty"` // The following formula is used to calculate the dynamic weights when hosts have different load // balancing weights: // // “weight = load_balancing_weight / (active_requests + 1)^active_request_bias“ // // The larger the active request bias is, the more aggressively active requests will lower the // effective weight when all host weights are not equal. // // “active_request_bias“ must be greater than or equal to 0.0. // // When “active_request_bias == 0.0“ the Least Request Load Balancer doesn't consider the number // of active requests at the time it picks a host and behaves like the Round Robin Load // Balancer. // // When “active_request_bias > 0.0“ the Least Request Load Balancer scales the load balancing // weight by the number of active requests at the time it does a pick. // // The value is cached for performance reasons and refreshed whenever one of the Load Balancer's // host sets changes, e.g., whenever there is a host membership update or a host load balancing // weight change. // // .. note:: // This setting only takes effect if all host weights are not equal. ActiveRequestBias *v32.RuntimeDouble `protobuf:"bytes,2,opt,name=active_request_bias,json=activeRequestBias,proto3" json:"active_request_bias,omitempty"` // Configuration for slow start mode. // If this configuration is not set, slow start will not be not enabled. SlowStartConfig *Cluster_SlowStartConfig `protobuf:"bytes,3,opt,name=slow_start_config,json=slowStartConfig,proto3" json:"slow_start_config,omitempty"` // contains filtered or unexported fields }
Specific configuration for the LeastRequest load balancing policy.
func (*Cluster_LeastRequestLbConfig) Descriptor
deprecated
func (*Cluster_LeastRequestLbConfig) Descriptor() ([]byte, []int)
Deprecated: Use Cluster_LeastRequestLbConfig.ProtoReflect.Descriptor instead.
func (*Cluster_LeastRequestLbConfig) GetActiveRequestBias ¶
func (x *Cluster_LeastRequestLbConfig) GetActiveRequestBias() *v32.RuntimeDouble
func (*Cluster_LeastRequestLbConfig) GetChoiceCount ¶
func (x *Cluster_LeastRequestLbConfig) GetChoiceCount() *wrappers.UInt32Value
func (*Cluster_LeastRequestLbConfig) GetSlowStartConfig ¶
func (x *Cluster_LeastRequestLbConfig) GetSlowStartConfig() *Cluster_SlowStartConfig
func (*Cluster_LeastRequestLbConfig) ProtoMessage ¶
func (*Cluster_LeastRequestLbConfig) ProtoMessage()
func (*Cluster_LeastRequestLbConfig) ProtoReflect ¶
func (x *Cluster_LeastRequestLbConfig) ProtoReflect() protoreflect.Message
func (*Cluster_LeastRequestLbConfig) Reset ¶
func (x *Cluster_LeastRequestLbConfig) Reset()
func (*Cluster_LeastRequestLbConfig) String ¶
func (x *Cluster_LeastRequestLbConfig) String() string
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, the first error encountered is returned, or nil if there are no violations.
func (*Cluster_LeastRequestLbConfig) ValidateAll ¶
func (m *Cluster_LeastRequestLbConfig) ValidateAll() error
ValidateAll checks the field values on Cluster_LeastRequestLbConfig with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Cluster_LeastRequestLbConfigMultiError, or nil if none found.
type Cluster_LeastRequestLbConfigMultiError ¶
type Cluster_LeastRequestLbConfigMultiError []error
Cluster_LeastRequestLbConfigMultiError is an error wrapping multiple validation errors returned by Cluster_LeastRequestLbConfig.ValidateAll() if the designated constraints aren't met.
func (Cluster_LeastRequestLbConfigMultiError) AllErrors ¶
func (m Cluster_LeastRequestLbConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Cluster_LeastRequestLbConfigMultiError) Error ¶
func (m Cluster_LeastRequestLbConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
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 ¶
func (e Cluster_LeastRequestLbConfigValidationError) Cause() error
Cause function returns cause value.
func (Cluster_LeastRequestLbConfigValidationError) Error ¶
func (e Cluster_LeastRequestLbConfigValidationError) Error() string
Error satisfies the builtin error interface
func (Cluster_LeastRequestLbConfigValidationError) ErrorName ¶
func (e Cluster_LeastRequestLbConfigValidationError) ErrorName() string
ErrorName returns error name.
func (Cluster_LeastRequestLbConfigValidationError) Field ¶
func (e Cluster_LeastRequestLbConfigValidationError) Field() string
Field function returns field value.
func (Cluster_LeastRequestLbConfigValidationError) Key ¶
func (e Cluster_LeastRequestLbConfigValidationError) Key() bool
Key function returns key value.
func (Cluster_LeastRequestLbConfigValidationError) Reason ¶
func (e Cluster_LeastRequestLbConfigValidationError) Reason() string
Reason function returns reason value.
type Cluster_LeastRequestLbConfig_ ¶
type Cluster_LeastRequestLbConfig_ struct { // Optional configuration for the LeastRequest load balancing policy. LeastRequestLbConfig *Cluster_LeastRequestLbConfig `protobuf:"bytes,37,opt,name=least_request_lb_config,json=leastRequestLbConfig,proto3,oneof"` }
type Cluster_MaglevLbConfig ¶
type Cluster_MaglevLbConfig struct { // The table size for Maglev hashing. Maglev aims for "minimal disruption" rather than an absolute guarantee. // Minimal disruption means that when the set of upstream hosts change, a connection will likely be sent to the same // upstream as it was before. Increasing the table size reduces the amount of disruption. // The table size must be prime number limited to 5000011. If it is not specified, the default is 65537. TableSize *wrappers.UInt64Value `protobuf:"bytes,1,opt,name=table_size,json=tableSize,proto3" json:"table_size,omitempty"` // contains filtered or unexported fields }
Specific configuration for the :ref:`Maglev<arch_overview_load_balancing_types_maglev>` load balancing policy.
func (*Cluster_MaglevLbConfig) Descriptor
deprecated
func (*Cluster_MaglevLbConfig) Descriptor() ([]byte, []int)
Deprecated: Use Cluster_MaglevLbConfig.ProtoReflect.Descriptor instead.
func (*Cluster_MaglevLbConfig) GetTableSize ¶
func (x *Cluster_MaglevLbConfig) GetTableSize() *wrappers.UInt64Value
func (*Cluster_MaglevLbConfig) ProtoMessage ¶
func (*Cluster_MaglevLbConfig) ProtoMessage()
func (*Cluster_MaglevLbConfig) ProtoReflect ¶
func (x *Cluster_MaglevLbConfig) ProtoReflect() protoreflect.Message
func (*Cluster_MaglevLbConfig) Reset ¶
func (x *Cluster_MaglevLbConfig) Reset()
func (*Cluster_MaglevLbConfig) String ¶
func (x *Cluster_MaglevLbConfig) String() string
func (*Cluster_MaglevLbConfig) Validate ¶
func (m *Cluster_MaglevLbConfig) Validate() error
Validate checks the field values on Cluster_MaglevLbConfig with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Cluster_MaglevLbConfig) ValidateAll ¶
func (m *Cluster_MaglevLbConfig) ValidateAll() error
ValidateAll checks the field values on Cluster_MaglevLbConfig with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Cluster_MaglevLbConfigMultiError, or nil if none found.
type Cluster_MaglevLbConfigMultiError ¶
type Cluster_MaglevLbConfigMultiError []error
Cluster_MaglevLbConfigMultiError is an error wrapping multiple validation errors returned by Cluster_MaglevLbConfig.ValidateAll() if the designated constraints aren't met.
func (Cluster_MaglevLbConfigMultiError) AllErrors ¶
func (m Cluster_MaglevLbConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Cluster_MaglevLbConfigMultiError) Error ¶
func (m Cluster_MaglevLbConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Cluster_MaglevLbConfigValidationError ¶
type Cluster_MaglevLbConfigValidationError struct {
// contains filtered or unexported fields
}
Cluster_MaglevLbConfigValidationError is the validation error returned by Cluster_MaglevLbConfig.Validate if the designated constraints aren't met.
func (Cluster_MaglevLbConfigValidationError) Cause ¶
func (e Cluster_MaglevLbConfigValidationError) Cause() error
Cause function returns cause value.
func (Cluster_MaglevLbConfigValidationError) Error ¶
func (e Cluster_MaglevLbConfigValidationError) Error() string
Error satisfies the builtin error interface
func (Cluster_MaglevLbConfigValidationError) ErrorName ¶
func (e Cluster_MaglevLbConfigValidationError) ErrorName() string
ErrorName returns error name.
func (Cluster_MaglevLbConfigValidationError) Field ¶
func (e Cluster_MaglevLbConfigValidationError) Field() string
Field function returns field value.
func (Cluster_MaglevLbConfigValidationError) Key ¶
func (e Cluster_MaglevLbConfigValidationError) Key() bool
Key function returns key value.
func (Cluster_MaglevLbConfigValidationError) Reason ¶
func (e Cluster_MaglevLbConfigValidationError) Reason() string
Reason function returns reason value.
type Cluster_MaglevLbConfig_ ¶
type Cluster_MaglevLbConfig_ struct { // Optional configuration for the Maglev load balancing policy. MaglevLbConfig *Cluster_MaglevLbConfig `protobuf:"bytes,52,opt,name=maglev_lb_config,json=maglevLbConfig,proto3,oneof"` }
type Cluster_OriginalDstLbConfig ¶
type Cluster_OriginalDstLbConfig struct { // When true, a HTTP header can be used to override the original dst address. The default header is // :ref:`x-envoy-original-dst-host <config_http_conn_man_headers_x-envoy-original-dst-host>`. // // .. 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. // // .. note:: // // If the header appears multiple times only the first value is used. UseHttpHeader bool `protobuf:"varint,1,opt,name=use_http_header,json=useHttpHeader,proto3" json:"use_http_header,omitempty"` // The http header to override destination address if :ref:`use_http_header <envoy_v3_api_field_config.cluster.v3.Cluster.OriginalDstLbConfig.use_http_header>`. // is set to true. If the value is empty, :ref:`x-envoy-original-dst-host <config_http_conn_man_headers_x-envoy-original-dst-host>` will be used. HttpHeaderName string `protobuf:"bytes,2,opt,name=http_header_name,json=httpHeaderName,proto3" json:"http_header_name,omitempty"` // The port to override for the original dst address. This port // will take precedence over filter state and header override ports UpstreamPortOverride *wrappers.UInt32Value `protobuf:"bytes,3,opt,name=upstream_port_override,json=upstreamPortOverride,proto3" json:"upstream_port_override,omitempty"` // contains filtered or unexported fields }
Specific configuration for the :ref:`Original Destination <arch_overview_load_balancing_types_original_destination>` load balancing policy.
func (*Cluster_OriginalDstLbConfig) Descriptor
deprecated
func (*Cluster_OriginalDstLbConfig) Descriptor() ([]byte, []int)
Deprecated: Use Cluster_OriginalDstLbConfig.ProtoReflect.Descriptor instead.
func (*Cluster_OriginalDstLbConfig) GetHttpHeaderName ¶
func (x *Cluster_OriginalDstLbConfig) GetHttpHeaderName() string
func (*Cluster_OriginalDstLbConfig) GetUpstreamPortOverride ¶ added in v3.4.0
func (x *Cluster_OriginalDstLbConfig) GetUpstreamPortOverride() *wrappers.UInt32Value
func (*Cluster_OriginalDstLbConfig) GetUseHttpHeader ¶
func (x *Cluster_OriginalDstLbConfig) GetUseHttpHeader() bool
func (*Cluster_OriginalDstLbConfig) ProtoMessage ¶
func (*Cluster_OriginalDstLbConfig) ProtoMessage()
func (*Cluster_OriginalDstLbConfig) ProtoReflect ¶
func (x *Cluster_OriginalDstLbConfig) ProtoReflect() protoreflect.Message
func (*Cluster_OriginalDstLbConfig) Reset ¶
func (x *Cluster_OriginalDstLbConfig) Reset()
func (*Cluster_OriginalDstLbConfig) String ¶
func (x *Cluster_OriginalDstLbConfig) String() string
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, the first error encountered is returned, or nil if there are no violations.
func (*Cluster_OriginalDstLbConfig) ValidateAll ¶
func (m *Cluster_OriginalDstLbConfig) ValidateAll() error
ValidateAll checks the field values on Cluster_OriginalDstLbConfig with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Cluster_OriginalDstLbConfigMultiError, or nil if none found.
type Cluster_OriginalDstLbConfigMultiError ¶
type Cluster_OriginalDstLbConfigMultiError []error
Cluster_OriginalDstLbConfigMultiError is an error wrapping multiple validation errors returned by Cluster_OriginalDstLbConfig.ValidateAll() if the designated constraints aren't met.
func (Cluster_OriginalDstLbConfigMultiError) AllErrors ¶
func (m Cluster_OriginalDstLbConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Cluster_OriginalDstLbConfigMultiError) Error ¶
func (m Cluster_OriginalDstLbConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
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 ¶
func (e Cluster_OriginalDstLbConfigValidationError) Cause() error
Cause function returns cause value.
func (Cluster_OriginalDstLbConfigValidationError) Error ¶
func (e Cluster_OriginalDstLbConfigValidationError) Error() string
Error satisfies the builtin error interface
func (Cluster_OriginalDstLbConfigValidationError) ErrorName ¶
func (e Cluster_OriginalDstLbConfigValidationError) ErrorName() string
ErrorName returns error name.
func (Cluster_OriginalDstLbConfigValidationError) Field ¶
func (e Cluster_OriginalDstLbConfigValidationError) Field() string
Field function returns field value.
func (Cluster_OriginalDstLbConfigValidationError) Key ¶
func (e Cluster_OriginalDstLbConfigValidationError) Key() bool
Key function returns key value.
func (Cluster_OriginalDstLbConfigValidationError) Reason ¶
func (e Cluster_OriginalDstLbConfigValidationError) Reason() string
Reason function returns reason value.
type Cluster_OriginalDstLbConfig_ ¶
type Cluster_OriginalDstLbConfig_ struct { // Optional configuration for the Original Destination load balancing policy. OriginalDstLbConfig *Cluster_OriginalDstLbConfig `protobuf:"bytes,34,opt,name=original_dst_lb_config,json=originalDstLbConfig,proto3,oneof"` }
type Cluster_PreconnectPolicy ¶
type Cluster_PreconnectPolicy struct { // Indicates how many streams (rounded up) can be anticipated per-upstream for each // incoming stream. This is useful for high-QPS or latency-sensitive services. Preconnecting // will only be done if the upstream is healthy and the cluster has traffic. // // For example if this is 2, for an incoming HTTP/1.1 stream, 2 connections will be // established, one for the new incoming stream, and one for a presumed follow-up stream. For // HTTP/2, only one connection would be established by default as one connection can // serve both the original and presumed follow-up stream. // // In steady state for non-multiplexed connections a value of 1.5 would mean if there were 100 // active streams, there would be 100 connections in use, and 50 connections preconnected. // This might be a useful value for something like short lived single-use connections, // for example proxying HTTP/1.1 if keep-alive were false and each stream resulted in connection // termination. It would likely be overkill for long lived connections, such as TCP proxying SMTP // or regular HTTP/1.1 with keep-alive. For long lived traffic, a value of 1.05 would be more // reasonable, where for every 100 connections, 5 preconnected connections would be in the queue // in case of unexpected disconnects where the connection could not be reused. // // If this value is not set, or set explicitly to one, Envoy will fetch as many connections // as needed to serve streams in flight. This means in steady state if a connection is torn down, // a subsequent streams will pay an upstream-rtt latency penalty waiting for a new connection. // // This is limited somewhat arbitrarily to 3 because preconnecting too aggressively can // harm latency more than the preconnecting helps. PerUpstreamPreconnectRatio *wrappers.DoubleValue `` /* 143-byte string literal not displayed */ // Indicates how many many streams (rounded up) can be anticipated across a cluster for each // stream, useful for low QPS services. This is currently supported for a subset of // deterministic non-hash-based load-balancing algorithms (weighted round robin, random). // Unlike “per_upstream_preconnect_ratio“ this preconnects across the upstream instances in a // cluster, doing best effort predictions of what upstream would be picked next and // pre-establishing a connection. // // Preconnecting will be limited to one preconnect per configured upstream in the cluster and will // only be done if there are healthy upstreams and the cluster has traffic. // // For example if preconnecting is set to 2 for a round robin HTTP/2 cluster, on the first // incoming stream, 2 connections will be preconnected - one to the first upstream for this // cluster, one to the second on the assumption there will be a follow-up stream. // // If this value is not set, or set explicitly to one, Envoy will fetch as many connections // as needed to serve streams in flight, so during warm up and in steady state if a connection // is closed (and per_upstream_preconnect_ratio is not set), there will be a latency hit for // connection establishment. // // If both this and preconnect_ratio are set, Envoy will make sure both predicted needs are met, // basically preconnecting max(predictive-preconnect, per-upstream-preconnect), for each // upstream. PredictivePreconnectRatio *wrappers.DoubleValue `` /* 138-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Cluster_PreconnectPolicy) Descriptor
deprecated
func (*Cluster_PreconnectPolicy) Descriptor() ([]byte, []int)
Deprecated: Use Cluster_PreconnectPolicy.ProtoReflect.Descriptor instead.
func (*Cluster_PreconnectPolicy) GetPerUpstreamPreconnectRatio ¶
func (x *Cluster_PreconnectPolicy) GetPerUpstreamPreconnectRatio() *wrappers.DoubleValue
func (*Cluster_PreconnectPolicy) GetPredictivePreconnectRatio ¶
func (x *Cluster_PreconnectPolicy) GetPredictivePreconnectRatio() *wrappers.DoubleValue
func (*Cluster_PreconnectPolicy) ProtoMessage ¶
func (*Cluster_PreconnectPolicy) ProtoMessage()
func (*Cluster_PreconnectPolicy) ProtoReflect ¶
func (x *Cluster_PreconnectPolicy) ProtoReflect() protoreflect.Message
func (*Cluster_PreconnectPolicy) Reset ¶
func (x *Cluster_PreconnectPolicy) Reset()
func (*Cluster_PreconnectPolicy) String ¶
func (x *Cluster_PreconnectPolicy) String() string
func (*Cluster_PreconnectPolicy) Validate ¶
func (m *Cluster_PreconnectPolicy) Validate() error
Validate checks the field values on Cluster_PreconnectPolicy with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Cluster_PreconnectPolicy) ValidateAll ¶
func (m *Cluster_PreconnectPolicy) ValidateAll() error
ValidateAll checks the field values on Cluster_PreconnectPolicy with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Cluster_PreconnectPolicyMultiError, or nil if none found.
type Cluster_PreconnectPolicyMultiError ¶
type Cluster_PreconnectPolicyMultiError []error
Cluster_PreconnectPolicyMultiError is an error wrapping multiple validation errors returned by Cluster_PreconnectPolicy.ValidateAll() if the designated constraints aren't met.
func (Cluster_PreconnectPolicyMultiError) AllErrors ¶
func (m Cluster_PreconnectPolicyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Cluster_PreconnectPolicyMultiError) Error ¶
func (m Cluster_PreconnectPolicyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Cluster_PreconnectPolicyValidationError ¶
type Cluster_PreconnectPolicyValidationError struct {
// contains filtered or unexported fields
}
Cluster_PreconnectPolicyValidationError is the validation error returned by Cluster_PreconnectPolicy.Validate if the designated constraints aren't met.
func (Cluster_PreconnectPolicyValidationError) Cause ¶
func (e Cluster_PreconnectPolicyValidationError) Cause() error
Cause function returns cause value.
func (Cluster_PreconnectPolicyValidationError) Error ¶
func (e Cluster_PreconnectPolicyValidationError) Error() string
Error satisfies the builtin error interface
func (Cluster_PreconnectPolicyValidationError) ErrorName ¶
func (e Cluster_PreconnectPolicyValidationError) ErrorName() string
ErrorName returns error name.
func (Cluster_PreconnectPolicyValidationError) Field ¶
func (e Cluster_PreconnectPolicyValidationError) Field() string
Field function returns field value.
func (Cluster_PreconnectPolicyValidationError) Key ¶
func (e Cluster_PreconnectPolicyValidationError) Key() bool
Key function returns key value.
func (Cluster_PreconnectPolicyValidationError) Reason ¶
func (e Cluster_PreconnectPolicyValidationError) Reason() string
Reason function returns reason value.
type Cluster_RefreshRate ¶
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_v3_api_field_config.cluster.v3.Cluster.RefreshRate.max_interval>`. BaseInterval *duration.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_v3_api_field_config.cluster.v3.Cluster.RefreshRate.base_interval>` if set. The default // is 10 times the :ref:`base_interval <envoy_v3_api_field_config.cluster.v3.Cluster.RefreshRate.base_interval>`. MaxInterval *duration.Duration `protobuf:"bytes,2,opt,name=max_interval,json=maxInterval,proto3" json:"max_interval,omitempty"` // contains filtered or unexported fields }
func (*Cluster_RefreshRate) Descriptor
deprecated
func (*Cluster_RefreshRate) Descriptor() ([]byte, []int)
Deprecated: Use Cluster_RefreshRate.ProtoReflect.Descriptor instead.
func (*Cluster_RefreshRate) GetBaseInterval ¶
func (x *Cluster_RefreshRate) GetBaseInterval() *duration.Duration
func (*Cluster_RefreshRate) GetMaxInterval ¶
func (x *Cluster_RefreshRate) GetMaxInterval() *duration.Duration
func (*Cluster_RefreshRate) ProtoMessage ¶
func (*Cluster_RefreshRate) ProtoMessage()
func (*Cluster_RefreshRate) ProtoReflect ¶
func (x *Cluster_RefreshRate) ProtoReflect() protoreflect.Message
func (*Cluster_RefreshRate) Reset ¶
func (x *Cluster_RefreshRate) Reset()
func (*Cluster_RefreshRate) String ¶
func (x *Cluster_RefreshRate) String() string
func (*Cluster_RefreshRate) Validate ¶
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, the first error encountered is returned, or nil if there are no violations.
func (*Cluster_RefreshRate) ValidateAll ¶
func (m *Cluster_RefreshRate) ValidateAll() error
ValidateAll checks the field values on Cluster_RefreshRate with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Cluster_RefreshRateMultiError, or nil if none found.
type Cluster_RefreshRateMultiError ¶
type Cluster_RefreshRateMultiError []error
Cluster_RefreshRateMultiError is an error wrapping multiple validation errors returned by Cluster_RefreshRate.ValidateAll() if the designated constraints aren't met.
func (Cluster_RefreshRateMultiError) AllErrors ¶
func (m Cluster_RefreshRateMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Cluster_RefreshRateMultiError) Error ¶
func (m Cluster_RefreshRateMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Cluster_RefreshRateValidationError ¶
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 ¶
func (e Cluster_RefreshRateValidationError) Cause() error
Cause function returns cause value.
func (Cluster_RefreshRateValidationError) Error ¶
func (e Cluster_RefreshRateValidationError) Error() string
Error satisfies the builtin error interface
func (Cluster_RefreshRateValidationError) ErrorName ¶
func (e Cluster_RefreshRateValidationError) ErrorName() string
ErrorName returns error name.
func (Cluster_RefreshRateValidationError) Field ¶
func (e Cluster_RefreshRateValidationError) Field() string
Field function returns field value.
func (Cluster_RefreshRateValidationError) Key ¶
func (e Cluster_RefreshRateValidationError) Key() bool
Key function returns key value.
func (Cluster_RefreshRateValidationError) Reason ¶
func (e Cluster_RefreshRateValidationError) Reason() string
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_v3_api_field_config.cluster.v3.Cluster.RingHashLbConfig.maximum_ring_size>`. MinimumRingSize *wrappers.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_v3_api_enum_value_config.cluster.v3.Cluster.RingHashLbConfig.HashFunction.XX_HASH>`. HashFunction Cluster_RingHashLbConfig_HashFunction `` /* 165-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_v3_api_field_config.cluster.v3.Cluster.RingHashLbConfig.minimum_ring_size>`. MaximumRingSize *wrappers.UInt64Value `protobuf:"bytes,4,opt,name=maximum_ring_size,json=maximumRingSize,proto3" json:"maximum_ring_size,omitempty"` // contains filtered or unexported fields }
Specific configuration for the :ref:`RingHash<arch_overview_load_balancing_types_ring_hash>` load balancing policy.
func (*Cluster_RingHashLbConfig) Descriptor
deprecated
func (*Cluster_RingHashLbConfig) Descriptor() ([]byte, []int)
Deprecated: Use Cluster_RingHashLbConfig.ProtoReflect.Descriptor instead.
func (*Cluster_RingHashLbConfig) GetHashFunction ¶
func (x *Cluster_RingHashLbConfig) GetHashFunction() Cluster_RingHashLbConfig_HashFunction
func (*Cluster_RingHashLbConfig) GetMaximumRingSize ¶
func (x *Cluster_RingHashLbConfig) GetMaximumRingSize() *wrappers.UInt64Value
func (*Cluster_RingHashLbConfig) GetMinimumRingSize ¶
func (x *Cluster_RingHashLbConfig) GetMinimumRingSize() *wrappers.UInt64Value
func (*Cluster_RingHashLbConfig) ProtoMessage ¶
func (*Cluster_RingHashLbConfig) ProtoMessage()
func (*Cluster_RingHashLbConfig) ProtoReflect ¶
func (x *Cluster_RingHashLbConfig) ProtoReflect() protoreflect.Message
func (*Cluster_RingHashLbConfig) Reset ¶
func (x *Cluster_RingHashLbConfig) Reset()
func (*Cluster_RingHashLbConfig) String ¶
func (x *Cluster_RingHashLbConfig) String() string
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, the first error encountered is returned, or nil if there are no violations.
func (*Cluster_RingHashLbConfig) ValidateAll ¶
func (m *Cluster_RingHashLbConfig) ValidateAll() error
ValidateAll checks the field values on Cluster_RingHashLbConfig with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Cluster_RingHashLbConfigMultiError, or nil if none found.
type Cluster_RingHashLbConfigMultiError ¶
type Cluster_RingHashLbConfigMultiError []error
Cluster_RingHashLbConfigMultiError is an error wrapping multiple validation errors returned by Cluster_RingHashLbConfig.ValidateAll() if the designated constraints aren't met.
func (Cluster_RingHashLbConfigMultiError) AllErrors ¶
func (m Cluster_RingHashLbConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Cluster_RingHashLbConfigMultiError) Error ¶
func (m Cluster_RingHashLbConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
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 ¶
func (e Cluster_RingHashLbConfigValidationError) Cause() error
Cause function returns cause value.
func (Cluster_RingHashLbConfigValidationError) Error ¶
func (e Cluster_RingHashLbConfigValidationError) Error() string
Error satisfies the builtin error interface
func (Cluster_RingHashLbConfigValidationError) ErrorName ¶
func (e Cluster_RingHashLbConfigValidationError) ErrorName() string
ErrorName returns error name.
func (Cluster_RingHashLbConfigValidationError) Field ¶
func (e Cluster_RingHashLbConfigValidationError) Field() string
Field function returns field value.
func (Cluster_RingHashLbConfigValidationError) Key ¶
func (e Cluster_RingHashLbConfigValidationError) Key() bool
Key function returns key value.
func (Cluster_RingHashLbConfigValidationError) Reason ¶
func (e Cluster_RingHashLbConfigValidationError) Reason() string
Reason function returns reason value.
type Cluster_RingHashLbConfig_ ¶
type Cluster_RingHashLbConfig_ struct { // Optional configuration for the Ring Hash load balancing policy. RingHashLbConfig *Cluster_RingHashLbConfig `protobuf:"bytes,23,opt,name=ring_hash_lb_config,json=ringHashLbConfig,proto3,oneof"` }
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) Descriptor ¶
func (Cluster_RingHashLbConfig_HashFunction) Descriptor() protoreflect.EnumDescriptor
func (Cluster_RingHashLbConfig_HashFunction) EnumDescriptor
deprecated
func (Cluster_RingHashLbConfig_HashFunction) EnumDescriptor() ([]byte, []int)
Deprecated: Use Cluster_RingHashLbConfig_HashFunction.Descriptor instead.
func (Cluster_RingHashLbConfig_HashFunction) Number ¶
func (x Cluster_RingHashLbConfig_HashFunction) Number() protoreflect.EnumNumber
func (Cluster_RingHashLbConfig_HashFunction) String ¶
func (x Cluster_RingHashLbConfig_HashFunction) String() string
func (Cluster_RingHashLbConfig_HashFunction) Type ¶
func (Cluster_RingHashLbConfig_HashFunction) Type() protoreflect.EnumType
type Cluster_RoundRobinLbConfig ¶
type Cluster_RoundRobinLbConfig struct { // Configuration for slow start mode. // If this configuration is not set, slow start will not be not enabled. SlowStartConfig *Cluster_SlowStartConfig `protobuf:"bytes,1,opt,name=slow_start_config,json=slowStartConfig,proto3" json:"slow_start_config,omitempty"` // contains filtered or unexported fields }
Specific configuration for the RoundRobin load balancing policy.
func (*Cluster_RoundRobinLbConfig) Descriptor
deprecated
func (*Cluster_RoundRobinLbConfig) Descriptor() ([]byte, []int)
Deprecated: Use Cluster_RoundRobinLbConfig.ProtoReflect.Descriptor instead.
func (*Cluster_RoundRobinLbConfig) GetSlowStartConfig ¶
func (x *Cluster_RoundRobinLbConfig) GetSlowStartConfig() *Cluster_SlowStartConfig
func (*Cluster_RoundRobinLbConfig) ProtoMessage ¶
func (*Cluster_RoundRobinLbConfig) ProtoMessage()
func (*Cluster_RoundRobinLbConfig) ProtoReflect ¶
func (x *Cluster_RoundRobinLbConfig) ProtoReflect() protoreflect.Message
func (*Cluster_RoundRobinLbConfig) Reset ¶
func (x *Cluster_RoundRobinLbConfig) Reset()
func (*Cluster_RoundRobinLbConfig) String ¶
func (x *Cluster_RoundRobinLbConfig) String() string
func (*Cluster_RoundRobinLbConfig) Validate ¶
func (m *Cluster_RoundRobinLbConfig) Validate() error
Validate checks the field values on Cluster_RoundRobinLbConfig with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Cluster_RoundRobinLbConfig) ValidateAll ¶
func (m *Cluster_RoundRobinLbConfig) ValidateAll() error
ValidateAll checks the field values on Cluster_RoundRobinLbConfig with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Cluster_RoundRobinLbConfigMultiError, or nil if none found.
type Cluster_RoundRobinLbConfigMultiError ¶
type Cluster_RoundRobinLbConfigMultiError []error
Cluster_RoundRobinLbConfigMultiError is an error wrapping multiple validation errors returned by Cluster_RoundRobinLbConfig.ValidateAll() if the designated constraints aren't met.
func (Cluster_RoundRobinLbConfigMultiError) AllErrors ¶
func (m Cluster_RoundRobinLbConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Cluster_RoundRobinLbConfigMultiError) Error ¶
func (m Cluster_RoundRobinLbConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Cluster_RoundRobinLbConfigValidationError ¶
type Cluster_RoundRobinLbConfigValidationError struct {
// contains filtered or unexported fields
}
Cluster_RoundRobinLbConfigValidationError is the validation error returned by Cluster_RoundRobinLbConfig.Validate if the designated constraints aren't met.
func (Cluster_RoundRobinLbConfigValidationError) Cause ¶
func (e Cluster_RoundRobinLbConfigValidationError) Cause() error
Cause function returns cause value.
func (Cluster_RoundRobinLbConfigValidationError) Error ¶
func (e Cluster_RoundRobinLbConfigValidationError) Error() string
Error satisfies the builtin error interface
func (Cluster_RoundRobinLbConfigValidationError) ErrorName ¶
func (e Cluster_RoundRobinLbConfigValidationError) ErrorName() string
ErrorName returns error name.
func (Cluster_RoundRobinLbConfigValidationError) Field ¶
func (e Cluster_RoundRobinLbConfigValidationError) Field() string
Field function returns field value.
func (Cluster_RoundRobinLbConfigValidationError) Key ¶
func (e Cluster_RoundRobinLbConfigValidationError) Key() bool
Key function returns key value.
func (Cluster_RoundRobinLbConfigValidationError) Reason ¶
func (e Cluster_RoundRobinLbConfigValidationError) Reason() string
Reason function returns reason value.
type Cluster_RoundRobinLbConfig_ ¶
type Cluster_RoundRobinLbConfig_ struct { // Optional configuration for the RoundRobin load balancing policy. RoundRobinLbConfig *Cluster_RoundRobinLbConfig `protobuf:"bytes,56,opt,name=round_robin_lb_config,json=roundRobinLbConfig,proto3,oneof"` }
type Cluster_SlowStartConfig ¶
type Cluster_SlowStartConfig struct { // Represents the size of slow start window. // If set, the newly created host remains in slow start mode starting from its creation time // for the duration of slow start window. SlowStartWindow *duration.Duration `protobuf:"bytes,1,opt,name=slow_start_window,json=slowStartWindow,proto3" json:"slow_start_window,omitempty"` // This parameter controls the speed of traffic increase over the slow start window. Defaults to 1.0, // so that endpoint would get linearly increasing amount of traffic. // When increasing the value for this parameter, the speed of traffic ramp-up increases non-linearly. // The value of aggression parameter should be greater than 0.0. // By tuning the parameter, is possible to achieve polynomial or exponential shape of ramp-up curve. // // During slow start window, effective weight of an endpoint would be scaled with time factor and aggression: // “new_weight = weight * max(min_weight_percent, time_factor ^ (1 / aggression))“, // where “time_factor=(time_since_start_seconds / slow_start_time_seconds)“. // // As time progresses, more and more traffic would be sent to endpoint, which is in slow start window. // Once host exits slow start, time_factor and aggression no longer affect its weight. Aggression *v32.RuntimeDouble `protobuf:"bytes,2,opt,name=aggression,proto3" json:"aggression,omitempty"` // Configures the minimum percentage of origin weight that avoids too small new weight, // which may cause endpoints in slow start mode receive no traffic in slow start window. // If not specified, the default is 10%. MinWeightPercent *v33.Percent `protobuf:"bytes,3,opt,name=min_weight_percent,json=minWeightPercent,proto3" json:"min_weight_percent,omitempty"` // contains filtered or unexported fields }
Configuration for :ref:`slow start mode <arch_overview_load_balancing_slow_start>`.
func (*Cluster_SlowStartConfig) Descriptor
deprecated
func (*Cluster_SlowStartConfig) Descriptor() ([]byte, []int)
Deprecated: Use Cluster_SlowStartConfig.ProtoReflect.Descriptor instead.
func (*Cluster_SlowStartConfig) GetAggression ¶
func (x *Cluster_SlowStartConfig) GetAggression() *v32.RuntimeDouble
func (*Cluster_SlowStartConfig) GetMinWeightPercent ¶
func (x *Cluster_SlowStartConfig) GetMinWeightPercent() *v33.Percent
func (*Cluster_SlowStartConfig) GetSlowStartWindow ¶
func (x *Cluster_SlowStartConfig) GetSlowStartWindow() *duration.Duration
func (*Cluster_SlowStartConfig) ProtoMessage ¶
func (*Cluster_SlowStartConfig) ProtoMessage()
func (*Cluster_SlowStartConfig) ProtoReflect ¶
func (x *Cluster_SlowStartConfig) ProtoReflect() protoreflect.Message
func (*Cluster_SlowStartConfig) Reset ¶
func (x *Cluster_SlowStartConfig) Reset()
func (*Cluster_SlowStartConfig) String ¶
func (x *Cluster_SlowStartConfig) String() string
func (*Cluster_SlowStartConfig) Validate ¶
func (m *Cluster_SlowStartConfig) Validate() error
Validate checks the field values on Cluster_SlowStartConfig with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Cluster_SlowStartConfig) ValidateAll ¶
func (m *Cluster_SlowStartConfig) ValidateAll() error
ValidateAll checks the field values on Cluster_SlowStartConfig with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Cluster_SlowStartConfigMultiError, or nil if none found.
type Cluster_SlowStartConfigMultiError ¶
type Cluster_SlowStartConfigMultiError []error
Cluster_SlowStartConfigMultiError is an error wrapping multiple validation errors returned by Cluster_SlowStartConfig.ValidateAll() if the designated constraints aren't met.
func (Cluster_SlowStartConfigMultiError) AllErrors ¶
func (m Cluster_SlowStartConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Cluster_SlowStartConfigMultiError) Error ¶
func (m Cluster_SlowStartConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Cluster_SlowStartConfigValidationError ¶
type Cluster_SlowStartConfigValidationError struct {
// contains filtered or unexported fields
}
Cluster_SlowStartConfigValidationError is the validation error returned by Cluster_SlowStartConfig.Validate if the designated constraints aren't met.
func (Cluster_SlowStartConfigValidationError) Cause ¶
func (e Cluster_SlowStartConfigValidationError) Cause() error
Cause function returns cause value.
func (Cluster_SlowStartConfigValidationError) Error ¶
func (e Cluster_SlowStartConfigValidationError) Error() string
Error satisfies the builtin error interface
func (Cluster_SlowStartConfigValidationError) ErrorName ¶
func (e Cluster_SlowStartConfigValidationError) ErrorName() string
ErrorName returns error name.
func (Cluster_SlowStartConfigValidationError) Field ¶
func (e Cluster_SlowStartConfigValidationError) Field() string
Field function returns field value.
func (Cluster_SlowStartConfigValidationError) Key ¶
func (e Cluster_SlowStartConfigValidationError) Key() bool
Key function returns key value.
func (Cluster_SlowStartConfigValidationError) Reason ¶
func (e Cluster_SlowStartConfigValidationError) Reason() string
Reason function returns reason value.
type Cluster_TransportSocketMatch ¶
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 *_struct.Struct `protobuf:"bytes,2,opt,name=match,proto3" json:"match,omitempty"` // The configuration of the transport socket. // [#extension-category: envoy.transport_sockets.upstream] TransportSocket *v32.TransportSocket `protobuf:"bytes,3,opt,name=transport_socket,json=transportSocket,proto3" json:"transport_socket,omitempty"` // contains filtered or unexported fields }
TransportSocketMatch specifies what transport socket config will be used when the match conditions are satisfied.
func (*Cluster_TransportSocketMatch) Descriptor
deprecated
func (*Cluster_TransportSocketMatch) Descriptor() ([]byte, []int)
Deprecated: Use Cluster_TransportSocketMatch.ProtoReflect.Descriptor instead.
func (*Cluster_TransportSocketMatch) GetMatch ¶
func (x *Cluster_TransportSocketMatch) GetMatch() *_struct.Struct
func (*Cluster_TransportSocketMatch) GetName ¶
func (x *Cluster_TransportSocketMatch) GetName() string
func (*Cluster_TransportSocketMatch) GetTransportSocket ¶
func (x *Cluster_TransportSocketMatch) GetTransportSocket() *v32.TransportSocket
func (*Cluster_TransportSocketMatch) ProtoMessage ¶
func (*Cluster_TransportSocketMatch) ProtoMessage()
func (*Cluster_TransportSocketMatch) ProtoReflect ¶
func (x *Cluster_TransportSocketMatch) ProtoReflect() protoreflect.Message
func (*Cluster_TransportSocketMatch) Reset ¶
func (x *Cluster_TransportSocketMatch) Reset()
func (*Cluster_TransportSocketMatch) String ¶
func (x *Cluster_TransportSocketMatch) String() string
func (*Cluster_TransportSocketMatch) Validate ¶
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, the first error encountered is returned, or nil if there are no violations.
func (*Cluster_TransportSocketMatch) ValidateAll ¶
func (m *Cluster_TransportSocketMatch) ValidateAll() error
ValidateAll checks the field values on Cluster_TransportSocketMatch with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Cluster_TransportSocketMatchMultiError, or nil if none found.
type Cluster_TransportSocketMatchMultiError ¶
type Cluster_TransportSocketMatchMultiError []error
Cluster_TransportSocketMatchMultiError is an error wrapping multiple validation errors returned by Cluster_TransportSocketMatch.ValidateAll() if the designated constraints aren't met.
func (Cluster_TransportSocketMatchMultiError) AllErrors ¶
func (m Cluster_TransportSocketMatchMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Cluster_TransportSocketMatchMultiError) Error ¶
func (m Cluster_TransportSocketMatchMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Cluster_TransportSocketMatchValidationError ¶
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 ¶
func (e Cluster_TransportSocketMatchValidationError) Cause() error
Cause function returns cause value.
func (Cluster_TransportSocketMatchValidationError) Error ¶
func (e Cluster_TransportSocketMatchValidationError) Error() string
Error satisfies the builtin error interface
func (Cluster_TransportSocketMatchValidationError) ErrorName ¶
func (e Cluster_TransportSocketMatchValidationError) ErrorName() string
ErrorName returns error name.
func (Cluster_TransportSocketMatchValidationError) Field ¶
func (e Cluster_TransportSocketMatchValidationError) Field() string
Field function returns field value.
func (Cluster_TransportSocketMatchValidationError) Key ¶
func (e Cluster_TransportSocketMatchValidationError) Key() bool
Key function returns key value.
func (Cluster_TransportSocketMatchValidationError) Reason ¶
func (e Cluster_TransportSocketMatchValidationError) Reason() string
Reason function returns reason value.
type Cluster_Type ¶
type Cluster_Type struct { // The :ref:`service discovery type <arch_overview_service_discovery_types>` // to use for resolving the cluster. Type Cluster_DiscoveryType `protobuf:"varint,2,opt,name=type,proto3,enum=envoy.config.cluster.v3.Cluster_DiscoveryType,oneof"` }
type Filter ¶
type Filter struct { // The name of the filter configuration. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Filter specific configuration which depends on the filter being // instantiated. See the supported filters for further documentation. // Note that Envoy's :ref:`downstream network // filters <config_network_filters>` are not valid upstream filters. TypedConfig *any.Any `protobuf:"bytes,2,opt,name=typed_config,json=typedConfig,proto3" json:"typed_config,omitempty"` // contains filtered or unexported fields }
func (*Filter) Descriptor
deprecated
func (*Filter) GetTypedConfig ¶
func (*Filter) ProtoMessage ¶
func (*Filter) ProtoMessage()
func (*Filter) ProtoReflect ¶
func (x *Filter) ProtoReflect() protoreflect.Message
func (*Filter) Validate ¶
Validate checks the field values on Filter with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Filter) ValidateAll ¶
ValidateAll checks the field values on Filter with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in FilterMultiError, or nil if none found.
type FilterMultiError ¶
type FilterMultiError []error
FilterMultiError is an error wrapping multiple validation errors returned by Filter.ValidateAll() if the designated constraints aren't met.
func (FilterMultiError) AllErrors ¶
func (m FilterMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FilterMultiError) Error ¶
func (m FilterMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FilterValidationError ¶
type FilterValidationError struct {
// contains filtered or unexported fields
}
FilterValidationError is the validation error returned by Filter.Validate if the designated constraints aren't met.
func (FilterValidationError) Cause ¶
func (e FilterValidationError) Cause() error
Cause function returns cause value.
func (FilterValidationError) Error ¶
func (e FilterValidationError) Error() string
Error satisfies the builtin error interface
func (FilterValidationError) ErrorName ¶
func (e FilterValidationError) ErrorName() string
ErrorName returns error name.
func (FilterValidationError) Field ¶
func (e FilterValidationError) Field() string
Field function returns field value.
func (FilterValidationError) Key ¶
func (e FilterValidationError) Key() bool
Key function returns key value.
func (FilterValidationError) Reason ¶
func (e FilterValidationError) Reason() string
Reason function returns reason value.
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"` // contains filtered or unexported fields }
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
deprecated
func (*LoadBalancingPolicy) Descriptor() ([]byte, []int)
Deprecated: Use LoadBalancingPolicy.ProtoReflect.Descriptor instead.
func (*LoadBalancingPolicy) GetPolicies ¶
func (x *LoadBalancingPolicy) GetPolicies() []*LoadBalancingPolicy_Policy
func (*LoadBalancingPolicy) ProtoMessage ¶
func (*LoadBalancingPolicy) ProtoMessage()
func (*LoadBalancingPolicy) ProtoReflect ¶
func (x *LoadBalancingPolicy) ProtoReflect() protoreflect.Message
func (*LoadBalancingPolicy) Reset ¶
func (x *LoadBalancingPolicy) Reset()
func (*LoadBalancingPolicy) String ¶
func (x *LoadBalancingPolicy) String() string
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, the first error encountered is returned, or nil if there are no violations.
func (*LoadBalancingPolicy) ValidateAll ¶
func (m *LoadBalancingPolicy) ValidateAll() error
ValidateAll checks the field values on LoadBalancingPolicy with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LoadBalancingPolicyMultiError, or nil if none found.
type LoadBalancingPolicyMultiError ¶
type LoadBalancingPolicyMultiError []error
LoadBalancingPolicyMultiError is an error wrapping multiple validation errors returned by LoadBalancingPolicy.ValidateAll() if the designated constraints aren't met.
func (LoadBalancingPolicyMultiError) AllErrors ¶
func (m LoadBalancingPolicyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (LoadBalancingPolicyMultiError) Error ¶
func (m LoadBalancingPolicyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
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 ¶
func (e LoadBalancingPolicyValidationError) Cause() error
Cause function returns cause value.
func (LoadBalancingPolicyValidationError) Error ¶
func (e LoadBalancingPolicyValidationError) Error() string
Error satisfies the builtin error interface
func (LoadBalancingPolicyValidationError) ErrorName ¶
func (e LoadBalancingPolicyValidationError) ErrorName() string
ErrorName returns error name.
func (LoadBalancingPolicyValidationError) Field ¶
func (e LoadBalancingPolicyValidationError) Field() string
Field function returns field value.
func (LoadBalancingPolicyValidationError) Key ¶
func (e LoadBalancingPolicyValidationError) Key() bool
Key function returns key value.
func (LoadBalancingPolicyValidationError) Reason ¶
func (e LoadBalancingPolicyValidationError) Reason() string
Reason function returns reason value.
type LoadBalancingPolicy_Policy ¶
type LoadBalancingPolicy_Policy struct { TypedExtensionConfig *v32.TypedExtensionConfig `protobuf:"bytes,4,opt,name=typed_extension_config,json=typedExtensionConfig,proto3" json:"typed_extension_config,omitempty"` // contains filtered or unexported fields }
func (*LoadBalancingPolicy_Policy) Descriptor
deprecated
func (*LoadBalancingPolicy_Policy) Descriptor() ([]byte, []int)
Deprecated: Use LoadBalancingPolicy_Policy.ProtoReflect.Descriptor instead.
func (*LoadBalancingPolicy_Policy) GetTypedExtensionConfig ¶
func (x *LoadBalancingPolicy_Policy) GetTypedExtensionConfig() *v32.TypedExtensionConfig
func (*LoadBalancingPolicy_Policy) ProtoMessage ¶
func (*LoadBalancingPolicy_Policy) ProtoMessage()
func (*LoadBalancingPolicy_Policy) ProtoReflect ¶
func (x *LoadBalancingPolicy_Policy) ProtoReflect() protoreflect.Message
func (*LoadBalancingPolicy_Policy) Reset ¶
func (x *LoadBalancingPolicy_Policy) Reset()
func (*LoadBalancingPolicy_Policy) String ¶
func (x *LoadBalancingPolicy_Policy) String() string
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, the first error encountered is returned, or nil if there are no violations.
func (*LoadBalancingPolicy_Policy) ValidateAll ¶
func (m *LoadBalancingPolicy_Policy) ValidateAll() error
ValidateAll checks the field values on LoadBalancingPolicy_Policy with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LoadBalancingPolicy_PolicyMultiError, or nil if none found.
type LoadBalancingPolicy_PolicyMultiError ¶
type LoadBalancingPolicy_PolicyMultiError []error
LoadBalancingPolicy_PolicyMultiError is an error wrapping multiple validation errors returned by LoadBalancingPolicy_Policy.ValidateAll() if the designated constraints aren't met.
func (LoadBalancingPolicy_PolicyMultiError) AllErrors ¶
func (m LoadBalancingPolicy_PolicyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (LoadBalancingPolicy_PolicyMultiError) Error ¶
func (m LoadBalancingPolicy_PolicyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
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 ¶
func (e LoadBalancingPolicy_PolicyValidationError) Cause() error
Cause function returns cause value.
func (LoadBalancingPolicy_PolicyValidationError) Error ¶
func (e LoadBalancingPolicy_PolicyValidationError) Error() string
Error satisfies the builtin error interface
func (LoadBalancingPolicy_PolicyValidationError) ErrorName ¶
func (e LoadBalancingPolicy_PolicyValidationError) ErrorName() string
ErrorName returns error name.
func (LoadBalancingPolicy_PolicyValidationError) Field ¶
func (e LoadBalancingPolicy_PolicyValidationError) Field() string
Field function returns field value.
func (LoadBalancingPolicy_PolicyValidationError) Key ¶
func (e LoadBalancingPolicy_PolicyValidationError) Key() bool
Key function returns key value.
func (LoadBalancingPolicy_PolicyValidationError) Reason ¶
func (e LoadBalancingPolicy_PolicyValidationError) Reason() string
Reason function returns reason value.
type OutlierDetection ¶
type OutlierDetection struct { // The number of consecutive server-side error responses (for HTTP traffic, // 5xx responses; for TCP traffic, connection failures; for Redis, failure to // respond PONG; etc.) before a consecutive 5xx ejection occurs. Defaults to 5. Consecutive_5Xx *wrappers.UInt32Value `protobuf:"bytes,1,opt,name=consecutive_5xx,json=consecutive5xx,proto3" json:"consecutive_5xx,omitempty"` // The time interval between ejection analysis sweeps. This can result in // both new ejections as well as hosts being returned to service. Defaults // to 10000ms or 10s. Interval *duration.Duration `protobuf:"bytes,2,opt,name=interval,proto3" json:"interval,omitempty"` // The base time that a host is ejected for. The real time is equal to the // base time multiplied by the number of times the host has been ejected and is // capped by :ref:`max_ejection_time<envoy_v3_api_field_config.cluster.v3.OutlierDetection.max_ejection_time>`. // Defaults to 30000ms or 30s. BaseEjectionTime *duration.Duration `protobuf:"bytes,3,opt,name=base_ejection_time,json=baseEjectionTime,proto3" json:"base_ejection_time,omitempty"` // The maximum % of an upstream cluster that can be ejected due to outlier // detection. Defaults to 10% but will eject at least one host regardless of the value. MaxEjectionPercent *wrappers.UInt32Value `protobuf:"bytes,4,opt,name=max_ejection_percent,json=maxEjectionPercent,proto3" json:"max_ejection_percent,omitempty"` // The % chance that a host will be actually ejected when an outlier status // is detected through consecutive 5xx. This setting can be used to disable // ejection or to ramp it up slowly. Defaults to 100. EnforcingConsecutive_5Xx *wrappers.UInt32Value `` /* 132-byte string literal not displayed */ // The % chance that a host will be actually ejected when an outlier status // is detected through success rate statistics. This setting can be used to // disable ejection or to ramp it up slowly. Defaults to 100. EnforcingSuccessRate *wrappers.UInt32Value `protobuf:"bytes,6,opt,name=enforcing_success_rate,json=enforcingSuccessRate,proto3" json:"enforcing_success_rate,omitempty"` // The number of hosts in a cluster that must have enough request volume to // detect success rate outliers. If the number of hosts is less than this // setting, outlier detection via success rate statistics is not performed // for any host in the cluster. Defaults to 5. SuccessRateMinimumHosts *wrappers.UInt32Value `` /* 134-byte string literal not displayed */ // The minimum number of total requests that must be collected in one // interval (as defined by the interval duration above) to include this host // in success rate based outlier detection. If the volume is lower than this // setting, outlier detection via success rate statistics is not performed // for that host. Defaults to 100. SuccessRateRequestVolume *wrappers.UInt32Value `` /* 137-byte string literal not displayed */ // This factor is used to determine the ejection threshold for success rate // outlier ejection. The ejection threshold is the difference between the // mean success rate, and the product of this factor and the standard // deviation of the mean success rate: mean - (stdev * // success_rate_stdev_factor). This factor is divided by a thousand to get a // double. That is, if the desired factor is 1.9, the runtime value should // be 1900. Defaults to 1900. SuccessRateStdevFactor *wrappers.UInt32Value `` /* 131-byte string literal not displayed */ // The number of consecutive gateway failures (502, 503, 504 status codes) // before a consecutive gateway failure ejection occurs. Defaults to 5. ConsecutiveGatewayFailure *wrappers.UInt32Value `` /* 139-byte string literal not displayed */ // The % chance that a host will be actually ejected when an outlier status // is detected through consecutive gateway failures. This setting can be // used to disable ejection or to ramp it up slowly. Defaults to 0. EnforcingConsecutiveGatewayFailure *wrappers.UInt32Value `` /* 168-byte string literal not displayed */ // Determines whether to distinguish local origin failures from external errors. If set to true // the following configuration parameters are taken into account: // :ref:`consecutive_local_origin_failure<envoy_v3_api_field_config.cluster.v3.OutlierDetection.consecutive_local_origin_failure>`, // :ref:`enforcing_consecutive_local_origin_failure<envoy_v3_api_field_config.cluster.v3.OutlierDetection.enforcing_consecutive_local_origin_failure>` // and // :ref:`enforcing_local_origin_success_rate<envoy_v3_api_field_config.cluster.v3.OutlierDetection.enforcing_local_origin_success_rate>`. // Defaults to false. SplitExternalLocalOriginErrors bool `` /* 159-byte string literal not displayed */ // The number of consecutive locally originated failures before ejection // occurs. Defaults to 5. Parameter takes effect only when // :ref:`split_external_local_origin_errors<envoy_v3_api_field_config.cluster.v3.OutlierDetection.split_external_local_origin_errors>` // is set to true. ConsecutiveLocalOriginFailure *wrappers.UInt32Value `` /* 153-byte string literal not displayed */ // The % chance that a host will be actually ejected when an outlier status // is detected through consecutive locally originated failures. This setting can be // used to disable ejection or to ramp it up slowly. Defaults to 100. // Parameter takes effect only when // :ref:`split_external_local_origin_errors<envoy_v3_api_field_config.cluster.v3.OutlierDetection.split_external_local_origin_errors>` // is set to true. EnforcingConsecutiveLocalOriginFailure *wrappers.UInt32Value `` /* 182-byte string literal not displayed */ // The % chance that a host will be actually ejected when an outlier status // is detected through success rate statistics for locally originated errors. // This setting can be used to disable ejection or to ramp it up slowly. Defaults to 100. // Parameter takes effect only when // :ref:`split_external_local_origin_errors<envoy_v3_api_field_config.cluster.v3.OutlierDetection.split_external_local_origin_errors>` // is set to true. EnforcingLocalOriginSuccessRate *wrappers.UInt32Value `` /* 161-byte string literal not displayed */ // The failure percentage to use when determining failure percentage-based outlier detection. If // the failure percentage of a given host is greater than or equal to this value, it will be // ejected. Defaults to 85. FailurePercentageThreshold *wrappers.UInt32Value `` /* 142-byte string literal not displayed */ // The % chance that a host will be actually ejected when an outlier status is detected through // failure percentage statistics. This setting can be used to disable ejection or to ramp it up // slowly. Defaults to 0. // // [#next-major-version: setting this without setting failure_percentage_threshold should be // invalid in v4.] EnforcingFailurePercentage *wrappers.UInt32Value `` /* 142-byte string literal not displayed */ // The % chance that a host will be actually ejected when an outlier status is detected through // local-origin failure percentage statistics. This setting can be used to disable ejection or to // ramp it up slowly. Defaults to 0. EnforcingFailurePercentageLocalOrigin *wrappers.UInt32Value `` /* 179-byte string literal not displayed */ // The minimum number of hosts in a cluster in order to perform failure percentage-based ejection. // If the total number of hosts in the cluster is less than this value, failure percentage-based // ejection will not be performed. Defaults to 5. FailurePercentageMinimumHosts *wrappers.UInt32Value `` /* 153-byte string literal not displayed */ // The minimum number of total requests that must be collected in one interval (as defined by the // interval duration above) to perform failure percentage-based ejection for this host. If the // volume is lower than this setting, failure percentage-based ejection will not be performed for // this host. Defaults to 50. FailurePercentageRequestVolume *wrappers.UInt32Value `` /* 156-byte string literal not displayed */ // The maximum time that a host is ejected for. See :ref:`base_ejection_time<envoy_v3_api_field_config.cluster.v3.OutlierDetection.base_ejection_time>` // for more information. If not specified, the default value (300000ms or 300s) or // :ref:`base_ejection_time<envoy_v3_api_field_config.cluster.v3.OutlierDetection.base_ejection_time>` value is applied, whatever is larger. MaxEjectionTime *duration.Duration `protobuf:"bytes,21,opt,name=max_ejection_time,json=maxEjectionTime,proto3" json:"max_ejection_time,omitempty"` // The maximum amount of jitter to add to the ejection time, in order to prevent // a 'thundering herd' effect where all proxies try to reconnect to host at the same time. // See :ref:`max_ejection_time_jitter<envoy_v3_api_field_config.cluster.v3.OutlierDetection.base_ejection_time>` // Defaults to 0s. MaxEjectionTimeJitter *duration.Duration `` /* 129-byte string literal not displayed */ // contains filtered or unexported fields }
See the :ref:`architecture overview <arch_overview_outlier_detection>` for more information on outlier detection. [#next-free-field: 23]
func (*OutlierDetection) Descriptor
deprecated
func (*OutlierDetection) Descriptor() ([]byte, []int)
Deprecated: Use OutlierDetection.ProtoReflect.Descriptor instead.
func (*OutlierDetection) GetBaseEjectionTime ¶
func (x *OutlierDetection) GetBaseEjectionTime() *duration.Duration
func (*OutlierDetection) GetConsecutiveGatewayFailure ¶
func (x *OutlierDetection) GetConsecutiveGatewayFailure() *wrappers.UInt32Value
func (*OutlierDetection) GetConsecutiveLocalOriginFailure ¶
func (x *OutlierDetection) GetConsecutiveLocalOriginFailure() *wrappers.UInt32Value
func (*OutlierDetection) GetConsecutive_5Xx ¶
func (x *OutlierDetection) GetConsecutive_5Xx() *wrappers.UInt32Value
func (*OutlierDetection) GetEnforcingConsecutiveGatewayFailure ¶
func (x *OutlierDetection) GetEnforcingConsecutiveGatewayFailure() *wrappers.UInt32Value
func (*OutlierDetection) GetEnforcingConsecutiveLocalOriginFailure ¶
func (x *OutlierDetection) GetEnforcingConsecutiveLocalOriginFailure() *wrappers.UInt32Value
func (*OutlierDetection) GetEnforcingConsecutive_5Xx ¶
func (x *OutlierDetection) GetEnforcingConsecutive_5Xx() *wrappers.UInt32Value
func (*OutlierDetection) GetEnforcingFailurePercentage ¶
func (x *OutlierDetection) GetEnforcingFailurePercentage() *wrappers.UInt32Value
func (*OutlierDetection) GetEnforcingFailurePercentageLocalOrigin ¶
func (x *OutlierDetection) GetEnforcingFailurePercentageLocalOrigin() *wrappers.UInt32Value
func (*OutlierDetection) GetEnforcingLocalOriginSuccessRate ¶
func (x *OutlierDetection) GetEnforcingLocalOriginSuccessRate() *wrappers.UInt32Value
func (*OutlierDetection) GetEnforcingSuccessRate ¶
func (x *OutlierDetection) GetEnforcingSuccessRate() *wrappers.UInt32Value
func (*OutlierDetection) GetFailurePercentageMinimumHosts ¶
func (x *OutlierDetection) GetFailurePercentageMinimumHosts() *wrappers.UInt32Value
func (*OutlierDetection) GetFailurePercentageRequestVolume ¶
func (x *OutlierDetection) GetFailurePercentageRequestVolume() *wrappers.UInt32Value
func (*OutlierDetection) GetFailurePercentageThreshold ¶
func (x *OutlierDetection) GetFailurePercentageThreshold() *wrappers.UInt32Value
func (*OutlierDetection) GetInterval ¶
func (x *OutlierDetection) GetInterval() *duration.Duration
func (*OutlierDetection) GetMaxEjectionPercent ¶
func (x *OutlierDetection) GetMaxEjectionPercent() *wrappers.UInt32Value
func (*OutlierDetection) GetMaxEjectionTime ¶
func (x *OutlierDetection) GetMaxEjectionTime() *duration.Duration
func (*OutlierDetection) GetMaxEjectionTimeJitter ¶
func (x *OutlierDetection) GetMaxEjectionTimeJitter() *duration.Duration
func (*OutlierDetection) GetSplitExternalLocalOriginErrors ¶
func (x *OutlierDetection) GetSplitExternalLocalOriginErrors() bool
func (*OutlierDetection) GetSuccessRateMinimumHosts ¶
func (x *OutlierDetection) GetSuccessRateMinimumHosts() *wrappers.UInt32Value
func (*OutlierDetection) GetSuccessRateRequestVolume ¶
func (x *OutlierDetection) GetSuccessRateRequestVolume() *wrappers.UInt32Value
func (*OutlierDetection) GetSuccessRateStdevFactor ¶
func (x *OutlierDetection) GetSuccessRateStdevFactor() *wrappers.UInt32Value
func (*OutlierDetection) ProtoMessage ¶
func (*OutlierDetection) ProtoMessage()
func (*OutlierDetection) ProtoReflect ¶
func (x *OutlierDetection) ProtoReflect() protoreflect.Message
func (*OutlierDetection) Reset ¶
func (x *OutlierDetection) Reset()
func (*OutlierDetection) String ¶
func (x *OutlierDetection) String() string
func (*OutlierDetection) Validate ¶
func (m *OutlierDetection) Validate() error
Validate checks the field values on OutlierDetection with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*OutlierDetection) ValidateAll ¶
func (m *OutlierDetection) ValidateAll() error
ValidateAll checks the field values on OutlierDetection with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in OutlierDetectionMultiError, or nil if none found.
type OutlierDetectionMultiError ¶
type OutlierDetectionMultiError []error
OutlierDetectionMultiError is an error wrapping multiple validation errors returned by OutlierDetection.ValidateAll() if the designated constraints aren't met.
func (OutlierDetectionMultiError) AllErrors ¶
func (m OutlierDetectionMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (OutlierDetectionMultiError) Error ¶
func (m OutlierDetectionMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type OutlierDetectionValidationError ¶
type OutlierDetectionValidationError struct {
// contains filtered or unexported fields
}
OutlierDetectionValidationError is the validation error returned by OutlierDetection.Validate if the designated constraints aren't met.
func (OutlierDetectionValidationError) Cause ¶
func (e OutlierDetectionValidationError) Cause() error
Cause function returns cause value.
func (OutlierDetectionValidationError) Error ¶
func (e OutlierDetectionValidationError) Error() string
Error satisfies the builtin error interface
func (OutlierDetectionValidationError) ErrorName ¶
func (e OutlierDetectionValidationError) ErrorName() string
ErrorName returns error name.
func (OutlierDetectionValidationError) Field ¶
func (e OutlierDetectionValidationError) Field() string
Field function returns field value.
func (OutlierDetectionValidationError) Key ¶
func (e OutlierDetectionValidationError) Key() bool
Key function returns key value.
func (OutlierDetectionValidationError) Reason ¶
func (e OutlierDetectionValidationError) Reason() string
Reason function returns reason value.
type TrackClusterStats ¶
type TrackClusterStats struct { // If timeout_budgets is true, the :ref:`timeout budget histograms // <config_cluster_manager_cluster_stats_timeout_budgets>` will be published for each // request. These show what percentage of a request's per try and global timeout was used. A value // of 0 would indicate that none of the timeout was used or that the timeout was infinite. A value // of 100 would indicate that the request took the entirety of the timeout given to it. TimeoutBudgets bool `protobuf:"varint,1,opt,name=timeout_budgets,json=timeoutBudgets,proto3" json:"timeout_budgets,omitempty"` // If request_response_sizes is true, then the :ref:`histograms // <config_cluster_manager_cluster_stats_request_response_sizes>` tracking header and body sizes // of requests and responses will be published. RequestResponseSizes bool `protobuf:"varint,2,opt,name=request_response_sizes,json=requestResponseSizes,proto3" json:"request_response_sizes,omitempty"` // contains filtered or unexported fields }
func (*TrackClusterStats) Descriptor
deprecated
func (*TrackClusterStats) Descriptor() ([]byte, []int)
Deprecated: Use TrackClusterStats.ProtoReflect.Descriptor instead.
func (*TrackClusterStats) GetRequestResponseSizes ¶
func (x *TrackClusterStats) GetRequestResponseSizes() bool
func (*TrackClusterStats) GetTimeoutBudgets ¶
func (x *TrackClusterStats) GetTimeoutBudgets() bool
func (*TrackClusterStats) ProtoMessage ¶
func (*TrackClusterStats) ProtoMessage()
func (*TrackClusterStats) ProtoReflect ¶
func (x *TrackClusterStats) ProtoReflect() protoreflect.Message
func (*TrackClusterStats) Reset ¶
func (x *TrackClusterStats) Reset()
func (*TrackClusterStats) String ¶
func (x *TrackClusterStats) String() string
func (*TrackClusterStats) Validate ¶
func (m *TrackClusterStats) Validate() error
Validate checks the field values on TrackClusterStats with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*TrackClusterStats) ValidateAll ¶
func (m *TrackClusterStats) ValidateAll() error
ValidateAll checks the field values on TrackClusterStats with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in TrackClusterStatsMultiError, or nil if none found.
type TrackClusterStatsMultiError ¶
type TrackClusterStatsMultiError []error
TrackClusterStatsMultiError is an error wrapping multiple validation errors returned by TrackClusterStats.ValidateAll() if the designated constraints aren't met.
func (TrackClusterStatsMultiError) AllErrors ¶
func (m TrackClusterStatsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TrackClusterStatsMultiError) Error ¶
func (m TrackClusterStatsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TrackClusterStatsValidationError ¶
type TrackClusterStatsValidationError struct {
// contains filtered or unexported fields
}
TrackClusterStatsValidationError is the validation error returned by TrackClusterStats.Validate if the designated constraints aren't met.
func (TrackClusterStatsValidationError) Cause ¶
func (e TrackClusterStatsValidationError) Cause() error
Cause function returns cause value.
func (TrackClusterStatsValidationError) Error ¶
func (e TrackClusterStatsValidationError) Error() string
Error satisfies the builtin error interface
func (TrackClusterStatsValidationError) ErrorName ¶
func (e TrackClusterStatsValidationError) ErrorName() string
ErrorName returns error name.
func (TrackClusterStatsValidationError) Field ¶
func (e TrackClusterStatsValidationError) Field() string
Field function returns field value.
func (TrackClusterStatsValidationError) Key ¶
func (e TrackClusterStatsValidationError) Key() bool
Key function returns key value.
func (TrackClusterStatsValidationError) Reason ¶
func (e TrackClusterStatsValidationError) Reason() string
Reason function returns reason value.
type UpstreamConnectionOptions ¶
type UpstreamConnectionOptions struct { // If set then set SO_KEEPALIVE on the socket to enable TCP Keepalives. TcpKeepalive *v32.TcpKeepalive `protobuf:"bytes,1,opt,name=tcp_keepalive,json=tcpKeepalive,proto3" json:"tcp_keepalive,omitempty"` // If enabled, associates the interface name of the local address with the upstream connection. // This can be used by extensions during processing of requests. The association mechanism is // implementation specific. Defaults to false due to performance concerns. SetLocalInterfaceNameOnUpstreamConnections bool `` /* 198-byte string literal not displayed */ // contains filtered or unexported fields }
func (*UpstreamConnectionOptions) Descriptor
deprecated
func (*UpstreamConnectionOptions) Descriptor() ([]byte, []int)
Deprecated: Use UpstreamConnectionOptions.ProtoReflect.Descriptor instead.
func (*UpstreamConnectionOptions) GetSetLocalInterfaceNameOnUpstreamConnections ¶
func (x *UpstreamConnectionOptions) GetSetLocalInterfaceNameOnUpstreamConnections() bool
func (*UpstreamConnectionOptions) GetTcpKeepalive ¶
func (x *UpstreamConnectionOptions) GetTcpKeepalive() *v32.TcpKeepalive
func (*UpstreamConnectionOptions) ProtoMessage ¶
func (*UpstreamConnectionOptions) ProtoMessage()
func (*UpstreamConnectionOptions) ProtoReflect ¶
func (x *UpstreamConnectionOptions) ProtoReflect() protoreflect.Message
func (*UpstreamConnectionOptions) Reset ¶
func (x *UpstreamConnectionOptions) Reset()
func (*UpstreamConnectionOptions) String ¶
func (x *UpstreamConnectionOptions) String() string
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, the first error encountered is returned, or nil if there are no violations.
func (*UpstreamConnectionOptions) ValidateAll ¶
func (m *UpstreamConnectionOptions) ValidateAll() error
ValidateAll checks the field values on UpstreamConnectionOptions with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpstreamConnectionOptionsMultiError, or nil if none found.
type UpstreamConnectionOptionsMultiError ¶
type UpstreamConnectionOptionsMultiError []error
UpstreamConnectionOptionsMultiError is an error wrapping multiple validation errors returned by UpstreamConnectionOptions.ValidateAll() if the designated constraints aren't met.
func (UpstreamConnectionOptionsMultiError) AllErrors ¶
func (m UpstreamConnectionOptionsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpstreamConnectionOptionsMultiError) Error ¶
func (m UpstreamConnectionOptionsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
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 ¶
func (e UpstreamConnectionOptionsValidationError) Cause() error
Cause function returns cause value.
func (UpstreamConnectionOptionsValidationError) Error ¶
func (e UpstreamConnectionOptionsValidationError) Error() string
Error satisfies the builtin error interface
func (UpstreamConnectionOptionsValidationError) ErrorName ¶
func (e UpstreamConnectionOptionsValidationError) ErrorName() string
ErrorName returns error name.
func (UpstreamConnectionOptionsValidationError) Field ¶
func (e UpstreamConnectionOptionsValidationError) Field() string
Field function returns field value.
func (UpstreamConnectionOptionsValidationError) Key ¶
func (e UpstreamConnectionOptionsValidationError) Key() bool
Key function returns key value.
func (UpstreamConnectionOptionsValidationError) Reason ¶
func (e UpstreamConnectionOptionsValidationError) Reason() string
Reason function returns reason value.