go-control-plane: github.com/envoyproxy/go-control-plane/envoy/config/endpoint/v3 Index | Files

package envoy_config_endpoint_v3

import "github.com/envoyproxy/go-control-plane/envoy/config/endpoint/v3"

Index

Package Files

endpoint.pb.go endpoint.pb.validate.go endpoint_components.pb.go endpoint_components.pb.validate.go load_report.pb.go load_report.pb.validate.go

Variables

var File_envoy_config_endpoint_v3_endpoint_components_proto protoreflect.FileDescriptor
var File_envoy_config_endpoint_v3_endpoint_proto protoreflect.FileDescriptor
var File_envoy_config_endpoint_v3_load_report_proto protoreflect.FileDescriptor

type ClusterLoadAssignment Uses

type ClusterLoadAssignment struct {

    // Name of the cluster. This will be the :ref:`service_name
    // <envoy_api_field_config.cluster.v3.Cluster.EdsClusterConfig.service_name>` value if specified
    // in the cluster :ref:`EdsClusterConfig
    // <envoy_api_msg_config.cluster.v3.Cluster.EdsClusterConfig>`.
    ClusterName string `protobuf:"bytes,1,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"`
    // List of endpoints to load balance to.
    Endpoints []*LocalityLbEndpoints `protobuf:"bytes,2,rep,name=endpoints,proto3" json:"endpoints,omitempty"`
    // Map of named endpoints that can be referenced in LocalityLbEndpoints.
    // [#not-implemented-hide:]
    NamedEndpoints map[string]*Endpoint `protobuf:"bytes,5,rep,name=named_endpoints,json=namedEndpoints,proto3" json:"named_endpoints,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
    // Load balancing policy settings.
    Policy *ClusterLoadAssignment_Policy `protobuf:"bytes,4,opt,name=policy,proto3" json:"policy,omitempty"`
    // contains filtered or unexported fields
}

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

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

func (*ClusterLoadAssignment) Descriptor Uses

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

Deprecated: Use ClusterLoadAssignment.ProtoReflect.Descriptor instead.

func (*ClusterLoadAssignment) GetClusterName Uses

func (x *ClusterLoadAssignment) GetClusterName() string

func (*ClusterLoadAssignment) GetEndpoints Uses

func (x *ClusterLoadAssignment) GetEndpoints() []*LocalityLbEndpoints

func (*ClusterLoadAssignment) GetNamedEndpoints Uses

func (x *ClusterLoadAssignment) GetNamedEndpoints() map[string]*Endpoint

func (*ClusterLoadAssignment) GetPolicy Uses

func (x *ClusterLoadAssignment) GetPolicy() *ClusterLoadAssignment_Policy

func (*ClusterLoadAssignment) ProtoMessage Uses

func (*ClusterLoadAssignment) ProtoMessage()

func (*ClusterLoadAssignment) ProtoReflect Uses

func (x *ClusterLoadAssignment) ProtoReflect() protoreflect.Message

func (*ClusterLoadAssignment) Reset Uses

func (x *ClusterLoadAssignment) Reset()

func (*ClusterLoadAssignment) String Uses

func (x *ClusterLoadAssignment) String() string

func (*ClusterLoadAssignment) Validate Uses

func (m *ClusterLoadAssignment) Validate() error

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

type ClusterLoadAssignmentValidationError Uses

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

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

func (ClusterLoadAssignmentValidationError) Cause Uses

func (e ClusterLoadAssignmentValidationError) Cause() error

Cause function returns cause value.

func (ClusterLoadAssignmentValidationError) Error Uses

func (e ClusterLoadAssignmentValidationError) Error() string

Error satisfies the builtin error interface

func (ClusterLoadAssignmentValidationError) ErrorName Uses

func (e ClusterLoadAssignmentValidationError) ErrorName() string

ErrorName returns error name.

func (ClusterLoadAssignmentValidationError) Field Uses

func (e ClusterLoadAssignmentValidationError) Field() string

Field function returns field value.

func (ClusterLoadAssignmentValidationError) Key Uses

func (e ClusterLoadAssignmentValidationError) Key() bool

Key function returns key value.

func (ClusterLoadAssignmentValidationError) Reason Uses

func (e ClusterLoadAssignmentValidationError) Reason() string

Reason function returns reason value.

type ClusterLoadAssignment_Policy Uses

type ClusterLoadAssignment_Policy struct {

    // Action to trim the overall incoming traffic to protect the upstream
    // hosts. This action allows protection in case the hosts are unable to
    // recover from an outage, or unable to autoscale or unable to handle
    // incoming traffic volume for any reason.
    //
    // At the client each category is applied one after the other to generate
    // the 'actual' drop percentage on all outgoing traffic. For example:
    //
    // .. code-block:: json
    //
    //  { "drop_overloads": [
    //      { "category": "throttle", "drop_percentage": 60 }
    //      { "category": "lb", "drop_percentage": 50 }
    //  ]}
    //
    // The actual drop percentages applied to the traffic at the clients will be
    //    "throttle"_drop = 60%
    //    "lb"_drop = 20%  // 50% of the remaining 'actual' load, which is 40%.
    //    actual_outgoing_load = 20% // remaining after applying all categories.
    // [#not-implemented-hide:]
    DropOverloads []*ClusterLoadAssignment_Policy_DropOverload `protobuf:"bytes,2,rep,name=drop_overloads,json=dropOverloads,proto3" json:"drop_overloads,omitempty"`
    // Priority levels and localities are considered overprovisioned with this
    // factor (in percentage). This means that we don't consider a priority
    // level or locality unhealthy until the fraction of healthy hosts
    // multiplied by the overprovisioning factor drops below 100.
    // With the default value 140(1.4), Envoy doesn't consider a priority level
    // or a locality unhealthy until their percentage of healthy hosts drops
    // below 72%. For example:
    //
    // .. code-block:: json
    //
    //  { "overprovisioning_factor": 100 }
    //
    // Read more at :ref:`priority levels <arch_overview_load_balancing_priority_levels>` and
    // :ref:`localities <arch_overview_load_balancing_locality_weighted_lb>`.
    OverprovisioningFactor *wrappers.UInt32Value `protobuf:"bytes,3,opt,name=overprovisioning_factor,json=overprovisioningFactor,proto3" json:"overprovisioning_factor,omitempty"`
    // The max time until which the endpoints from this assignment can be used.
    // If no new assignments are received before this time expires the endpoints
    // are considered stale and should be marked unhealthy.
    // Defaults to 0 which means endpoints never go stale.
    EndpointStaleAfter *duration.Duration `protobuf:"bytes,4,opt,name=endpoint_stale_after,json=endpointStaleAfter,proto3" json:"endpoint_stale_after,omitempty"`
    // Deprecated: Do not use.
    HiddenEnvoyDeprecatedDisableOverprovisioning bool `protobuf:"varint,5,opt,name=hidden_envoy_deprecated_disable_overprovisioning,json=hiddenEnvoyDeprecatedDisableOverprovisioning,proto3" json:"hidden_envoy_deprecated_disable_overprovisioning,omitempty"`
    // contains filtered or unexported fields
}

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

func (*ClusterLoadAssignment_Policy) Descriptor Uses

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

Deprecated: Use ClusterLoadAssignment_Policy.ProtoReflect.Descriptor instead.

func (*ClusterLoadAssignment_Policy) GetDropOverloads Uses

func (x *ClusterLoadAssignment_Policy) GetDropOverloads() []*ClusterLoadAssignment_Policy_DropOverload

func (*ClusterLoadAssignment_Policy) GetEndpointStaleAfter Uses

func (x *ClusterLoadAssignment_Policy) GetEndpointStaleAfter() *duration.Duration

func (*ClusterLoadAssignment_Policy) GetHiddenEnvoyDeprecatedDisableOverprovisioning Uses

func (x *ClusterLoadAssignment_Policy) GetHiddenEnvoyDeprecatedDisableOverprovisioning() bool

Deprecated: Do not use.

func (*ClusterLoadAssignment_Policy) GetOverprovisioningFactor Uses

func (x *ClusterLoadAssignment_Policy) GetOverprovisioningFactor() *wrappers.UInt32Value

func (*ClusterLoadAssignment_Policy) ProtoMessage Uses

func (*ClusterLoadAssignment_Policy) ProtoMessage()

func (*ClusterLoadAssignment_Policy) ProtoReflect Uses

func (x *ClusterLoadAssignment_Policy) ProtoReflect() protoreflect.Message

func (*ClusterLoadAssignment_Policy) Reset Uses

func (x *ClusterLoadAssignment_Policy) Reset()

func (*ClusterLoadAssignment_Policy) String Uses

func (x *ClusterLoadAssignment_Policy) String() string

func (*ClusterLoadAssignment_Policy) Validate Uses

func (m *ClusterLoadAssignment_Policy) Validate() error

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

type ClusterLoadAssignment_PolicyValidationError Uses

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

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

func (ClusterLoadAssignment_PolicyValidationError) Cause Uses

func (e ClusterLoadAssignment_PolicyValidationError) Cause() error

Cause function returns cause value.

func (ClusterLoadAssignment_PolicyValidationError) Error Uses

func (e ClusterLoadAssignment_PolicyValidationError) Error() string

Error satisfies the builtin error interface

func (ClusterLoadAssignment_PolicyValidationError) ErrorName Uses

func (e ClusterLoadAssignment_PolicyValidationError) ErrorName() string

ErrorName returns error name.

func (ClusterLoadAssignment_PolicyValidationError) Field Uses

func (e ClusterLoadAssignment_PolicyValidationError) Field() string

Field function returns field value.

func (ClusterLoadAssignment_PolicyValidationError) Key Uses

func (e ClusterLoadAssignment_PolicyValidationError) Key() bool

Key function returns key value.

func (ClusterLoadAssignment_PolicyValidationError) Reason Uses

func (e ClusterLoadAssignment_PolicyValidationError) Reason() string

Reason function returns reason value.

type ClusterLoadAssignment_Policy_DropOverload Uses

type ClusterLoadAssignment_Policy_DropOverload struct {

    // Identifier for the policy specifying the drop.
    Category string `protobuf:"bytes,1,opt,name=category,proto3" json:"category,omitempty"`
    // Percentage of traffic that should be dropped for the category.
    DropPercentage *v3.FractionalPercent `protobuf:"bytes,2,opt,name=drop_percentage,json=dropPercentage,proto3" json:"drop_percentage,omitempty"`
    // contains filtered or unexported fields
}

[#not-implemented-hide:]

func (*ClusterLoadAssignment_Policy_DropOverload) Descriptor Uses

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

Deprecated: Use ClusterLoadAssignment_Policy_DropOverload.ProtoReflect.Descriptor instead.

func (*ClusterLoadAssignment_Policy_DropOverload) GetCategory Uses

func (x *ClusterLoadAssignment_Policy_DropOverload) GetCategory() string

func (*ClusterLoadAssignment_Policy_DropOverload) GetDropPercentage Uses

func (x *ClusterLoadAssignment_Policy_DropOverload) GetDropPercentage() *v3.FractionalPercent

func (*ClusterLoadAssignment_Policy_DropOverload) ProtoMessage Uses

func (*ClusterLoadAssignment_Policy_DropOverload) ProtoMessage()

func (*ClusterLoadAssignment_Policy_DropOverload) ProtoReflect Uses

func (x *ClusterLoadAssignment_Policy_DropOverload) ProtoReflect() protoreflect.Message

func (*ClusterLoadAssignment_Policy_DropOverload) Reset Uses

func (x *ClusterLoadAssignment_Policy_DropOverload) Reset()

func (*ClusterLoadAssignment_Policy_DropOverload) String Uses

func (x *ClusterLoadAssignment_Policy_DropOverload) String() string

func (*ClusterLoadAssignment_Policy_DropOverload) Validate Uses

func (m *ClusterLoadAssignment_Policy_DropOverload) Validate() error

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

type ClusterLoadAssignment_Policy_DropOverloadValidationError Uses

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

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

func (ClusterLoadAssignment_Policy_DropOverloadValidationError) Cause Uses

func (e ClusterLoadAssignment_Policy_DropOverloadValidationError) Cause() error

Cause function returns cause value.

func (ClusterLoadAssignment_Policy_DropOverloadValidationError) Error Uses

func (e ClusterLoadAssignment_Policy_DropOverloadValidationError) Error() string

Error satisfies the builtin error interface

func (ClusterLoadAssignment_Policy_DropOverloadValidationError) ErrorName Uses

func (e ClusterLoadAssignment_Policy_DropOverloadValidationError) ErrorName() string

ErrorName returns error name.

func (ClusterLoadAssignment_Policy_DropOverloadValidationError) Field Uses

func (e ClusterLoadAssignment_Policy_DropOverloadValidationError) Field() string

Field function returns field value.

func (ClusterLoadAssignment_Policy_DropOverloadValidationError) Key Uses

func (e ClusterLoadAssignment_Policy_DropOverloadValidationError) Key() bool

Key function returns key value.

func (ClusterLoadAssignment_Policy_DropOverloadValidationError) Reason Uses

func (e ClusterLoadAssignment_Policy_DropOverloadValidationError) Reason() string

Reason function returns reason value.

type ClusterStats Uses

type ClusterStats struct {

    // The name of the cluster.
    ClusterName string `protobuf:"bytes,1,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"`
    // The eds_cluster_config service_name of the cluster.
    // It's possible that two clusters send the same service_name to EDS,
    // in that case, the management server is supposed to do aggregation on the load reports.
    ClusterServiceName string `protobuf:"bytes,6,opt,name=cluster_service_name,json=clusterServiceName,proto3" json:"cluster_service_name,omitempty"`
    // Need at least one.
    UpstreamLocalityStats []*UpstreamLocalityStats `protobuf:"bytes,2,rep,name=upstream_locality_stats,json=upstreamLocalityStats,proto3" json:"upstream_locality_stats,omitempty"`
    // Cluster-level stats such as total_successful_requests may be computed by
    // summing upstream_locality_stats. In addition, below there are additional
    // cluster-wide stats.
    //
    // The total number of dropped requests. This covers requests
    // deliberately dropped by the drop_overload policy and circuit breaking.
    TotalDroppedRequests uint64 `protobuf:"varint,3,opt,name=total_dropped_requests,json=totalDroppedRequests,proto3" json:"total_dropped_requests,omitempty"`
    // Information about deliberately dropped requests for each category specified
    // in the DropOverload policy.
    DroppedRequests []*ClusterStats_DroppedRequests `protobuf:"bytes,5,rep,name=dropped_requests,json=droppedRequests,proto3" json:"dropped_requests,omitempty"`
    // Period over which the actual load report occurred. This will be guaranteed to include every
    // request reported. Due to system load and delays between the *LoadStatsRequest* sent from Envoy
    // and the *LoadStatsResponse* message sent from the management server, this may be longer than
    // the requested load reporting interval in the *LoadStatsResponse*.
    LoadReportInterval *duration.Duration `protobuf:"bytes,4,opt,name=load_report_interval,json=loadReportInterval,proto3" json:"load_report_interval,omitempty"`
    // contains filtered or unexported fields
}

Per cluster load stats. Envoy reports these stats a management server in a :ref:`LoadStatsRequest<envoy_api_msg_service.load_stats.v3.LoadStatsRequest>` Next ID: 7 [#next-free-field: 7]

func (*ClusterStats) Descriptor Uses

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

Deprecated: Use ClusterStats.ProtoReflect.Descriptor instead.

func (*ClusterStats) GetClusterName Uses

func (x *ClusterStats) GetClusterName() string

func (*ClusterStats) GetClusterServiceName Uses

func (x *ClusterStats) GetClusterServiceName() string

func (*ClusterStats) GetDroppedRequests Uses

func (x *ClusterStats) GetDroppedRequests() []*ClusterStats_DroppedRequests

func (*ClusterStats) GetLoadReportInterval Uses

func (x *ClusterStats) GetLoadReportInterval() *duration.Duration

func (*ClusterStats) GetTotalDroppedRequests Uses

func (x *ClusterStats) GetTotalDroppedRequests() uint64

func (*ClusterStats) GetUpstreamLocalityStats Uses

func (x *ClusterStats) GetUpstreamLocalityStats() []*UpstreamLocalityStats

func (*ClusterStats) ProtoMessage Uses

func (*ClusterStats) ProtoMessage()

func (*ClusterStats) ProtoReflect Uses

func (x *ClusterStats) ProtoReflect() protoreflect.Message

func (*ClusterStats) Reset Uses

func (x *ClusterStats) Reset()

func (*ClusterStats) String Uses

func (x *ClusterStats) String() string

func (*ClusterStats) Validate Uses

func (m *ClusterStats) Validate() error

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

type ClusterStatsValidationError Uses

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

ClusterStatsValidationError is the validation error returned by ClusterStats.Validate if the designated constraints aren't met.

func (ClusterStatsValidationError) Cause Uses

func (e ClusterStatsValidationError) Cause() error

Cause function returns cause value.

func (ClusterStatsValidationError) Error Uses

func (e ClusterStatsValidationError) Error() string

Error satisfies the builtin error interface

func (ClusterStatsValidationError) ErrorName Uses

func (e ClusterStatsValidationError) ErrorName() string

ErrorName returns error name.

func (ClusterStatsValidationError) Field Uses

func (e ClusterStatsValidationError) Field() string

Field function returns field value.

func (ClusterStatsValidationError) Key Uses

func (e ClusterStatsValidationError) Key() bool

Key function returns key value.

func (ClusterStatsValidationError) Reason Uses

func (e ClusterStatsValidationError) Reason() string

Reason function returns reason value.

type ClusterStats_DroppedRequests Uses

type ClusterStats_DroppedRequests struct {

    // Identifier for the policy specifying the drop.
    Category string `protobuf:"bytes,1,opt,name=category,proto3" json:"category,omitempty"`
    // Total number of deliberately dropped requests for the category.
    DroppedCount uint64 `protobuf:"varint,2,opt,name=dropped_count,json=droppedCount,proto3" json:"dropped_count,omitempty"`
    // contains filtered or unexported fields
}

func (*ClusterStats_DroppedRequests) Descriptor Uses

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

Deprecated: Use ClusterStats_DroppedRequests.ProtoReflect.Descriptor instead.

func (*ClusterStats_DroppedRequests) GetCategory Uses

func (x *ClusterStats_DroppedRequests) GetCategory() string

func (*ClusterStats_DroppedRequests) GetDroppedCount Uses

func (x *ClusterStats_DroppedRequests) GetDroppedCount() uint64

func (*ClusterStats_DroppedRequests) ProtoMessage Uses

func (*ClusterStats_DroppedRequests) ProtoMessage()

func (*ClusterStats_DroppedRequests) ProtoReflect Uses

func (x *ClusterStats_DroppedRequests) ProtoReflect() protoreflect.Message

func (*ClusterStats_DroppedRequests) Reset Uses

func (x *ClusterStats_DroppedRequests) Reset()

func (*ClusterStats_DroppedRequests) String Uses

func (x *ClusterStats_DroppedRequests) String() string

func (*ClusterStats_DroppedRequests) Validate Uses

func (m *ClusterStats_DroppedRequests) Validate() error

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

type ClusterStats_DroppedRequestsValidationError Uses

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

ClusterStats_DroppedRequestsValidationError is the validation error returned by ClusterStats_DroppedRequests.Validate if the designated constraints aren't met.

func (ClusterStats_DroppedRequestsValidationError) Cause Uses

func (e ClusterStats_DroppedRequestsValidationError) Cause() error

Cause function returns cause value.

func (ClusterStats_DroppedRequestsValidationError) Error Uses

func (e ClusterStats_DroppedRequestsValidationError) Error() string

Error satisfies the builtin error interface

func (ClusterStats_DroppedRequestsValidationError) ErrorName Uses

func (e ClusterStats_DroppedRequestsValidationError) ErrorName() string

ErrorName returns error name.

func (ClusterStats_DroppedRequestsValidationError) Field Uses

func (e ClusterStats_DroppedRequestsValidationError) Field() string

Field function returns field value.

func (ClusterStats_DroppedRequestsValidationError) Key Uses

func (e ClusterStats_DroppedRequestsValidationError) Key() bool

Key function returns key value.

func (ClusterStats_DroppedRequestsValidationError) Reason Uses

func (e ClusterStats_DroppedRequestsValidationError) Reason() string

Reason function returns reason value.

type Endpoint Uses

type Endpoint struct {

    // The upstream host address.
    //
    // .. attention::
    //
    //   The form of host address depends on the given cluster type. For STATIC or EDS,
    //   it is expected to be a direct IP address (or something resolvable by the
    //   specified :ref:`resolver <envoy_api_field_config.core.v3.SocketAddress.resolver_name>`
    //   in the Address). For LOGICAL or STRICT DNS, it is expected to be hostname,
    //   and will be resolved via DNS.
    Address *v3.Address `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
    // The optional health check configuration is used as configuration for the
    // health checker to contact the health checked host.
    //
    // .. attention::
    //
    //   This takes into effect only for upstream clusters with
    //   :ref:`active health checking <arch_overview_health_checking>` enabled.
    HealthCheckConfig *Endpoint_HealthCheckConfig `protobuf:"bytes,2,opt,name=health_check_config,json=healthCheckConfig,proto3" json:"health_check_config,omitempty"`
    // The hostname associated with this endpoint. This hostname is not used for routing or address
    // resolution. If provided, it will be associated with the endpoint, and can be used for features
    // that require a hostname, like
    // :ref:`auto_host_rewrite <envoy_api_field_config.route.v3.RouteAction.auto_host_rewrite>`.
    Hostname string `protobuf:"bytes,3,opt,name=hostname,proto3" json:"hostname,omitempty"`
    // contains filtered or unexported fields
}

