Documentation ¶
Index ¶
- Variables
- type Action
- type OutlierDetectionEvent
- func (*OutlierDetectionEvent) Descriptor() ([]byte, []int)
- func (m *OutlierDetectionEvent) GetAction() Action
- func (m *OutlierDetectionEvent) GetClusterName() string
- func (m *OutlierDetectionEvent) GetEjectConsecutiveEvent() *OutlierEjectConsecutive
- func (m *OutlierDetectionEvent) GetEjectSuccessRateEvent() *OutlierEjectSuccessRate
- func (m *OutlierDetectionEvent) GetEnforced() bool
- func (m *OutlierDetectionEvent) GetEvent() isOutlierDetectionEvent_Event
- func (m *OutlierDetectionEvent) GetNumEjections() uint32
- func (m *OutlierDetectionEvent) GetSecsSinceLastAction() *types.UInt64Value
- func (m *OutlierDetectionEvent) GetTimestamp() *types.Timestamp
- func (m *OutlierDetectionEvent) GetType() OutlierEjectionType
- func (m *OutlierDetectionEvent) GetUpstreamUrl() string
- func (m *OutlierDetectionEvent) Marshal() (dAtA []byte, err error)
- func (m *OutlierDetectionEvent) MarshalTo(dAtA []byte) (int, error)
- func (m *OutlierDetectionEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*OutlierDetectionEvent) ProtoMessage()
- func (m *OutlierDetectionEvent) Reset()
- func (m *OutlierDetectionEvent) Size() (n int)
- func (m *OutlierDetectionEvent) String() string
- func (m *OutlierDetectionEvent) Unmarshal(dAtA []byte) error
- func (m *OutlierDetectionEvent) Validate() error
- func (m *OutlierDetectionEvent) XXX_DiscardUnknown()
- func (m *OutlierDetectionEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OutlierDetectionEvent) XXX_Merge(src proto.Message)
- func (*OutlierDetectionEvent) XXX_OneofWrappers() []interface{}
- func (m *OutlierDetectionEvent) XXX_Size() int
- func (m *OutlierDetectionEvent) XXX_Unmarshal(b []byte) error
- type OutlierDetectionEventValidationError
- func (e OutlierDetectionEventValidationError) Cause() error
- func (e OutlierDetectionEventValidationError) Error() string
- func (e OutlierDetectionEventValidationError) ErrorName() string
- func (e OutlierDetectionEventValidationError) Field() string
- func (e OutlierDetectionEventValidationError) Key() bool
- func (e OutlierDetectionEventValidationError) Reason() string
- type OutlierDetectionEvent_EjectConsecutiveEvent
- type OutlierDetectionEvent_EjectSuccessRateEvent
- type OutlierEjectConsecutive
- func (*OutlierEjectConsecutive) Descriptor() ([]byte, []int)
- func (m *OutlierEjectConsecutive) Marshal() (dAtA []byte, err error)
- func (m *OutlierEjectConsecutive) MarshalTo(dAtA []byte) (int, error)
- func (m *OutlierEjectConsecutive) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*OutlierEjectConsecutive) ProtoMessage()
- func (m *OutlierEjectConsecutive) Reset()
- func (m *OutlierEjectConsecutive) Size() (n int)
- func (m *OutlierEjectConsecutive) String() string
- func (m *OutlierEjectConsecutive) Unmarshal(dAtA []byte) error
- func (m *OutlierEjectConsecutive) Validate() error
- func (m *OutlierEjectConsecutive) XXX_DiscardUnknown()
- func (m *OutlierEjectConsecutive) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OutlierEjectConsecutive) XXX_Merge(src proto.Message)
- func (m *OutlierEjectConsecutive) XXX_Size() int
- func (m *OutlierEjectConsecutive) XXX_Unmarshal(b []byte) error
- type OutlierEjectConsecutiveValidationError
- func (e OutlierEjectConsecutiveValidationError) Cause() error
- func (e OutlierEjectConsecutiveValidationError) Error() string
- func (e OutlierEjectConsecutiveValidationError) ErrorName() string
- func (e OutlierEjectConsecutiveValidationError) Field() string
- func (e OutlierEjectConsecutiveValidationError) Key() bool
- func (e OutlierEjectConsecutiveValidationError) Reason() string
- type OutlierEjectSuccessRate
- func (*OutlierEjectSuccessRate) Descriptor() ([]byte, []int)
- func (m *OutlierEjectSuccessRate) GetClusterAverageSuccessRate() uint32
- func (m *OutlierEjectSuccessRate) GetClusterSuccessRateEjectionThreshold() uint32
- func (m *OutlierEjectSuccessRate) GetHostSuccessRate() uint32
- func (m *OutlierEjectSuccessRate) Marshal() (dAtA []byte, err error)
- func (m *OutlierEjectSuccessRate) MarshalTo(dAtA []byte) (int, error)
- func (m *OutlierEjectSuccessRate) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*OutlierEjectSuccessRate) ProtoMessage()
- func (m *OutlierEjectSuccessRate) Reset()
- func (m *OutlierEjectSuccessRate) Size() (n int)
- func (m *OutlierEjectSuccessRate) String() string
- func (m *OutlierEjectSuccessRate) Unmarshal(dAtA []byte) error
- func (m *OutlierEjectSuccessRate) Validate() error
- func (m *OutlierEjectSuccessRate) XXX_DiscardUnknown()
- func (m *OutlierEjectSuccessRate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OutlierEjectSuccessRate) XXX_Merge(src proto.Message)
- func (m *OutlierEjectSuccessRate) XXX_Size() int
- func (m *OutlierEjectSuccessRate) XXX_Unmarshal(b []byte) error
- type OutlierEjectSuccessRateValidationError
- func (e OutlierEjectSuccessRateValidationError) Cause() error
- func (e OutlierEjectSuccessRateValidationError) Error() string
- func (e OutlierEjectSuccessRateValidationError) ErrorName() string
- func (e OutlierEjectSuccessRateValidationError) Field() string
- func (e OutlierEjectSuccessRateValidationError) Key() bool
- func (e OutlierEjectSuccessRateValidationError) Reason() string
- type OutlierEjectionType
Constants ¶
This section is empty.
Variables ¶
var ( ErrInvalidLengthOutlierDetectionEvent = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowOutlierDetectionEvent = fmt.Errorf("proto: integer overflow") )
var Action_name = map[int32]string{
0: "EJECT",
1: "UNEJECT",
}
var Action_value = map[string]int32{
"EJECT": 0,
"UNEJECT": 1,
}
var OutlierEjectionType_name = map[int32]string{
0: "CONSECUTIVE_5XX",
1: "CONSECUTIVE_GATEWAY_FAILURE",
2: "SUCCESS_RATE",
3: "CONSECUTIVE_LOCAL_ORIGIN_FAILURE",
4: "SUCCESS_RATE_LOCAL_ORIGIN",
}
var OutlierEjectionType_value = map[string]int32{
"CONSECUTIVE_5XX": 0,
"CONSECUTIVE_GATEWAY_FAILURE": 1,
"SUCCESS_RATE": 2,
"CONSECUTIVE_LOCAL_ORIGIN_FAILURE": 3,
"SUCCESS_RATE_LOCAL_ORIGIN": 4,
}
Functions ¶
This section is empty.
Types ¶
type Action ¶
type Action int32
Represents possible action applied to upstream host
func (Action) EnumDescriptor ¶
type OutlierDetectionEvent ¶
type OutlierDetectionEvent struct { // In case of eject represents type of ejection that took place. Type OutlierEjectionType `protobuf:"varint,1,opt,name=type,proto3,enum=envoy.data.cluster.v2alpha.OutlierEjectionType" json:"type,omitempty"` // Timestamp for event. Timestamp *types.Timestamp `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // The time in seconds since the last action (either an ejection or unejection) took place. SecsSinceLastAction *types.UInt64Value `protobuf:"bytes,3,opt,name=secs_since_last_action,json=secsSinceLastAction,proto3" json:"secs_since_last_action,omitempty"` // The :ref:`cluster <envoy_api_msg_Cluster>` that owns the ejected host. ClusterName string `protobuf:"bytes,4,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"` // The URL of the ejected host. E.g., “tcp://1.2.3.4:80“. UpstreamUrl string `protobuf:"bytes,5,opt,name=upstream_url,json=upstreamUrl,proto3" json:"upstream_url,omitempty"` // The action that took place. Action Action `protobuf:"varint,6,opt,name=action,proto3,enum=envoy.data.cluster.v2alpha.Action" json:"action,omitempty"` // If “action“ is “eject“, specifies the number of times the host has been ejected (local to // that Envoy and gets reset if the host gets removed from the upstream cluster for any reason and // then re-added). NumEjections uint32 `protobuf:"varint,7,opt,name=num_ejections,json=numEjections,proto3" json:"num_ejections,omitempty"` // If “action“ is “eject“, specifies if the ejection was enforced. “true“ means the host was // ejected. “false“ means the event was logged but the host was not actually ejected. Enforced bool `protobuf:"varint,8,opt,name=enforced,proto3" json:"enforced,omitempty"` // Types that are valid to be assigned to Event: // *OutlierDetectionEvent_EjectSuccessRateEvent // *OutlierDetectionEvent_EjectConsecutiveEvent Event isOutlierDetectionEvent_Event `protobuf_oneof:"event"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*OutlierDetectionEvent) Descriptor ¶
func (*OutlierDetectionEvent) Descriptor() ([]byte, []int)
func (*OutlierDetectionEvent) GetAction ¶
func (m *OutlierDetectionEvent) GetAction() Action
func (*OutlierDetectionEvent) GetClusterName ¶
func (m *OutlierDetectionEvent) GetClusterName() string
func (*OutlierDetectionEvent) GetEjectConsecutiveEvent ¶
func (m *OutlierDetectionEvent) GetEjectConsecutiveEvent() *OutlierEjectConsecutive
func (*OutlierDetectionEvent) GetEjectSuccessRateEvent ¶
func (m *OutlierDetectionEvent) GetEjectSuccessRateEvent() *OutlierEjectSuccessRate
func (*OutlierDetectionEvent) GetEnforced ¶
func (m *OutlierDetectionEvent) GetEnforced() bool
func (*OutlierDetectionEvent) GetEvent ¶
func (m *OutlierDetectionEvent) GetEvent() isOutlierDetectionEvent_Event
func (*OutlierDetectionEvent) GetNumEjections ¶
func (m *OutlierDetectionEvent) GetNumEjections() uint32
func (*OutlierDetectionEvent) GetSecsSinceLastAction ¶
func (m *OutlierDetectionEvent) GetSecsSinceLastAction() *types.UInt64Value
func (*OutlierDetectionEvent) GetTimestamp ¶
func (m *OutlierDetectionEvent) GetTimestamp() *types.Timestamp
func (*OutlierDetectionEvent) GetType ¶
func (m *OutlierDetectionEvent) GetType() OutlierEjectionType
func (*OutlierDetectionEvent) GetUpstreamUrl ¶
func (m *OutlierDetectionEvent) GetUpstreamUrl() string
func (*OutlierDetectionEvent) Marshal ¶
func (m *OutlierDetectionEvent) Marshal() (dAtA []byte, err error)
func (*OutlierDetectionEvent) MarshalTo ¶
func (m *OutlierDetectionEvent) MarshalTo(dAtA []byte) (int, error)
func (*OutlierDetectionEvent) MarshalToSizedBuffer ¶
func (m *OutlierDetectionEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*OutlierDetectionEvent) ProtoMessage ¶
func (*OutlierDetectionEvent) ProtoMessage()
func (*OutlierDetectionEvent) Reset ¶
func (m *OutlierDetectionEvent) Reset()
func (*OutlierDetectionEvent) Size ¶
func (m *OutlierDetectionEvent) Size() (n int)
func (*OutlierDetectionEvent) String ¶
func (m *OutlierDetectionEvent) String() string
func (*OutlierDetectionEvent) Unmarshal ¶
func (m *OutlierDetectionEvent) Unmarshal(dAtA []byte) error
func (*OutlierDetectionEvent) Validate ¶
func (m *OutlierDetectionEvent) Validate() error
Validate checks the field values on OutlierDetectionEvent with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*OutlierDetectionEvent) XXX_DiscardUnknown ¶
func (m *OutlierDetectionEvent) XXX_DiscardUnknown()
func (*OutlierDetectionEvent) XXX_Marshal ¶
func (m *OutlierDetectionEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OutlierDetectionEvent) XXX_Merge ¶
func (m *OutlierDetectionEvent) XXX_Merge(src proto.Message)
func (*OutlierDetectionEvent) XXX_OneofWrappers ¶
func (*OutlierDetectionEvent) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*OutlierDetectionEvent) XXX_Size ¶
func (m *OutlierDetectionEvent) XXX_Size() int
func (*OutlierDetectionEvent) XXX_Unmarshal ¶
func (m *OutlierDetectionEvent) XXX_Unmarshal(b []byte) error
type OutlierDetectionEventValidationError ¶
type OutlierDetectionEventValidationError struct {
// contains filtered or unexported fields
}
OutlierDetectionEventValidationError is the validation error returned by OutlierDetectionEvent.Validate if the designated constraints aren't met.
func (OutlierDetectionEventValidationError) Cause ¶
func (e OutlierDetectionEventValidationError) Cause() error
Cause function returns cause value.
func (OutlierDetectionEventValidationError) Error ¶
func (e OutlierDetectionEventValidationError) Error() string
Error satisfies the builtin error interface
func (OutlierDetectionEventValidationError) ErrorName ¶
func (e OutlierDetectionEventValidationError) ErrorName() string
ErrorName returns error name.
func (OutlierDetectionEventValidationError) Field ¶
func (e OutlierDetectionEventValidationError) Field() string
Field function returns field value.
func (OutlierDetectionEventValidationError) Key ¶
func (e OutlierDetectionEventValidationError) Key() bool
Key function returns key value.
func (OutlierDetectionEventValidationError) Reason ¶
func (e OutlierDetectionEventValidationError) Reason() string
Reason function returns reason value.
type OutlierDetectionEvent_EjectConsecutiveEvent ¶
type OutlierDetectionEvent_EjectConsecutiveEvent struct {
EjectConsecutiveEvent *OutlierEjectConsecutive `protobuf:"bytes,10,opt,name=eject_consecutive_event,json=ejectConsecutiveEvent,proto3,oneof"`
}
func (*OutlierDetectionEvent_EjectConsecutiveEvent) MarshalTo ¶
func (m *OutlierDetectionEvent_EjectConsecutiveEvent) MarshalTo(dAtA []byte) (int, error)
func (*OutlierDetectionEvent_EjectConsecutiveEvent) MarshalToSizedBuffer ¶
func (m *OutlierDetectionEvent_EjectConsecutiveEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*OutlierDetectionEvent_EjectConsecutiveEvent) Size ¶
func (m *OutlierDetectionEvent_EjectConsecutiveEvent) Size() (n int)
type OutlierDetectionEvent_EjectSuccessRateEvent ¶
type OutlierDetectionEvent_EjectSuccessRateEvent struct {
EjectSuccessRateEvent *OutlierEjectSuccessRate `protobuf:"bytes,9,opt,name=eject_success_rate_event,json=ejectSuccessRateEvent,proto3,oneof"`
}
func (*OutlierDetectionEvent_EjectSuccessRateEvent) MarshalTo ¶
func (m *OutlierDetectionEvent_EjectSuccessRateEvent) MarshalTo(dAtA []byte) (int, error)
func (*OutlierDetectionEvent_EjectSuccessRateEvent) MarshalToSizedBuffer ¶
func (m *OutlierDetectionEvent_EjectSuccessRateEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*OutlierDetectionEvent_EjectSuccessRateEvent) Size ¶
func (m *OutlierDetectionEvent_EjectSuccessRateEvent) Size() (n int)
type OutlierEjectConsecutive ¶
type OutlierEjectConsecutive struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*OutlierEjectConsecutive) Descriptor ¶
func (*OutlierEjectConsecutive) Descriptor() ([]byte, []int)
func (*OutlierEjectConsecutive) Marshal ¶
func (m *OutlierEjectConsecutive) Marshal() (dAtA []byte, err error)
func (*OutlierEjectConsecutive) MarshalTo ¶
func (m *OutlierEjectConsecutive) MarshalTo(dAtA []byte) (int, error)
func (*OutlierEjectConsecutive) MarshalToSizedBuffer ¶
func (m *OutlierEjectConsecutive) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*OutlierEjectConsecutive) ProtoMessage ¶
func (*OutlierEjectConsecutive) ProtoMessage()
func (*OutlierEjectConsecutive) Reset ¶
func (m *OutlierEjectConsecutive) Reset()
func (*OutlierEjectConsecutive) Size ¶
func (m *OutlierEjectConsecutive) Size() (n int)
func (*OutlierEjectConsecutive) String ¶
func (m *OutlierEjectConsecutive) String() string
func (*OutlierEjectConsecutive) Unmarshal ¶
func (m *OutlierEjectConsecutive) Unmarshal(dAtA []byte) error
func (*OutlierEjectConsecutive) Validate ¶
func (m *OutlierEjectConsecutive) Validate() error
Validate checks the field values on OutlierEjectConsecutive with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*OutlierEjectConsecutive) XXX_DiscardUnknown ¶
func (m *OutlierEjectConsecutive) XXX_DiscardUnknown()
func (*OutlierEjectConsecutive) XXX_Marshal ¶
func (m *OutlierEjectConsecutive) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OutlierEjectConsecutive) XXX_Merge ¶
func (m *OutlierEjectConsecutive) XXX_Merge(src proto.Message)
func (*OutlierEjectConsecutive) XXX_Size ¶
func (m *OutlierEjectConsecutive) XXX_Size() int
func (*OutlierEjectConsecutive) XXX_Unmarshal ¶
func (m *OutlierEjectConsecutive) XXX_Unmarshal(b []byte) error
type OutlierEjectConsecutiveValidationError ¶
type OutlierEjectConsecutiveValidationError struct {
// contains filtered or unexported fields
}
OutlierEjectConsecutiveValidationError is the validation error returned by OutlierEjectConsecutive.Validate if the designated constraints aren't met.
func (OutlierEjectConsecutiveValidationError) Cause ¶
func (e OutlierEjectConsecutiveValidationError) Cause() error
Cause function returns cause value.
func (OutlierEjectConsecutiveValidationError) Error ¶
func (e OutlierEjectConsecutiveValidationError) Error() string
Error satisfies the builtin error interface
func (OutlierEjectConsecutiveValidationError) ErrorName ¶
func (e OutlierEjectConsecutiveValidationError) ErrorName() string
ErrorName returns error name.
func (OutlierEjectConsecutiveValidationError) Field ¶
func (e OutlierEjectConsecutiveValidationError) Field() string
Field function returns field value.
func (OutlierEjectConsecutiveValidationError) Key ¶
func (e OutlierEjectConsecutiveValidationError) Key() bool
Key function returns key value.
func (OutlierEjectConsecutiveValidationError) Reason ¶
func (e OutlierEjectConsecutiveValidationError) Reason() string
Reason function returns reason value.
type OutlierEjectSuccessRate ¶
type OutlierEjectSuccessRate struct { // Host’s success rate at the time of the ejection event on a 0-100 range. HostSuccessRate uint32 `protobuf:"varint,1,opt,name=host_success_rate,json=hostSuccessRate,proto3" json:"host_success_rate,omitempty"` // Average success rate of the hosts in the cluster at the time of the ejection event on a 0-100 // range. ClusterAverageSuccessRate uint32 `` /* 141-byte string literal not displayed */ // Success rate ejection threshold at the time of the ejection event. ClusterSuccessRateEjectionThreshold uint32 `` /* 173-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*OutlierEjectSuccessRate) Descriptor ¶
func (*OutlierEjectSuccessRate) Descriptor() ([]byte, []int)
func (*OutlierEjectSuccessRate) GetClusterAverageSuccessRate ¶
func (m *OutlierEjectSuccessRate) GetClusterAverageSuccessRate() uint32
func (*OutlierEjectSuccessRate) GetClusterSuccessRateEjectionThreshold ¶
func (m *OutlierEjectSuccessRate) GetClusterSuccessRateEjectionThreshold() uint32
func (*OutlierEjectSuccessRate) GetHostSuccessRate ¶
func (m *OutlierEjectSuccessRate) GetHostSuccessRate() uint32
func (*OutlierEjectSuccessRate) Marshal ¶
func (m *OutlierEjectSuccessRate) Marshal() (dAtA []byte, err error)
func (*OutlierEjectSuccessRate) MarshalTo ¶
func (m *OutlierEjectSuccessRate) MarshalTo(dAtA []byte) (int, error)
func (*OutlierEjectSuccessRate) MarshalToSizedBuffer ¶
func (m *OutlierEjectSuccessRate) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*OutlierEjectSuccessRate) ProtoMessage ¶
func (*OutlierEjectSuccessRate) ProtoMessage()
func (*OutlierEjectSuccessRate) Reset ¶
func (m *OutlierEjectSuccessRate) Reset()
func (*OutlierEjectSuccessRate) Size ¶
func (m *OutlierEjectSuccessRate) Size() (n int)
func (*OutlierEjectSuccessRate) String ¶
func (m *OutlierEjectSuccessRate) String() string
func (*OutlierEjectSuccessRate) Unmarshal ¶
func (m *OutlierEjectSuccessRate) Unmarshal(dAtA []byte) error
func (*OutlierEjectSuccessRate) Validate ¶
func (m *OutlierEjectSuccessRate) Validate() error
Validate checks the field values on OutlierEjectSuccessRate with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*OutlierEjectSuccessRate) XXX_DiscardUnknown ¶
func (m *OutlierEjectSuccessRate) XXX_DiscardUnknown()
func (*OutlierEjectSuccessRate) XXX_Marshal ¶
func (m *OutlierEjectSuccessRate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OutlierEjectSuccessRate) XXX_Merge ¶
func (m *OutlierEjectSuccessRate) XXX_Merge(src proto.Message)
func (*OutlierEjectSuccessRate) XXX_Size ¶
func (m *OutlierEjectSuccessRate) XXX_Size() int
func (*OutlierEjectSuccessRate) XXX_Unmarshal ¶
func (m *OutlierEjectSuccessRate) XXX_Unmarshal(b []byte) error
type OutlierEjectSuccessRateValidationError ¶
type OutlierEjectSuccessRateValidationError struct {
// contains filtered or unexported fields
}
OutlierEjectSuccessRateValidationError is the validation error returned by OutlierEjectSuccessRate.Validate if the designated constraints aren't met.
func (OutlierEjectSuccessRateValidationError) Cause ¶
func (e OutlierEjectSuccessRateValidationError) Cause() error
Cause function returns cause value.
func (OutlierEjectSuccessRateValidationError) Error ¶
func (e OutlierEjectSuccessRateValidationError) Error() string
Error satisfies the builtin error interface
func (OutlierEjectSuccessRateValidationError) ErrorName ¶
func (e OutlierEjectSuccessRateValidationError) ErrorName() string
ErrorName returns error name.
func (OutlierEjectSuccessRateValidationError) Field ¶
func (e OutlierEjectSuccessRateValidationError) Field() string
Field function returns field value.
func (OutlierEjectSuccessRateValidationError) Key ¶
func (e OutlierEjectSuccessRateValidationError) Key() bool
Key function returns key value.
func (OutlierEjectSuccessRateValidationError) Reason ¶
func (e OutlierEjectSuccessRateValidationError) Reason() string
Reason function returns reason value.
type OutlierEjectionType ¶
type OutlierEjectionType int32
Type of ejection that took place
const ( // In case upstream host returns certain number of consecutive 5xx. // If // :ref:`outlier_detection.split_external_local_origin_errors<envoy_api_field_cluster.OutlierDetection.split_external_local_origin_errors>` // is *false*, all type of errors are treated as HTTP 5xx errors. // See :ref:`Cluster outlier detection <arch_overview_outlier_detection>` documentation for // details. OutlierEjectionType_CONSECUTIVE_5XX OutlierEjectionType = 0 // In case upstream host returns certain number of consecutive gateway errors OutlierEjectionType_CONSECUTIVE_GATEWAY_FAILURE OutlierEjectionType = 1 // Runs over aggregated success rate statistics from every host in cluster // and selects hosts for which ratio of successful replies deviates from other hosts // in the cluster. // If // :ref:`outlier_detection.split_external_local_origin_errors<envoy_api_field_cluster.OutlierDetection.split_external_local_origin_errors>` // is *false*, all errors (externally and locally generated) are used to calculate success rate // statistics. See :ref:`Cluster outlier detection <arch_overview_outlier_detection>` // documentation for details. OutlierEjectionType_SUCCESS_RATE OutlierEjectionType = 2 // Consecutive local origin failures: Connection failures, resets, timeouts, etc // This type of ejection happens only when // :ref:`outlier_detection.split_external_local_origin_errors<envoy_api_field_cluster.OutlierDetection.split_external_local_origin_errors>` // is set to *true*. // See :ref:`Cluster outlier detection <arch_overview_outlier_detection>` documentation for OutlierEjectionType_CONSECUTIVE_LOCAL_ORIGIN_FAILURE OutlierEjectionType = 3 // Runs over aggregated success rate statistics for local origin failures // for all hosts in the cluster and selects hosts for which success rate deviates from other // hosts in the cluster. This type of ejection happens only when // :ref:`outlier_detection.split_external_local_origin_errors<envoy_api_field_cluster.OutlierDetection.split_external_local_origin_errors>` // is set to *true*. // See :ref:`Cluster outlier detection <arch_overview_outlier_detection>` documentation for OutlierEjectionType_SUCCESS_RATE_LOCAL_ORIGIN OutlierEjectionType = 4 )
func (OutlierEjectionType) EnumDescriptor ¶
func (OutlierEjectionType) EnumDescriptor() ([]byte, []int)
func (OutlierEjectionType) String ¶
func (x OutlierEjectionType) String() string