Back to godoc.org

Package envoy_config_endpoint_v3

v0.9.6
Latest Go to latest

The latest major version is .

Published: Jul 5, 2020 | License: Apache-2.0 | Module: github.com/envoyproxy/go-control-plane

Index

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

type ClusterLoadAssignment struct {
	ClusterName    string                        `protobuf:"bytes,1,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"`
	Endpoints      []*LocalityLbEndpoints        `protobuf:"bytes,2,rep,name=endpoints,proto3" json:"endpoints,omitempty"`
	NamedEndpoints map[string]*Endpoint          "" /* 191 byte string literal not displayed */
	Policy         *ClusterLoadAssignment_Policy `protobuf:"bytes,4,opt,name=policy,proto3" json:"policy,omitempty"`

}

func (*ClusterLoadAssignment) Descriptor

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

Deprecated: Use ClusterLoadAssignment.ProtoReflect.Descriptor instead.

func (*ClusterLoadAssignment) GetClusterName

func (x *ClusterLoadAssignment) GetClusterName() string

func (*ClusterLoadAssignment) GetEndpoints

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

func (*ClusterLoadAssignment) GetNamedEndpoints

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

func (*ClusterLoadAssignment) GetPolicy

func (x *ClusterLoadAssignment) GetPolicy() *ClusterLoadAssignment_Policy

func (*ClusterLoadAssignment) ProtoMessage

func (*ClusterLoadAssignment) ProtoMessage()

func (*ClusterLoadAssignment) ProtoReflect

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

func (*ClusterLoadAssignment) Reset

func (x *ClusterLoadAssignment) Reset()

func (*ClusterLoadAssignment) String

func (x *ClusterLoadAssignment) String() string

func (*ClusterLoadAssignment) Validate

func (m *ClusterLoadAssignment) Validate() error

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

type ClusterLoadAssignmentValidationError

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

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

func (ClusterLoadAssignmentValidationError) Cause

func (e ClusterLoadAssignmentValidationError) Cause() error

Cause function returns cause value.

func (ClusterLoadAssignmentValidationError) Error

func (e ClusterLoadAssignmentValidationError) Error() string

Error satisfies the builtin error interface

func (ClusterLoadAssignmentValidationError) ErrorName

func (e ClusterLoadAssignmentValidationError) ErrorName() string

ErrorName returns error name.

func (ClusterLoadAssignmentValidationError) Field

func (e ClusterLoadAssignmentValidationError) Field() string

Field function returns field value.

func (ClusterLoadAssignmentValidationError) Key

func (e ClusterLoadAssignmentValidationError) Key() bool

Key function returns key value.

func (ClusterLoadAssignmentValidationError) Reason

func (e ClusterLoadAssignmentValidationError) Reason() string

Reason function returns reason value.

type ClusterLoadAssignment_Policy

type ClusterLoadAssignment_Policy struct {
	DropOverloads          []*ClusterLoadAssignment_Policy_DropOverload `protobuf:"bytes,2,rep,name=drop_overloads,json=dropOverloads,proto3" json:"drop_overloads,omitempty"`
	OverprovisioningFactor *wrappers.UInt32Value                        "" /* 127 byte string literal not displayed */
	EndpointStaleAfter     *duration.Duration                           `protobuf:"bytes,4,opt,name=endpoint_stale_after,json=endpointStaleAfter,proto3" json:"endpoint_stale_after,omitempty"`

	HiddenEnvoyDeprecatedDisableOverprovisioning bool "" /* 200 byte string literal not displayed */

}

func (*ClusterLoadAssignment_Policy) Descriptor

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

Deprecated: Use ClusterLoadAssignment_Policy.ProtoReflect.Descriptor instead.

func (*ClusterLoadAssignment_Policy) GetDropOverloads

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

func (*ClusterLoadAssignment_Policy) GetEndpointStaleAfter

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

func (*ClusterLoadAssignment_Policy) GetHiddenEnvoyDeprecatedDisableOverprovisioning