Upstream host identifier.

func (*Endpoint) Descriptor Uses

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

Deprecated: Use Endpoint.ProtoReflect.Descriptor instead.

func (*Endpoint) GetAddress Uses

func (x *Endpoint) GetAddress() *v3.Address

func (*Endpoint) GetHealthCheckConfig Uses

func (x *Endpoint) GetHealthCheckConfig() *Endpoint_HealthCheckConfig

func (*Endpoint) GetHostname Uses

func (x *Endpoint) GetHostname() string

func (*Endpoint) ProtoMessage Uses

func (*Endpoint) ProtoMessage()

func (*Endpoint) ProtoReflect Uses

func (x *Endpoint) ProtoReflect() protoreflect.Message

func (*Endpoint) Reset Uses

func (x *Endpoint) Reset()

func (*Endpoint) String Uses

func (x *Endpoint) String() string

func (*Endpoint) Validate Uses

func (m *Endpoint) Validate() error

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

type EndpointLoadMetricStats Uses

type EndpointLoadMetricStats struct {

    // Name of the metric; may be empty.
    MetricName string `protobuf:"bytes,1,opt,name=metric_name,json=metricName,proto3" json:"metric_name,omitempty"`
    // Number of calls that finished and included this metric.
    NumRequestsFinishedWithMetric uint64 `protobuf:"varint,2,opt,name=num_requests_finished_with_metric,json=numRequestsFinishedWithMetric,proto3" json:"num_requests_finished_with_metric,omitempty"`
    // Sum of metric values across all calls that finished with this metric for
    // load_reporting_interval.
    TotalMetricValue float64 `protobuf:"fixed64,3,opt,name=total_metric_value,json=totalMetricValue,proto3" json:"total_metric_value,omitempty"`
    // contains filtered or unexported fields
}

