Documentation ¶
Index ¶
- Variables
- type Action
- type OutlierDetectionEvent
- func (*OutlierDetectionEvent) Descriptor() ([]byte, []int)deprecated
- func (x *OutlierDetectionEvent) GetAction() Action
- func (x *OutlierDetectionEvent) GetClusterName() string
- func (x *OutlierDetectionEvent) GetEjectConsecutiveEvent() *OutlierEjectConsecutive
- func (x *OutlierDetectionEvent) GetEjectFailurePercentageEvent() *OutlierEjectFailurePercentage
- func (x *OutlierDetectionEvent) GetEjectSuccessRateEvent() *OutlierEjectSuccessRate
- func (x *OutlierDetectionEvent) GetEnforced() bool
- func (m *OutlierDetectionEvent) GetEvent() isOutlierDetectionEvent_Event
- func (x *OutlierDetectionEvent) GetNumEjections() uint32
- func (x *OutlierDetectionEvent) GetSecsSinceLastAction() *wrappers.UInt64Value
- func (x *OutlierDetectionEvent) GetTimestamp() *timestamp.Timestamp
- func (x *OutlierDetectionEvent) GetType() OutlierEjectionType
- func (x *OutlierDetectionEvent) GetUpstreamUrl() string
- func (*OutlierDetectionEvent) ProtoMessage()
- func (x *OutlierDetectionEvent) ProtoReflect() protoreflect.Message
- func (x *OutlierDetectionEvent) Reset()
- func (x *OutlierDetectionEvent) String() string
- func (m *OutlierDetectionEvent) Validate() 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_EjectFailurePercentageEvent
- type OutlierDetectionEvent_EjectSuccessRateEvent
- type OutlierEjectConsecutive
- func (*OutlierEjectConsecutive) Descriptor() ([]byte, []int)deprecated
- func (*OutlierEjectConsecutive) ProtoMessage()
- func (x *OutlierEjectConsecutive) ProtoReflect() protoreflect.Message
- func (x *OutlierEjectConsecutive) Reset()
- func (x *OutlierEjectConsecutive) String() string
- func (m *OutlierEjectConsecutive) Validate() 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 OutlierEjectFailurePercentage
- func (*OutlierEjectFailurePercentage) Descriptor() ([]byte, []int)deprecated
- func (x *OutlierEjectFailurePercentage) GetHostSuccessRate() uint32
- func (*OutlierEjectFailurePercentage) ProtoMessage()
- func (x *OutlierEjectFailurePercentage) ProtoReflect() protoreflect.Message
- func (x *OutlierEjectFailurePercentage) Reset()
- func (x *OutlierEjectFailurePercentage) String() string
- func (m *OutlierEjectFailurePercentage) Validate() error
- type OutlierEjectFailurePercentageValidationError
- func (e OutlierEjectFailurePercentageValidationError) Cause() error
- func (e OutlierEjectFailurePercentageValidationError) Error() string
- func (e OutlierEjectFailurePercentageValidationError) ErrorName() string
- func (e OutlierEjectFailurePercentageValidationError) Field() string
- func (e OutlierEjectFailurePercentageValidationError) Key() bool
- func (e OutlierEjectFailurePercentageValidationError) Reason() string
- type OutlierEjectSuccessRate
- func (*OutlierEjectSuccessRate) Descriptor() ([]byte, []int)deprecated
- func (x *OutlierEjectSuccessRate) GetClusterAverageSuccessRate() uint32
- func (x *OutlierEjectSuccessRate) GetClusterSuccessRateEjectionThreshold() uint32
- func (x *OutlierEjectSuccessRate) GetHostSuccessRate() uint32
- func (*OutlierEjectSuccessRate) ProtoMessage()
- func (x *OutlierEjectSuccessRate) ProtoReflect() protoreflect.Message
- func (x *OutlierEjectSuccessRate) Reset()
- func (x *OutlierEjectSuccessRate) String() string
- func (m *OutlierEjectSuccessRate) Validate() 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
- func (OutlierEjectionType) Descriptor() protoreflect.EnumDescriptor
- func (x OutlierEjectionType) Enum() *OutlierEjectionType
- func (OutlierEjectionType) EnumDescriptor() ([]byte, []int)deprecated
- func (x OutlierEjectionType) Number() protoreflect.EnumNumber
- func (x OutlierEjectionType) String() string
- func (OutlierEjectionType) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
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", 5: "FAILURE_PERCENTAGE", 6: "FAILURE_PERCENTAGE_LOCAL_ORIGIN", } 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, "FAILURE_PERCENTAGE": 5, "FAILURE_PERCENTAGE_LOCAL_ORIGIN": 6, } )
Enum value maps for OutlierEjectionType.
var ( Action_name = map[int32]string{ 0: "EJECT", 1: "UNEJECT", } Action_value = map[string]int32{ "EJECT": 0, "UNEJECT": 1, } )
Enum value maps for Action.
var File_envoy_data_cluster_v3_outlier_detection_event_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Action ¶
type Action int32
func (Action) Descriptor ¶ added in v0.9.6
func (Action) Descriptor() protoreflect.EnumDescriptor
func (Action) EnumDescriptor
deprecated
func (Action) Number ¶ added in v0.9.6
func (x Action) Number() protoreflect.EnumNumber
func (Action) Type ¶ added in v0.9.6
func (Action) Type() protoreflect.EnumType
type OutlierDetectionEvent ¶
type OutlierDetectionEvent struct { Type OutlierEjectionType `protobuf:"varint,1,opt,name=type,proto3,enum=envoy.data.cluster.v3.OutlierEjectionType" json:"type,omitempty"` Timestamp *timestamp.Timestamp `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` SecsSinceLastAction *wrappers.UInt64Value `protobuf:"bytes,3,opt,name=secs_since_last_action,json=secsSinceLastAction,proto3" json:"secs_since_last_action,omitempty"` ClusterName string `protobuf:"bytes,4,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"` UpstreamUrl string `protobuf:"bytes,5,opt,name=upstream_url,json=upstreamUrl,proto3" json:"upstream_url,omitempty"` Action Action `protobuf:"varint,6,opt,name=action,proto3,enum=envoy.data.cluster.v3.Action" json:"action,omitempty"` NumEjections uint32 `protobuf:"varint,7,opt,name=num_ejections,json=numEjections,proto3" json:"num_ejections,omitempty"` Enforced bool `protobuf:"varint,8,opt,name=enforced,proto3" json:"enforced,omitempty"` // Types that are assignable to Event: // *OutlierDetectionEvent_EjectSuccessRateEvent // *OutlierDetectionEvent_EjectConsecutiveEvent // *OutlierDetectionEvent_EjectFailurePercentageEvent Event isOutlierDetectionEvent_Event `protobuf_oneof:"event"` // contains filtered or unexported fields }
func (*OutlierDetectionEvent) Descriptor
deprecated
func (*OutlierDetectionEvent) Descriptor() ([]byte, []int)
Deprecated: Use OutlierDetectionEvent.ProtoReflect.Descriptor instead.
func (*OutlierDetectionEvent) GetAction ¶
func (x *OutlierDetectionEvent) GetAction() Action
func (*OutlierDetectionEvent) GetClusterName ¶
func (x *OutlierDetectionEvent) GetClusterName() string
func (*OutlierDetectionEvent) GetEjectConsecutiveEvent ¶
func (x *OutlierDetectionEvent) GetEjectConsecutiveEvent() *OutlierEjectConsecutive
func (*OutlierDetectionEvent) GetEjectFailurePercentageEvent ¶
func (x *OutlierDetectionEvent) GetEjectFailurePercentageEvent() *OutlierEjectFailurePercentage
func (*OutlierDetectionEvent) GetEjectSuccessRateEvent ¶
func (x *OutlierDetectionEvent) GetEjectSuccessRateEvent() *OutlierEjectSuccessRate
func (*OutlierDetectionEvent) GetEnforced ¶
func (x *OutlierDetectionEvent) GetEnforced() bool
func (*OutlierDetectionEvent) GetEvent ¶
func (m *OutlierDetectionEvent) GetEvent() isOutlierDetectionEvent_Event
func (*OutlierDetectionEvent) GetNumEjections ¶
func (x *OutlierDetectionEvent) GetNumEjections() uint32
func (*OutlierDetectionEvent) GetSecsSinceLastAction ¶
func (x *OutlierDetectionEvent) GetSecsSinceLastAction() *wrappers.UInt64Value
func (*OutlierDetectionEvent) GetTimestamp ¶
func (x *OutlierDetectionEvent) GetTimestamp() *timestamp.Timestamp
func (*OutlierDetectionEvent) GetType ¶
func (x *OutlierDetectionEvent) GetType() OutlierEjectionType
func (*OutlierDetectionEvent) GetUpstreamUrl ¶
func (x *OutlierDetectionEvent) GetUpstreamUrl() string
func (*OutlierDetectionEvent) ProtoMessage ¶
func (*OutlierDetectionEvent) ProtoMessage()
func (*OutlierDetectionEvent) ProtoReflect ¶ added in v0.9.6
func (x *OutlierDetectionEvent) ProtoReflect() protoreflect.Message
func (*OutlierDetectionEvent) Reset ¶
func (x *OutlierDetectionEvent) Reset()
func (*OutlierDetectionEvent) String ¶
func (x *OutlierDetectionEvent) String() string
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.
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"`
}
type OutlierDetectionEvent_EjectFailurePercentageEvent ¶
type OutlierDetectionEvent_EjectFailurePercentageEvent struct {
EjectFailurePercentageEvent *OutlierEjectFailurePercentage `protobuf:"bytes,11,opt,name=eject_failure_percentage_event,json=ejectFailurePercentageEvent,proto3,oneof"`
}
type OutlierDetectionEvent_EjectSuccessRateEvent ¶
type OutlierDetectionEvent_EjectSuccessRateEvent struct {
EjectSuccessRateEvent *OutlierEjectSuccessRate `protobuf:"bytes,9,opt,name=eject_success_rate_event,json=ejectSuccessRateEvent,proto3,oneof"`
}
type OutlierEjectConsecutive ¶
type OutlierEjectConsecutive struct {
// contains filtered or unexported fields
}
func (*OutlierEjectConsecutive) Descriptor
deprecated
func (*OutlierEjectConsecutive) Descriptor() ([]byte, []int)
Deprecated: Use OutlierEjectConsecutive.ProtoReflect.Descriptor instead.
func (*OutlierEjectConsecutive) ProtoMessage ¶
func (*OutlierEjectConsecutive) ProtoMessage()
func (*OutlierEjectConsecutive) ProtoReflect ¶ added in v0.9.6
func (x *OutlierEjectConsecutive) ProtoReflect() protoreflect.Message
func (*OutlierEjectConsecutive) Reset ¶
func (x *OutlierEjectConsecutive) Reset()
func (*OutlierEjectConsecutive) String ¶
func (x *OutlierEjectConsecutive) String() string
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.
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 OutlierEjectFailurePercentage ¶
type OutlierEjectFailurePercentage struct { HostSuccessRate uint32 `protobuf:"varint,1,opt,name=host_success_rate,json=hostSuccessRate,proto3" json:"host_success_rate,omitempty"` // contains filtered or unexported fields }
func (*OutlierEjectFailurePercentage) Descriptor
deprecated
func (*OutlierEjectFailurePercentage) Descriptor() ([]byte, []int)
Deprecated: Use OutlierEjectFailurePercentage.ProtoReflect.Descriptor instead.
func (*OutlierEjectFailurePercentage) GetHostSuccessRate ¶
func (x *OutlierEjectFailurePercentage) GetHostSuccessRate() uint32
func (*OutlierEjectFailurePercentage) ProtoMessage ¶
func (*OutlierEjectFailurePercentage) ProtoMessage()
func (*OutlierEjectFailurePercentage) ProtoReflect ¶ added in v0.9.6
func (x *OutlierEjectFailurePercentage) ProtoReflect() protoreflect.Message
func (*OutlierEjectFailurePercentage) Reset ¶
func (x *OutlierEjectFailurePercentage) Reset()
func (*OutlierEjectFailurePercentage) String ¶
func (x *OutlierEjectFailurePercentage) String() string
func (*OutlierEjectFailurePercentage) Validate ¶
func (m *OutlierEjectFailurePercentage) Validate() error
Validate checks the field values on OutlierEjectFailurePercentage with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type OutlierEjectFailurePercentageValidationError ¶
type OutlierEjectFailurePercentageValidationError struct {
// contains filtered or unexported fields
}
OutlierEjectFailurePercentageValidationError is the validation error returned by OutlierEjectFailurePercentage.Validate if the designated constraints aren't met.
func (OutlierEjectFailurePercentageValidationError) Cause ¶
func (e OutlierEjectFailurePercentageValidationError) Cause() error
Cause function returns cause value.
func (OutlierEjectFailurePercentageValidationError) Error ¶
func (e OutlierEjectFailurePercentageValidationError) Error() string
Error satisfies the builtin error interface
func (OutlierEjectFailurePercentageValidationError) ErrorName ¶
func (e OutlierEjectFailurePercentageValidationError) ErrorName() string
ErrorName returns error name.
func (OutlierEjectFailurePercentageValidationError) Field ¶
func (e OutlierEjectFailurePercentageValidationError) Field() string
Field function returns field value.
func (OutlierEjectFailurePercentageValidationError) Key ¶
func (e OutlierEjectFailurePercentageValidationError) Key() bool
Key function returns key value.
func (OutlierEjectFailurePercentageValidationError) Reason ¶
func (e OutlierEjectFailurePercentageValidationError) Reason() string
Reason function returns reason value.
type OutlierEjectSuccessRate ¶
type OutlierEjectSuccessRate struct { HostSuccessRate uint32 `protobuf:"varint,1,opt,name=host_success_rate,json=hostSuccessRate,proto3" json:"host_success_rate,omitempty"` ClusterAverageSuccessRate uint32 `` /* 141-byte string literal not displayed */ ClusterSuccessRateEjectionThreshold uint32 `` /* 173-byte string literal not displayed */ // contains filtered or unexported fields }
func (*OutlierEjectSuccessRate) Descriptor
deprecated
func (*OutlierEjectSuccessRate) Descriptor() ([]byte, []int)
Deprecated: Use OutlierEjectSuccessRate.ProtoReflect.Descriptor instead.
func (*OutlierEjectSuccessRate) GetClusterAverageSuccessRate ¶
func (x *OutlierEjectSuccessRate) GetClusterAverageSuccessRate() uint32
func (*OutlierEjectSuccessRate) GetClusterSuccessRateEjectionThreshold ¶
func (x *OutlierEjectSuccessRate) GetClusterSuccessRateEjectionThreshold() uint32
func (*OutlierEjectSuccessRate) GetHostSuccessRate ¶
func (x *OutlierEjectSuccessRate) GetHostSuccessRate() uint32
func (*OutlierEjectSuccessRate) ProtoMessage ¶
func (*OutlierEjectSuccessRate) ProtoMessage()
func (*OutlierEjectSuccessRate) ProtoReflect ¶ added in v0.9.6
func (x *OutlierEjectSuccessRate) ProtoReflect() protoreflect.Message
func (*OutlierEjectSuccessRate) Reset ¶
func (x *OutlierEjectSuccessRate) Reset()
func (*OutlierEjectSuccessRate) String ¶
func (x *OutlierEjectSuccessRate) String() string
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.
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
const ( OutlierEjectionType_CONSECUTIVE_5XX OutlierEjectionType = 0 OutlierEjectionType_CONSECUTIVE_GATEWAY_FAILURE OutlierEjectionType = 1 OutlierEjectionType_SUCCESS_RATE OutlierEjectionType = 2 OutlierEjectionType_CONSECUTIVE_LOCAL_ORIGIN_FAILURE OutlierEjectionType = 3 OutlierEjectionType_SUCCESS_RATE_LOCAL_ORIGIN OutlierEjectionType = 4 OutlierEjectionType_FAILURE_PERCENTAGE OutlierEjectionType = 5 OutlierEjectionType_FAILURE_PERCENTAGE_LOCAL_ORIGIN OutlierEjectionType = 6 )
func (OutlierEjectionType) Descriptor ¶ added in v0.9.6
func (OutlierEjectionType) Descriptor() protoreflect.EnumDescriptor
func (OutlierEjectionType) Enum ¶ added in v0.9.6
func (x OutlierEjectionType) Enum() *OutlierEjectionType
func (OutlierEjectionType) EnumDescriptor
deprecated
func (OutlierEjectionType) EnumDescriptor() ([]byte, []int)
Deprecated: Use OutlierEjectionType.Descriptor instead.
func (OutlierEjectionType) Number ¶ added in v0.9.6
func (x OutlierEjectionType) Number() protoreflect.EnumNumber
func (OutlierEjectionType) String ¶
func (x OutlierEjectionType) String() string
func (OutlierEjectionType) Type ¶ added in v0.9.6
func (OutlierEjectionType) Type() protoreflect.EnumType