func (x *ClusterLoadAssignment_Policy) GetHiddenEnvoyDeprecatedDisableOverprovisioning() bool

Deprecated: Do not use.

func (*ClusterLoadAssignment_Policy) GetOverprovisioningFactor

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

func (*ClusterLoadAssignment_Policy) ProtoMessage

func (*ClusterLoadAssignment_Policy) ProtoMessage()

func (*ClusterLoadAssignment_Policy) ProtoReflect

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

func (*ClusterLoadAssignment_Policy) Reset

func (x *ClusterLoadAssignment_Policy) Reset()

func (*ClusterLoadAssignment_Policy) String

func (x *ClusterLoadAssignment_Policy) String() string

func (*ClusterLoadAssignment_Policy) Validate

func (m *ClusterLoadAssignment_Policy) Validate() error

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

type ClusterLoadAssignment_PolicyValidationError

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

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

func (ClusterLoadAssignment_PolicyValidationError) Cause

func (e ClusterLoadAssignment_PolicyValidationError) Cause() error

Cause function returns cause value.

func (ClusterLoadAssignment_PolicyValidationError) Error

func (e ClusterLoadAssignment_PolicyValidationError) Error() string

Error satisfies the builtin error interface

func (ClusterLoadAssignment_PolicyValidationError) ErrorName

func (e ClusterLoadAssignment_PolicyValidationError) ErrorName() string

ErrorName returns error name.

func (ClusterLoadAssignment_PolicyValidationError) Field

func (e ClusterLoadAssignment_PolicyValidationError) Field() string

Field function returns field value.

func (ClusterLoadAssignment_PolicyValidationError) Key

func (e ClusterLoadAssignment_PolicyValidationError) Key() bool

Key function returns key value.

func (ClusterLoadAssignment_PolicyValidationError) Reason

func (e ClusterLoadAssignment_PolicyValidationError) Reason() string

Reason function returns reason value.

type ClusterLoadAssignment_Policy_DropOverload

type ClusterLoadAssignment_Policy_DropOverload struct {
	Category       string                `protobuf:"bytes,1,opt,name=category,proto3" json:"category,omitempty"`
	DropPercentage *v3.FractionalPercent `protobuf:"bytes,2,opt,name=drop_percentage,json=dropPercentage,proto3" json:"drop_percentage,omitempty"`
	// contains filtered or unexported fields
}

func (*ClusterLoadAssignment_Policy_DropOverload) Descriptor

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

Deprecated: Use ClusterLoadAssignment_Policy_DropOverload.ProtoReflect.Descriptor instead.

func (*ClusterLoadAssignment_Policy_DropOverload) GetCategory

func (x *ClusterLoadAssignment_Policy_DropOverload) GetCategory() string

func (*ClusterLoadAssignment_Policy_DropOverload) GetDropPercentage

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

func (*ClusterLoadAssignment_Policy_DropOverload) ProtoMessage

func (*ClusterLoadAssignment_Policy_DropOverload) ProtoMessage()

func (*ClusterLoadAssignment_Policy_DropOverload) ProtoReflect

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

func (*ClusterLoadAssignment_Policy_DropOverload) Reset

func (x *ClusterLoadAssignment_Policy_DropOverload) Reset()

func (*ClusterLoadAssignment_Policy_DropOverload) String

func (x *ClusterLoadAssignment_Policy_DropOverload) String() string

func (*ClusterLoadAssignment_Policy_DropOverload) Validate

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

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

func (e ClusterLoadAssignment_Policy_DropOverloadValidationError) Cause() error

Cause function returns cause value.

func (ClusterLoadAssignment_Policy_DropOverloadValidationError) Error

func (e ClusterLoadAssignment_Policy_DropOverloadValidationError) Error() string

Error satisfies the builtin error interface

func (ClusterLoadAssignment_Policy_DropOverloadValidationError) ErrorName

func (e ClusterLoadAssignment_Policy_DropOverloadValidationError) ErrorName() string

ErrorName returns error name.