func (*EndpointLoadMetricStats) Descriptor Uses

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

Deprecated: Use EndpointLoadMetricStats.ProtoReflect.Descriptor instead.

func (*EndpointLoadMetricStats) GetMetricName Uses

func (x *EndpointLoadMetricStats) GetMetricName() string

func (*EndpointLoadMetricStats) GetNumRequestsFinishedWithMetric Uses

func (x *EndpointLoadMetricStats) GetNumRequestsFinishedWithMetric() uint64

func (*EndpointLoadMetricStats) GetTotalMetricValue Uses

func (x *EndpointLoadMetricStats) GetTotalMetricValue() float64

func (*EndpointLoadMetricStats) ProtoMessage Uses

func (*EndpointLoadMetricStats) ProtoMessage()

func (*EndpointLoadMetricStats) ProtoReflect Uses

func (x *EndpointLoadMetricStats) ProtoReflect() protoreflect.Message

func (*EndpointLoadMetricStats) Reset Uses

func (x *EndpointLoadMetricStats) Reset()

func (*EndpointLoadMetricStats) String Uses

func (x *EndpointLoadMetricStats) String() string

func (*EndpointLoadMetricStats) Validate Uses

func (m *EndpointLoadMetricStats) Validate() error

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

type EndpointLoadMetricStatsValidationError Uses

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

EndpointLoadMetricStatsValidationError is the validation error returned by EndpointLoadMetricStats.Validate if the designated constraints aren't met.

func (EndpointLoadMetricStatsValidationError) Cause Uses

func (e EndpointLoadMetricStatsValidationError) Cause() error

Cause function returns cause value.

func (EndpointLoadMetricStatsValidationError) Error Uses

func (e EndpointLoadMetricStatsValidationError) Error() string

Error satisfies the builtin error interface

func (EndpointLoadMetricStatsValidationError) ErrorName Uses

func (e EndpointLoadMetricStatsValidationError) ErrorName() string

ErrorName returns error name.

func (EndpointLoadMetricStatsValidationError) Field Uses

func (e EndpointLoadMetricStatsValidationError) Field() string

Field function returns field value.

func (EndpointLoadMetricStatsValidationError) Key Uses

func (e EndpointLoadMetricStatsValidationError) Key() bool

Key function returns key value.

func (EndpointLoadMetricStatsValidationError) Reason Uses

func (e EndpointLoadMetricStatsValidationError) Reason() string

Reason function returns reason value.

type EndpointValidationError Uses

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

EndpointValidationError is the validation error returned by Endpoint.Validate if the designated constraints aren't met.

func (EndpointValidationError) Cause Uses