func (ClusterLoadAssignment_Policy_DropOverloadValidationError) Field

func (e ClusterLoadAssignment_Policy_DropOverloadValidationError) Field() string

Field function returns field value.

func (ClusterLoadAssignment_Policy_DropOverloadValidationError) Key

func (e ClusterLoadAssignment_Policy_DropOverloadValidationError) Key() bool

Key function returns key value.

func (ClusterLoadAssignment_Policy_DropOverloadValidationError) Reason

func (e ClusterLoadAssignment_Policy_DropOverloadValidationError) Reason() string

Reason function returns reason value.

type ClusterStats

type ClusterStats struct {
	ClusterName           string                          `protobuf:"bytes,1,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"`
	ClusterServiceName    string                          `protobuf:"bytes,6,opt,name=cluster_service_name,json=clusterServiceName,proto3" json:"cluster_service_name,omitempty"`
	UpstreamLocalityStats []*UpstreamLocalityStats        `protobuf:"bytes,2,rep,name=upstream_locality_stats,json=upstreamLocalityStats,proto3" json:"upstream_locality_stats,omitempty"`
	TotalDroppedRequests  uint64                          `protobuf:"varint,3,opt,name=total_dropped_requests,json=totalDroppedRequests,proto3" json:"total_dropped_requests,omitempty"`
	DroppedRequests       []*ClusterStats_DroppedRequests `protobuf:"bytes,5,rep,name=dropped_requests,json=droppedRequests,proto3" json:"dropped_requests,omitempty"`
	LoadReportInterval    *duration.Duration              `protobuf:"bytes,4,opt,name=load_report_interval,json=loadReportInterval,proto3" json:"load_report_interval,omitempty"`
	// contains filtered or unexported fields
}

func (*ClusterStats) Descriptor

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

Deprecated: Use ClusterStats.ProtoReflect.Descriptor instead.

func (*ClusterStats) GetClusterName

func (x *ClusterStats) GetClusterName() string

func (*ClusterStats) GetClusterServiceName

func (x *ClusterStats) GetClusterServiceName() string

func (*ClusterStats) GetDroppedRequests

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

func (*ClusterStats) GetLoadReportInterval

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

func (*ClusterStats) GetTotalDroppedRequests

func (x *ClusterStats) GetTotalDroppedRequests() uint64

func (*ClusterStats) GetUpstreamLocalityStats

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

func (*ClusterStats) ProtoMessage

func (*ClusterStats) ProtoMessage()

func (*ClusterStats) ProtoReflect

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

func (*ClusterStats) Reset

func (x *ClusterStats) Reset()

func (*ClusterStats) String

func (x *ClusterStats) String() string

func (*ClusterStats) Validate

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

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

func (e ClusterStatsValidationError) Cause() error

Cause function returns cause value.

func (ClusterStatsValidationError) Error

func (e ClusterStatsValidationError) Error() string

Error satisfies the builtin error interface

func (ClusterStatsValidationError) ErrorName

func (e ClusterStatsValidationError) ErrorName() string

ErrorName returns error name.

func (ClusterStatsValidationError) Field

func (e ClusterStatsValidationError) Field() string

Field function returns field value.

func (ClusterStatsValidationError) Key

func (e ClusterStatsValidationError) Key() bool

Key function returns key value.

func (ClusterStatsValidationError) Reason

func (e ClusterStatsValidationError) Reason() string

Reason function returns reason value.

type ClusterStats_DroppedRequests