func (e EndpointValidationError) Cause() error

Cause function returns cause value.

func (EndpointValidationError) Error Uses

func (e EndpointValidationError) Error() string

Error satisfies the builtin error interface

func (EndpointValidationError) ErrorName Uses

func (e EndpointValidationError) ErrorName() string

ErrorName returns error name.

func (EndpointValidationError) Field Uses

func (e EndpointValidationError) Field() string

Field function returns field value.

func (EndpointValidationError) Key Uses

func (e EndpointValidationError) Key() bool

Key function returns key value.

func (EndpointValidationError) Reason Uses

func (e EndpointValidationError) Reason() string

Reason function returns reason value.

type Endpoint_HealthCheckConfig Uses

type Endpoint_HealthCheckConfig struct {

    // Optional alternative health check port value.
    //
    // By default the health check address port of an upstream host is the same
    // as the host's serving address port. This provides an alternative health
    // check port. Setting this with a non-zero value allows an upstream host
    // to have different health check address port.
    PortValue uint32 `protobuf:"varint,1,opt,name=port_value,json=portValue,proto3" json:"port_value,omitempty"`
    // By default, the host header for L7 health checks is controlled by cluster level configuration
    // (see: :ref:`host <envoy_api_field_config.core.v3.HealthCheck.HttpHealthCheck.host>` and
    // :ref:`authority <envoy_api_field_config.core.v3.HealthCheck.GrpcHealthCheck.authority>`). Setting this
    // to a non-empty value allows overriding the cluster level configuration for a specific
    // endpoint.
    Hostname string `protobuf:"bytes,2,opt,name=hostname,proto3" json:"hostname,omitempty"`
    // contains filtered or unexported fields
}

The optional health check configuration.

func (*Endpoint_HealthCheckConfig) Descriptor Uses

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

Deprecated: Use Endpoint_HealthCheckConfig.ProtoReflect.Descriptor instead.

func (*Endpoint_HealthCheckConfig) GetHostname Uses

func (x *Endpoint_HealthCheckConfig) GetHostname() string

func (*Endpoint_HealthCheckConfig) GetPortValue Uses

func (x *Endpoint_HealthCheckConfig) GetPortValue() uint32

func (*Endpoint_HealthCheckConfig) ProtoMessage Uses

func (*Endpoint_HealthCheckConfig) ProtoMessage()

func (*Endpoint_HealthCheckConfig) ProtoReflect Uses

func (x *Endpoint_HealthCheckConfig) ProtoReflect() protoreflect.Message

func (*Endpoint_HealthCheckConfig) Reset Uses

func (x *Endpoint_HealthCheckConfig) Reset()

func (*Endpoint_HealthCheckConfig) String Uses

func (x *Endpoint_HealthCheckConfig) String() string

func (*Endpoint_HealthCheckConfig) Validate Uses

func (m *Endpoint_HealthCheckConfig) Validate() error

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

type Endpoint_HealthCheckConfigValidationError Uses

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

Endpoint_HealthCheckConfigValidationError is the validation error returned by Endpoint_HealthCheckConfig.Validate if the designated constraints aren't met.

func (Endpoint_HealthCheckConfigValidationError) Cause Uses

func (e Endpoint_HealthCheckConfigValidationError) Cause() error

Cause function returns cause value.

func (Endpoint_HealthCheckConfigValidationError) Error Uses

func (e Endpoint_HealthCheckConfigValidationError) Error() string

Error satisfies the builtin error interface

func (Endpoint_HealthCheckConfigValidationError) ErrorName Uses

func (e Endpoint_HealthCheckConfigValidationError) ErrorName() string

ErrorName returns error name.

func (Endpoint_HealthCheckConfigValidationError) Field Uses

func (e Endpoint_HealthCheckConfigValidationError) Field() string

Field function returns field value.

func (Endpoint_HealthCheckConfigValidationError) Key Uses

func (e Endpoint_HealthCheckConfigValidationError) Key() bool

Key function returns key value.

func (Endpoint_HealthCheckConfigValidationError) Reason Uses

func (e Endpoint_HealthCheckConfigValidationError) Reason() string

Reason function returns reason value.

type LbEndpoint Uses

type LbEndpoint struct {

    // Upstream host identifier or a named reference.
    //
    // Types that are assignable to HostIdentifier:
    //	*LbEndpoint_Endpoint
    //	*LbEndpoint_EndpointName
    HostIdentifier isLbEndpoint_HostIdentifier `protobuf_oneof:"host_identifier"`
    // Optional health status when known and supplied by EDS server.
    HealthStatus v3.HealthStatus `protobuf:"varint,2,opt,name=health_status,json=healthStatus,proto3,enum=envoy.config.core.v3.HealthStatus" json:"health_status,omitempty"`
    // The endpoint metadata specifies values that may be used by the load
    // balancer to select endpoints in a cluster for a given request. The filter
    // name should be specified as *envoy.lb*. An example boolean key-value pair
    // is *canary*, providing the optional canary status of the upstream host.
    // This may be matched against in a route's
    // :ref:`RouteAction <envoy_api_msg_config.route.v3.RouteAction>` metadata_match field
    // to subset the endpoints considered in cluster load balancing.
    Metadata *v3.Metadata `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
    // The optional load balancing weight of the upstream host; at least 1.
    // Envoy uses the load balancing weight in some of the built in load
    // balancers. The load balancing weight for an endpoint is divided by the sum
    // of the weights of all endpoints in the endpoint's locality to produce a
    // percentage of traffic for the endpoint. This percentage is then further
    // weighted by the endpoint's locality's load balancing weight from
    // LocalityLbEndpoints. If unspecified, each host is presumed to have equal
    // weight in a locality. The sum of the weights of all endpoints in the
    // endpoint's locality must not exceed uint32_t maximal value (4294967295).
    LoadBalancingWeight *wrappers.UInt32Value `protobuf:"bytes,4,opt,name=load_balancing_weight,json=loadBalancingWeight,proto3" json:"load_balancing_weight,omitempty"`
    // contains filtered or unexported fields
}

An Endpoint that Envoy can route traffic to. [#next-free-field: 6]

func (*LbEndpoint) Descriptor Uses

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

Deprecated: Use LbEndpoint.ProtoReflect.Descriptor instead.

func (*LbEndpoint) GetEndpoint Uses

func (x *LbEndpoint) GetEndpoint() *Endpoint

func (*LbEndpoint) GetEndpointName Uses

func (x *LbEndpoint) GetEndpointName() string

func (*LbEndpoint) GetHealthStatus Uses

func (x *LbEndpoint) GetHealthStatus() v3.HealthStatus

func (*LbEndpoint) GetHostIdentifier Uses

func (m *LbEndpoint) GetHostIdentifier() isLbEndpoint_HostIdentifier

func (*LbEndpoint) GetLoadBalancingWeight Uses

func (x *LbEndpoint) GetLoadBalancingWeight() *wrappers.UInt32Value

func (*LbEndpoint) GetMetadata Uses

func (x *LbEndpoint) GetMetadata() *v3.Metadata

func (*LbEndpoint) ProtoMessage Uses

func (*LbEndpoint) ProtoMessage()

func (*LbEndpoint) ProtoReflect Uses

func (x *LbEndpoint) ProtoReflect() protoreflect.Message

func (*LbEndpoint) Reset Uses

func (x *LbEndpoint) Reset()

func (*LbEndpoint) String Uses

func (x *LbEndpoint) String() string

func (*LbEndpoint) Validate Uses

func (m *LbEndpoint) Validate() error

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

type LbEndpointValidationError Uses

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

LbEndpointValidationError is the validation error returned by LbEndpoint.Validate if the designated constraints aren't met.

func (LbEndpointValidationError) Cause Uses

func (e LbEndpointValidationError) Cause() error

Cause function returns cause value.

func (LbEndpointValidationError) Error Uses

func (e LbEndpointValidationError) Error() string

Error satisfies the builtin error interface

func (LbEndpointValidationError) ErrorName Uses

func (e LbEndpointValidationError) ErrorName() string

ErrorName returns error name.

func (LbEndpointValidationError) Field Uses

func (e LbEndpointValidationError) Field() string

Field function returns field value.

func (LbEndpointValidationError) Key Uses

func (e LbEndpointValidationError) Key() bool

Key function returns key value.

func (LbEndpointValidationError) Reason Uses

func (e LbEndpointValidationError) Reason() string

Reason function returns reason value.

type LbEndpoint_Endpoint Uses

type LbEndpoint_Endpoint struct {
    Endpoint *Endpoint `protobuf:"bytes,1,opt,name=endpoint,proto3,oneof"`
}

type LbEndpoint_EndpointName Uses

type LbEndpoint_EndpointName struct {
    // [#not-implemented-hide:]
    EndpointName string `protobuf:"bytes,5,opt,name=endpoint_name,json=endpointName,proto3,oneof"`
}

type LocalityLbEndpoints Uses

type LocalityLbEndpoints struct {

    // Identifies location of where the upstream hosts run.
    Locality *v3.Locality `protobuf:"bytes,1,opt,name=locality,proto3" json:"locality,omitempty"`
    // The group of endpoints belonging to the locality specified.
    LbEndpoints []*LbEndpoint `protobuf:"bytes,2,rep,name=lb_endpoints,json=lbEndpoints,proto3" json:"lb_endpoints,omitempty"`
    // Optional: Per priority/region/zone/sub_zone weight; at least 1. The load
    // balancing weight for a locality is divided by the sum of the weights of all
    // localities  at the same priority level to produce the effective percentage
    // of traffic for the locality. The sum of the weights of all localities at
    // the same priority level must not exceed uint32_t maximal value (4294967295).
    //
    // Locality weights are only considered when :ref:`locality weighted load
    // balancing <arch_overview_load_balancing_locality_weighted_lb>` is
    // configured. These weights are ignored otherwise. If no weights are
    // specified when locality weighted load balancing is enabled, the locality is
    // assigned no load.
    LoadBalancingWeight *wrappers.UInt32Value `protobuf:"bytes,3,opt,name=load_balancing_weight,json=loadBalancingWeight,proto3" json:"load_balancing_weight,omitempty"`
    // Optional: the priority for this LocalityLbEndpoints. If unspecified this will
    // default to the highest priority (0).
    //
    // Under usual circumstances, Envoy will only select endpoints for the highest
    // priority (0). In the event all endpoints for a particular priority are
    // unavailable/unhealthy, Envoy will fail over to selecting endpoints for the
    // next highest priority group.
    //
    // Priorities should range from 0 (highest) to N (lowest) without skipping.
    Priority uint32 `protobuf:"varint,5,opt,name=priority,proto3" json:"priority,omitempty"`
    // Optional: Per locality proximity value which indicates how close this
    // locality is from the source locality. This value only provides ordering
    // information (lower the value, closer it is to the source locality).
    // This will be consumed by load balancing schemes that need proximity order
    // to determine where to route the requests.
    // [#not-implemented-hide:]
    Proximity *wrappers.UInt32Value `protobuf:"bytes,6,opt,name=proximity,proto3" json:"proximity,omitempty"`
    // contains filtered or unexported fields
}

A group of endpoints belonging to a Locality. One can have multiple LocalityLbEndpoints for a locality, but this is generally only done if the different groups need to have different load balancing weights or different priorities. [#next-free-field: 7]

func (*LocalityLbEndpoints) Descriptor Uses

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

Deprecated: Use LocalityLbEndpoints.ProtoReflect.Descriptor instead.

func (*LocalityLbEndpoints) GetLbEndpoints Uses

func (x *LocalityLbEndpoints) GetLbEndpoints() []*LbEndpoint

func (*LocalityLbEndpoints) GetLoadBalancingWeight Uses

func (x *LocalityLbEndpoints) GetLoadBalancingWeight() *wrappers.UInt32Value

func (*LocalityLbEndpoints) GetLocality Uses

func (x *LocalityLbEndpoints) GetLocality() *v3.Locality

func (*LocalityLbEndpoints) GetPriority Uses

func (x *LocalityLbEndpoints) GetPriority() uint32

func (*LocalityLbEndpoints) GetProximity Uses

func (x *LocalityLbEndpoints) GetProximity() *wrappers.UInt32Value

func (*LocalityLbEndpoints) ProtoMessage Uses

func (*LocalityLbEndpoints) ProtoMessage()

func (*LocalityLbEndpoints) ProtoReflect Uses

func (x *LocalityLbEndpoints) ProtoReflect() protoreflect.Message

func (*LocalityLbEndpoints) Reset Uses

func (x *LocalityLbEndpoints) Reset()

func (*LocalityLbEndpoints) String Uses

func (x *LocalityLbEndpoints) String() string

func (*LocalityLbEndpoints) Validate Uses

func (m *LocalityLbEndpoints) Validate() error

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

type LocalityLbEndpointsValidationError Uses

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

LocalityLbEndpointsValidationError is the validation error returned by LocalityLbEndpoints.Validate if the designated constraints aren't met.

func (LocalityLbEndpointsValidationError) Cause Uses

func (e LocalityLbEndpointsValidationError) Cause() error

Cause function returns cause value.

func (LocalityLbEndpointsValidationError) Error Uses

func (e LocalityLbEndpointsValidationError) Error() string

Error satisfies the builtin error interface

func (LocalityLbEndpointsValidationError) ErrorName Uses

func (e LocalityLbEndpointsValidationError) ErrorName() string

ErrorName returns error name.

func (LocalityLbEndpointsValidationError) Field Uses

func (e LocalityLbEndpointsValidationError) Field() string

Field function returns field value.

func (LocalityLbEndpointsValidationError) Key Uses

func (e LocalityLbEndpointsValidationError) Key() bool

Key function returns key value.

func (LocalityLbEndpointsValidationError) Reason Uses

func (e LocalityLbEndpointsValidationError) Reason() string

Reason function returns reason value.

type UpstreamEndpointStats Uses

type UpstreamEndpointStats struct {

    // Upstream host address.
    Address *v3.Address `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
    // Opaque and implementation dependent metadata of the
    // endpoint. Envoy will pass this directly to the management server.
    Metadata *_struct.Struct `protobuf:"bytes,6,opt,name=metadata,proto3" json:"metadata,omitempty"`
    // The total number of requests successfully completed by the endpoints in the
    // locality. These include non-5xx responses for HTTP, where errors
    // originate at the client and the endpoint responded successfully. For gRPC,
    // the grpc-status values are those not covered by total_error_requests below.
    TotalSuccessfulRequests uint64 `protobuf:"varint,2,opt,name=total_successful_requests,json=totalSuccessfulRequests,proto3" json:"total_successful_requests,omitempty"`
    // The total number of unfinished requests for this endpoint.
    TotalRequestsInProgress uint64 `protobuf:"varint,3,opt,name=total_requests_in_progress,json=totalRequestsInProgress,proto3" json:"total_requests_in_progress,omitempty"`
    // The total number of requests that failed due to errors at the endpoint.
    // For HTTP these are responses with 5xx status codes and for gRPC the
    // grpc-status values:
    //
    //   - DeadlineExceeded
    //   - Unimplemented
    //   - Internal
    //   - Unavailable
    //   - Unknown
    //   - DataLoss
    TotalErrorRequests uint64 `protobuf:"varint,4,opt,name=total_error_requests,json=totalErrorRequests,proto3" json:"total_error_requests,omitempty"`
    // The total number of requests that were issued to this endpoint
    // since the last report. A single TCP connection, HTTP or gRPC
    // request or stream is counted as one request.
    TotalIssuedRequests uint64 `protobuf:"varint,7,opt,name=total_issued_requests,json=totalIssuedRequests,proto3" json:"total_issued_requests,omitempty"`
    // Stats for multi-dimensional load balancing.
    LoadMetricStats []*EndpointLoadMetricStats `protobuf:"bytes,5,rep,name=load_metric_stats,json=loadMetricStats,proto3" json:"load_metric_stats,omitempty"`
    // contains filtered or unexported fields
}

[#next-free-field: 8]

func (*UpstreamEndpointStats) Descriptor Uses

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

Deprecated: Use UpstreamEndpointStats.ProtoReflect.Descriptor instead.

func (*UpstreamEndpointStats) GetAddress Uses

func (x *UpstreamEndpointStats) GetAddress() *v3.Address

func (*UpstreamEndpointStats) GetLoadMetricStats Uses

func (x *UpstreamEndpointStats) GetLoadMetricStats() []*EndpointLoadMetricStats

func (*UpstreamEndpointStats) GetMetadata Uses

func (x *UpstreamEndpointStats) GetMetadata() *_struct.Struct

func (*UpstreamEndpointStats) GetTotalErrorRequests Uses

func (x *UpstreamEndpointStats) GetTotalErrorRequests() uint64

func (*UpstreamEndpointStats) GetTotalIssuedRequests Uses

func (x *UpstreamEndpointStats) GetTotalIssuedRequests() uint64

func (*UpstreamEndpointStats) GetTotalRequestsInProgress Uses

func (x *UpstreamEndpointStats) GetTotalRequestsInProgress() uint64

func (*UpstreamEndpointStats) GetTotalSuccessfulRequests Uses

func (x *UpstreamEndpointStats) GetTotalSuccessfulRequests() uint64

func (*UpstreamEndpointStats) ProtoMessage Uses

func (*UpstreamEndpointStats) ProtoMessage()

func (*UpstreamEndpointStats) ProtoReflect Uses

func (x *UpstreamEndpointStats) ProtoReflect() protoreflect.Message

func (*UpstreamEndpointStats) Reset Uses

func (x *UpstreamEndpointStats) Reset()

func (*UpstreamEndpointStats) String Uses

func (x *UpstreamEndpointStats) String() string

func (*UpstreamEndpointStats) Validate Uses

func (m *UpstreamEndpointStats) Validate() error

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

type UpstreamEndpointStatsValidationError Uses

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

UpstreamEndpointStatsValidationError is the validation error returned by UpstreamEndpointStats.Validate if the designated constraints aren't met.

func (UpstreamEndpointStatsValidationError) Cause Uses

func (e UpstreamEndpointStatsValidationError) Cause() error

Cause function returns cause value.

func (UpstreamEndpointStatsValidationError) Error Uses

func (e UpstreamEndpointStatsValidationError) Error() string

Error satisfies the builtin error interface

func (UpstreamEndpointStatsValidationError) ErrorName Uses

func (e UpstreamEndpointStatsValidationError) ErrorName() string

ErrorName returns error name.

func (UpstreamEndpointStatsValidationError) Field Uses

func (e UpstreamEndpointStatsValidationError) Field() string

Field function returns field value.

func (UpstreamEndpointStatsValidationError) Key Uses

func (e UpstreamEndpointStatsValidationError) Key() bool

Key function returns key value.

func (UpstreamEndpointStatsValidationError) Reason Uses

func (e UpstreamEndpointStatsValidationError) Reason() string

Reason function returns reason value.

type UpstreamLocalityStats Uses

type UpstreamLocalityStats struct {

    // Name of zone, region and optionally endpoint group these metrics were
    // collected from. Zone and region names could be empty if unknown.
    Locality *v3.Locality `protobuf:"bytes,1,opt,name=locality,proto3" json:"locality,omitempty"`
    // The total number of requests successfully completed by the endpoints in the
    // locality.
    TotalSuccessfulRequests uint64 `protobuf:"varint,2,opt,name=total_successful_requests,json=totalSuccessfulRequests,proto3" json:"total_successful_requests,omitempty"`
    // The total number of unfinished requests
    TotalRequestsInProgress uint64 `protobuf:"varint,3,opt,name=total_requests_in_progress,json=totalRequestsInProgress,proto3" json:"total_requests_in_progress,omitempty"`
    // The total number of requests that failed due to errors at the endpoint,
    // aggregated over all endpoints in the locality.
    TotalErrorRequests uint64 `protobuf:"varint,4,opt,name=total_error_requests,json=totalErrorRequests,proto3" json:"total_error_requests,omitempty"`
    // The total number of requests that were issued by this Envoy since
    // the last report. This information is aggregated over all the
    // upstream endpoints in the locality.
    TotalIssuedRequests uint64 `protobuf:"varint,8,opt,name=total_issued_requests,json=totalIssuedRequests,proto3" json:"total_issued_requests,omitempty"`
    // Stats for multi-dimensional load balancing.
    LoadMetricStats []*EndpointLoadMetricStats `protobuf:"bytes,5,rep,name=load_metric_stats,json=loadMetricStats,proto3" json:"load_metric_stats,omitempty"`
    // Endpoint granularity stats information for this locality. This information
    // is populated if the Server requests it by setting
    // :ref:`LoadStatsResponse.report_endpoint_granularity<envoy_api_field_service.load_stats.v3.LoadStatsResponse.report_endpoint_granularity>`.
    UpstreamEndpointStats []*UpstreamEndpointStats `protobuf:"bytes,7,rep,name=upstream_endpoint_stats,json=upstreamEndpointStats,proto3" json:"upstream_endpoint_stats,omitempty"`
    // [#not-implemented-hide:] The priority of the endpoint group these metrics
    // were collected from.
    Priority uint32 `protobuf:"varint,6,opt,name=priority,proto3" json:"priority,omitempty"`
    // contains filtered or unexported fields
}

These are stats Envoy reports to the management server at a frequency defined by :ref:`LoadStatsResponse.load_reporting_interval<envoy_api_field_service.load_stats.v3.LoadStatsResponse.load_reporting_interval>`. Stats per upstream region/zone and optionally per subzone. [#next-free-field: 9]

func (*UpstreamLocalityStats) Descriptor Uses

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

Deprecated: Use UpstreamLocalityStats.ProtoReflect.Descriptor instead.

func (*UpstreamLocalityStats) GetLoadMetricStats Uses

func (x *UpstreamLocalityStats) GetLoadMetricStats() []*EndpointLoadMetricStats

func (*UpstreamLocalityStats) GetLocality Uses

func (x *UpstreamLocalityStats) GetLocality() *v3.Locality

func (*UpstreamLocalityStats) GetPriority Uses

func (x *UpstreamLocalityStats) GetPriority() uint32

func (*UpstreamLocalityStats) GetTotalErrorRequests Uses

func (x *UpstreamLocalityStats) GetTotalErrorRequests() uint64

func (*UpstreamLocalityStats) GetTotalIssuedRequests Uses

func (x *UpstreamLocalityStats) GetTotalIssuedRequests() uint64

func (*UpstreamLocalityStats) GetTotalRequestsInProgress Uses

func (x *UpstreamLocalityStats) GetTotalRequestsInProgress() uint64

func (*UpstreamLocalityStats) GetTotalSuccessfulRequests Uses

func (x *UpstreamLocalityStats) GetTotalSuccessfulRequests() uint64

func (*UpstreamLocalityStats) GetUpstreamEndpointStats Uses

func (x *UpstreamLocalityStats) GetUpstreamEndpointStats() []*UpstreamEndpointStats

func (*UpstreamLocalityStats) ProtoMessage Uses

func (*UpstreamLocalityStats) ProtoMessage()

func (*UpstreamLocalityStats) ProtoReflect Uses

func (x *UpstreamLocalityStats) ProtoReflect() protoreflect.Message

func (*UpstreamLocalityStats) Reset Uses

func (x *UpstreamLocalityStats) Reset()

func (*UpstreamLocalityStats) String Uses

func (x *UpstreamLocalityStats) String() string

func (*UpstreamLocalityStats) Validate Uses

func (m *UpstreamLocalityStats) Validate() error

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

type UpstreamLocalityStatsValidationError Uses

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

UpstreamLocalityStatsValidationError is the validation error returned by UpstreamLocalityStats.Validate if the designated constraints aren't met.

func (UpstreamLocalityStatsValidationError) Cause Uses

func (e UpstreamLocalityStatsValidationError) Cause() error

Cause function returns cause value.

func (UpstreamLocalityStatsValidationError) Error Uses

func (e UpstreamLocalityStatsValidationError) Error() string

Error satisfies the builtin error interface

func (UpstreamLocalityStatsValidationError) ErrorName Uses

func (e UpstreamLocalityStatsValidationError) ErrorName() string

ErrorName returns error name.

func (UpstreamLocalityStatsValidationError) Field Uses

func (e UpstreamLocalityStatsValidationError) Field() string

Field function returns field value.

func (UpstreamLocalityStatsValidationError) Key Uses

func (e UpstreamLocalityStatsValidationError) Key() bool

Key function returns key value.

func (UpstreamLocalityStatsValidationError) Reason Uses

func (e UpstreamLocalityStatsValidationError) Reason() string

Reason function returns reason value.

Package envoy_config_endpoint_v3 imports 24 packages (graph) and is imported by 36 packages. Updated 2020-10-28. Refresh now. Tools for package owners.