type ClusterStats_DroppedRequests struct {
	Category     string `protobuf:"bytes,1,opt,name=category,proto3" json:"category,omitempty"`
	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

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

Deprecated: Use ClusterStats_DroppedRequests.ProtoReflect.Descriptor instead.

func (*ClusterStats_DroppedRequests) GetCategory

func (x *ClusterStats_DroppedRequests) GetCategory() string

func (*ClusterStats_DroppedRequests) GetDroppedCount

func (x *ClusterStats_DroppedRequests) GetDroppedCount() uint64

func (*ClusterStats_DroppedRequests) ProtoMessage

func (*ClusterStats_DroppedRequests) ProtoMessage()

func (*ClusterStats_DroppedRequests) ProtoReflect

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

func (*ClusterStats_DroppedRequests) Reset

func (x *ClusterStats_DroppedRequests) Reset()

func (*ClusterStats_DroppedRequests) String

func (x *ClusterStats_DroppedRequests) String() string

func (*ClusterStats_DroppedRequests) Validate

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

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

func (e ClusterStats_DroppedRequestsValidationError) Cause() error

Cause function returns cause value.

func (ClusterStats_DroppedRequestsValidationError) Error

func (e ClusterStats_DroppedRequestsValidationError) Error() string

Error satisfies the builtin error interface

func (ClusterStats_DroppedRequestsValidationError) ErrorName

func (e ClusterStats_DroppedRequestsValidationError) ErrorName() string

ErrorName returns error name.

func (ClusterStats_DroppedRequestsValidationError) Field

func (e ClusterStats_DroppedRequestsValidationError) Field() string

Field function returns field value.

func (ClusterStats_DroppedRequestsValidationError) Key

func (e ClusterStats_DroppedRequestsValidationError) Key() bool

Key function returns key value.

func (ClusterStats_DroppedRequestsValidationError) Reason

func (e ClusterStats_DroppedRequestsValidationError) Reason() string

Reason function returns reason value.

type Endpoint

type Endpoint struct {
	Address           *v3.Address                 `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	HealthCheckConfig *Endpoint_HealthCheckConfig `protobuf:"bytes,2,opt,name=health_check_config,json=healthCheckConfig,proto3" json:"health_check_config,omitempty"`
	Hostname          string                      `protobuf:"bytes,3,opt,name=hostname,proto3" json:"hostname,omitempty"`
	// contains filtered or unexported fields
}

func (*Endpoint) Descriptor

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

Deprecated: Use Endpoint.ProtoReflect.Descriptor instead.

func (*Endpoint) GetAddress

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

func (*Endpoint) GetHealthCheckConfig

func (x *Endpoint) GetHealthCheckConfig() *Endpoint_HealthCheckConfig

func (*Endpoint) GetHostname

func (x *Endpoint) GetHostname() string

func (*Endpoint) ProtoMessage

func (*Endpoint) ProtoMessage()

func (*Endpoint) ProtoReflect

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

func (*Endpoint) Reset

func (x *Endpoint) Reset()

func (*Endpoint) String

func (x *Endpoint) String() string

func (*Endpoint) Validate

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

type EndpointLoadMetricStats struct {
	MetricName                    string  `protobuf:"bytes,1,opt,name=metric_name,json=metricName,proto3" json:"metric_name,omitempty"`
	NumRequestsFinishedWithMetric uint64  "" /* 155 byte string literal not displayed */
	TotalMetricValue              float64 `protobuf:"fixed64,3,opt,name=total_metric_value,json=totalMetricValue,proto3" json:"total_metric_value,omitempty"`

}

func (*EndpointLoadMetricStats) Descriptor

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

Deprecated: Use EndpointLoadMetricStats.ProtoReflect.Descriptor instead.

func (*EndpointLoadMetricStats) GetMetricName

func (x *EndpointLoadMetricStats) GetMetricName() string

func (*EndpointLoadMetricStats) GetNumRequestsFinishedWithMetric

func (x *EndpointLoadMetricStats) GetNumRequestsFinishedWithMetric() uint64

func (*EndpointLoadMetricStats) GetTotalMetricValue

func (x *EndpointLoadMetricStats) GetTotalMetricValue() float64

func (*EndpointLoadMetricStats) ProtoMessage

func (*EndpointLoadMetricStats) ProtoMessage()

func (*EndpointLoadMetricStats) ProtoReflect

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

func (*EndpointLoadMetricStats) Reset

func (x *EndpointLoadMetricStats) Reset()

func (*EndpointLoadMetricStats) String

func (x *EndpointLoadMetricStats) String() string

func (*EndpointLoadMetricStats) Validate

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

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

func (e EndpointLoadMetricStatsValidationError) Cause() error

Cause function returns cause value.

func (EndpointLoadMetricStatsValidationError) Error

func (e EndpointLoadMetricStatsValidationError) Error() string

Error satisfies the builtin error interface

func (EndpointLoadMetricStatsValidationError) ErrorName

func (e EndpointLoadMetricStatsValidationError) ErrorName() string

ErrorName returns error name.

func (EndpointLoadMetricStatsValidationError) Field

func (e EndpointLoadMetricStatsValidationError) Field() string

Field function returns field value.

func (EndpointLoadMetricStatsValidationError) Key

func (e EndpointLoadMetricStatsValidationError) Key() bool

Key function returns key value.

func (EndpointLoadMetricStatsValidationError) Reason

func (e EndpointLoadMetricStatsValidationError) Reason() string

Reason function returns reason value.

type EndpointValidationError

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

func (e EndpointValidationError) Cause() error

Cause function returns cause value.

func (EndpointValidationError) Error

func (e EndpointValidationError) Error() string

Error satisfies the builtin error interface

func (EndpointValidationError) ErrorName

func (e EndpointValidationError) ErrorName() string

ErrorName returns error name.

func (EndpointValidationError) Field

func (e EndpointValidationError) Field() string

Field function returns field value.

func (EndpointValidationError) Key

func (e EndpointValidationError) Key() bool

Key function returns key value.

func (EndpointValidationError) Reason

func (e EndpointValidationError) Reason() string

Reason function returns reason value.

type Endpoint_HealthCheckConfig

type Endpoint_HealthCheckConfig struct {
	PortValue uint32 `protobuf:"varint,1,opt,name=port_value,json=portValue,proto3" json:"port_value,omitempty"`
	Hostname  string `protobuf:"bytes,2,opt,name=hostname,proto3" json:"hostname,omitempty"`
	// contains filtered or unexported fields
}

func (*Endpoint_HealthCheckConfig) Descriptor

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

Deprecated: Use Endpoint_HealthCheckConfig.ProtoReflect.Descriptor instead.

func (*Endpoint_HealthCheckConfig) GetHostname

func (x *Endpoint_HealthCheckConfig) GetHostname() string

func (*Endpoint_HealthCheckConfig) GetPortValue

func (x *Endpoint_HealthCheckConfig) GetPortValue() uint32

func (*Endpoint_HealthCheckConfig) ProtoMessage

func (*Endpoint_HealthCheckConfig) ProtoMessage()

func (*Endpoint_HealthCheckConfig) ProtoReflect

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

func (*Endpoint_HealthCheckConfig) Reset

func (x *Endpoint_HealthCheckConfig) Reset()

func (*Endpoint_HealthCheckConfig) String

func (x *Endpoint_HealthCheckConfig) String() string

func (*Endpoint_HealthCheckConfig) Validate

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

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

func (e Endpoint_HealthCheckConfigValidationError) Cause() error

Cause function returns cause value.

func (Endpoint_HealthCheckConfigValidationError) Error

func (e Endpoint_HealthCheckConfigValidationError) Error() string

Error satisfies the builtin error interface

func (Endpoint_HealthCheckConfigValidationError) ErrorName

func (e Endpoint_HealthCheckConfigValidationError) ErrorName() string

ErrorName returns error name.

func (Endpoint_HealthCheckConfigValidationError) Field

func (e Endpoint_HealthCheckConfigValidationError) Field() string

Field function returns field value.

func (Endpoint_HealthCheckConfigValidationError) Key

func (e Endpoint_HealthCheckConfigValidationError) Key() bool

Key function returns key value.

func (Endpoint_HealthCheckConfigValidationError) Reason

func (e Endpoint_HealthCheckConfigValidationError) Reason() string

Reason function returns reason value.

type LbEndpoint

type LbEndpoint struct {
	HostIdentifier      isLbEndpoint_HostIdentifier `protobuf_oneof:"host_identifier"`
	HealthStatus        v3.HealthStatus             "" /* 137 byte string literal not displayed */
	Metadata            *v3.Metadata                `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
	LoadBalancingWeight *wrappers.UInt32Value       `protobuf:"bytes,4,opt,name=load_balancing_weight,json=loadBalancingWeight,proto3" json:"load_balancing_weight,omitempty"`

}

func (*LbEndpoint) Descriptor

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

Deprecated: Use LbEndpoint.ProtoReflect.Descriptor instead.

func (*LbEndpoint) GetEndpoint

func (x *LbEndpoint) GetEndpoint() *Endpoint

func (*LbEndpoint) GetEndpointName

func (x *LbEndpoint) GetEndpointName() string

func (*LbEndpoint) GetHealthStatus

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

func (*LbEndpoint) GetHostIdentifier

func (m *LbEndpoint) GetHostIdentifier() isLbEndpoint_HostIdentifier

func (*LbEndpoint) GetLoadBalancingWeight

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

func (*LbEndpoint) GetMetadata

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

func (*LbEndpoint) ProtoMessage

func (*LbEndpoint) ProtoMessage()

func (*LbEndpoint) ProtoReflect

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

func (*LbEndpoint) Reset

func (x *LbEndpoint) Reset()

func (*LbEndpoint) String

func (x *LbEndpoint) String() string

func (*LbEndpoint) Validate

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

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

func (e LbEndpointValidationError) Cause() error

Cause function returns cause value.

func (LbEndpointValidationError) Error

func (e LbEndpointValidationError) Error() string

Error satisfies the builtin error interface

func (LbEndpointValidationError) ErrorName

func (e LbEndpointValidationError) ErrorName() string

ErrorName returns error name.

func (LbEndpointValidationError) Field

func (e LbEndpointValidationError) Field() string

Field function returns field value.

func (LbEndpointValidationError) Key

func (e LbEndpointValidationError) Key() bool

Key function returns key value.

func (LbEndpointValidationError) Reason

func (e LbEndpointValidationError) Reason() string

Reason function returns reason value.

type LbEndpoint_Endpoint

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

type LbEndpoint_EndpointName

type LbEndpoint_EndpointName struct {
	EndpointName string `protobuf:"bytes,5,opt,name=endpoint_name,json=endpointName,proto3,oneof"`
}

type LocalityLbEndpoints

type LocalityLbEndpoints struct {
	Locality            *v3.Locality          `protobuf:"bytes,1,opt,name=locality,proto3" json:"locality,omitempty"`
	LbEndpoints         []*LbEndpoint         `protobuf:"bytes,2,rep,name=lb_endpoints,json=lbEndpoints,proto3" json:"lb_endpoints,omitempty"`
	LoadBalancingWeight *wrappers.UInt32Value `protobuf:"bytes,3,opt,name=load_balancing_weight,json=loadBalancingWeight,proto3" json:"load_balancing_weight,omitempty"`
	Priority            uint32                `protobuf:"varint,5,opt,name=priority,proto3" json:"priority,omitempty"`
	Proximity           *wrappers.UInt32Value `protobuf:"bytes,6,opt,name=proximity,proto3" json:"proximity,omitempty"`
	// contains filtered or unexported fields
}

func (*LocalityLbEndpoints) Descriptor

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

Deprecated: Use LocalityLbEndpoints.ProtoReflect.Descriptor instead.

func (*LocalityLbEndpoints) GetLbEndpoints

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

func (*LocalityLbEndpoints) GetLoadBalancingWeight

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

func (*LocalityLbEndpoints) GetLocality

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

func (*LocalityLbEndpoints) GetPriority

func (x *LocalityLbEndpoints) GetPriority() uint32

func (*LocalityLbEndpoints) GetProximity

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

func (*LocalityLbEndpoints) ProtoMessage

func (*LocalityLbEndpoints) ProtoMessage()

func (*LocalityLbEndpoints) ProtoReflect

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

func (*LocalityLbEndpoints) Reset

func (x *LocalityLbEndpoints) Reset()

func (*LocalityLbEndpoints) String

func (x *LocalityLbEndpoints) String() string

func (*LocalityLbEndpoints) Validate

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

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

func (e LocalityLbEndpointsValidationError) Cause() error

Cause function returns cause value.

func (LocalityLbEndpointsValidationError) Error

func (e LocalityLbEndpointsValidationError) Error() string

Error satisfies the builtin error interface

func (LocalityLbEndpointsValidationError) ErrorName

func (e LocalityLbEndpointsValidationError) ErrorName() string

ErrorName returns error name.

func (LocalityLbEndpointsValidationError) Field

func (e LocalityLbEndpointsValidationError) Field() string

Field function returns field value.

func (LocalityLbEndpointsValidationError) Key

func (e LocalityLbEndpointsValidationError) Key() bool

Key function returns key value.

func (LocalityLbEndpointsValidationError) Reason

func (e LocalityLbEndpointsValidationError) Reason() string

Reason function returns reason value.

type UpstreamEndpointStats

type UpstreamEndpointStats struct {
	Address                 *v3.Address                `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Metadata                *_struct.Struct            `protobuf:"bytes,6,opt,name=metadata,proto3" json:"metadata,omitempty"`
	TotalSuccessfulRequests uint64                     "" /* 133 byte string literal not displayed */
	TotalRequestsInProgress uint64                     "" /* 135 byte string literal not displayed */
	TotalErrorRequests      uint64                     `protobuf:"varint,4,opt,name=total_error_requests,json=totalErrorRequests,proto3" json:"total_error_requests,omitempty"`
	TotalIssuedRequests     uint64                     `protobuf:"varint,7,opt,name=total_issued_requests,json=totalIssuedRequests,proto3" json:"total_issued_requests,omitempty"`
	LoadMetricStats         []*EndpointLoadMetricStats `protobuf:"bytes,5,rep,name=load_metric_stats,json=loadMetricStats,proto3" json:"load_metric_stats,omitempty"`

}

func (*UpstreamEndpointStats) Descriptor

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

Deprecated: Use UpstreamEndpointStats.ProtoReflect.Descriptor instead.

func (*UpstreamEndpointStats) GetAddress

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

func (*UpstreamEndpointStats) GetLoadMetricStats

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

func (*UpstreamEndpointStats) GetMetadata

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

func (*UpstreamEndpointStats) GetTotalErrorRequests

func (x *UpstreamEndpointStats) GetTotalErrorRequests() uint64

func (*UpstreamEndpointStats) GetTotalIssuedRequests

func (x *UpstreamEndpointStats) GetTotalIssuedRequests() uint64

func (*UpstreamEndpointStats) GetTotalRequestsInProgress

func (x *UpstreamEndpointStats) GetTotalRequestsInProgress() uint64

func (*UpstreamEndpointStats) GetTotalSuccessfulRequests

func (x *UpstreamEndpointStats) GetTotalSuccessfulRequests() uint64

func (*UpstreamEndpointStats) ProtoMessage

func (*UpstreamEndpointStats) ProtoMessage()

func (*UpstreamEndpointStats) ProtoReflect

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

func (*UpstreamEndpointStats) Reset

func (x *UpstreamEndpointStats) Reset()

func (*UpstreamEndpointStats) String

func (x *UpstreamEndpointStats) String() string

func (*UpstreamEndpointStats) Validate

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

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

func (e UpstreamEndpointStatsValidationError) Cause() error

Cause function returns cause value.

func (UpstreamEndpointStatsValidationError) Error

func (e UpstreamEndpointStatsValidationError) Error() string

Error satisfies the builtin error interface

func (UpstreamEndpointStatsValidationError) ErrorName

func (e UpstreamEndpointStatsValidationError) ErrorName() string

ErrorName returns error name.

func (UpstreamEndpointStatsValidationError) Field

func (e UpstreamEndpointStatsValidationError) Field() string

Field function returns field value.

func (UpstreamEndpointStatsValidationError) Key

func (e UpstreamEndpointStatsValidationError) Key() bool

Key function returns key value.

func (UpstreamEndpointStatsValidationError) Reason

func (e UpstreamEndpointStatsValidationError) Reason() string

Reason function returns reason value.

type UpstreamLocalityStats

type UpstreamLocalityStats struct {
	Locality                *v3.Locality               `protobuf:"bytes,1,opt,name=locality,proto3" json:"locality,omitempty"`
	TotalSuccessfulRequests uint64                     "" /* 133 byte string literal not displayed */
	TotalRequestsInProgress uint64                     "" /* 135 byte string literal not displayed */
	TotalErrorRequests      uint64                     `protobuf:"varint,4,opt,name=total_error_requests,json=totalErrorRequests,proto3" json:"total_error_requests,omitempty"`
	TotalIssuedRequests     uint64                     `protobuf:"varint,8,opt,name=total_issued_requests,json=totalIssuedRequests,proto3" json:"total_issued_requests,omitempty"`
	LoadMetricStats         []*EndpointLoadMetricStats `protobuf:"bytes,5,rep,name=load_metric_stats,json=loadMetricStats,proto3" json:"load_metric_stats,omitempty"`
	UpstreamEndpointStats   []*UpstreamEndpointStats   `protobuf:"bytes,7,rep,name=upstream_endpoint_stats,json=upstreamEndpointStats,proto3" json:"upstream_endpoint_stats,omitempty"`
	Priority                uint32                     `protobuf:"varint,6,opt,name=priority,proto3" json:"priority,omitempty"`

}

func (*UpstreamLocalityStats) Descriptor

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

Deprecated: Use UpstreamLocalityStats.ProtoReflect.Descriptor instead.

func (*UpstreamLocalityStats) GetLoadMetricStats

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

func (*UpstreamLocalityStats) GetLocality

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

func (*UpstreamLocalityStats) GetPriority

func (x *UpstreamLocalityStats) GetPriority() uint32

func (*UpstreamLocalityStats) GetTotalErrorRequests

func (x *UpstreamLocalityStats) GetTotalErrorRequests() uint64

func (*UpstreamLocalityStats) GetTotalIssuedRequests

func (x *UpstreamLocalityStats) GetTotalIssuedRequests() uint64

func (*UpstreamLocalityStats) GetTotalRequestsInProgress

func (x *UpstreamLocalityStats) GetTotalRequestsInProgress() uint64

func (*UpstreamLocalityStats) GetTotalSuccessfulRequests

func (x *UpstreamLocalityStats) GetTotalSuccessfulRequests() uint64

func (*UpstreamLocalityStats) GetUpstreamEndpointStats

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

func (*UpstreamLocalityStats) ProtoMessage

func (*UpstreamLocalityStats) ProtoMessage()

func (*UpstreamLocalityStats) ProtoReflect

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

func (*UpstreamLocalityStats) Reset

func (x *UpstreamLocalityStats) Reset()

func (*UpstreamLocalityStats) String

func (x *UpstreamLocalityStats) String() string

func (*UpstreamLocalityStats) Validate

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

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

func (e UpstreamLocalityStatsValidationError) Cause() error

Cause function returns cause value.

func (UpstreamLocalityStatsValidationError) Error

func (e UpstreamLocalityStatsValidationError) Error() string

Error satisfies the builtin error interface

func (UpstreamLocalityStatsValidationError) ErrorName

func (e UpstreamLocalityStatsValidationError) ErrorName() string

ErrorName returns error name.

func (UpstreamLocalityStatsValidationError) Field

func (e UpstreamLocalityStatsValidationError) Field() string

Field function returns field value.

func (UpstreamLocalityStatsValidationError) Key

func (e UpstreamLocalityStatsValidationError) Key() bool

Key function returns key value.

func (UpstreamLocalityStatsValidationError) Reason

func (e UpstreamLocalityStatsValidationError) Reason() string

Reason function returns reason value.

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier