Documentation ¶
Index ¶
- Constants
- Variables
- type DegradedHealthyHost
- type DegradedHealthyHost_builder
- type HealthCheckAddHealthy
- func (x *HealthCheckAddHealthy) GetFirstCheck() bool
- func (*HealthCheckAddHealthy) ProtoMessage()
- func (x *HealthCheckAddHealthy) ProtoReflect() protoreflect.Message
- func (x *HealthCheckAddHealthy) Reset()
- func (x *HealthCheckAddHealthy) SetFirstCheck(v bool)
- func (x *HealthCheckAddHealthy) String() string
- type HealthCheckAddHealthy_builder
- type HealthCheckEjectUnhealthy
- func (x *HealthCheckEjectUnhealthy) GetFailureType() HealthCheckFailureType
- func (*HealthCheckEjectUnhealthy) ProtoMessage()
- func (x *HealthCheckEjectUnhealthy) ProtoReflect() protoreflect.Message
- func (x *HealthCheckEjectUnhealthy) Reset()
- func (x *HealthCheckEjectUnhealthy) SetFailureType(v HealthCheckFailureType)
- func (x *HealthCheckEjectUnhealthy) String() string
- type HealthCheckEjectUnhealthy_builder
- type HealthCheckEvent
- func (x *HealthCheckEvent) ClearAddHealthyEvent()
- func (x *HealthCheckEvent) ClearDegradedHealthyHost()
- func (x *HealthCheckEvent) ClearEjectUnhealthyEvent()
- func (x *HealthCheckEvent) ClearEvent()
- func (x *HealthCheckEvent) ClearHealthCheckFailureEvent()
- func (x *HealthCheckEvent) ClearHost()
- func (x *HealthCheckEvent) ClearNoLongerDegradedHost()
- func (x *HealthCheckEvent) ClearTimestamp()
- func (x *HealthCheckEvent) GetAddHealthyEvent() *HealthCheckAddHealthy
- func (x *HealthCheckEvent) GetClusterName() string
- func (x *HealthCheckEvent) GetDegradedHealthyHost() *DegradedHealthyHost
- func (x *HealthCheckEvent) GetEjectUnhealthyEvent() *HealthCheckEjectUnhealthy
- func (x *HealthCheckEvent) GetEvent() isHealthCheckEvent_Event
- func (x *HealthCheckEvent) GetHealthCheckFailureEvent() *HealthCheckFailure
- func (x *HealthCheckEvent) GetHealthCheckerType() HealthCheckerType
- func (x *HealthCheckEvent) GetHost() *core.Address
- func (x *HealthCheckEvent) GetNoLongerDegradedHost() *NoLongerDegradedHost
- func (x *HealthCheckEvent) GetTimestamp() *timestamppb.Timestamp
- func (x *HealthCheckEvent) HasAddHealthyEvent() bool
- func (x *HealthCheckEvent) HasDegradedHealthyHost() bool
- func (x *HealthCheckEvent) HasEjectUnhealthyEvent() bool
- func (x *HealthCheckEvent) HasEvent() bool
- func (x *HealthCheckEvent) HasHealthCheckFailureEvent() bool
- func (x *HealthCheckEvent) HasHost() bool
- func (x *HealthCheckEvent) HasNoLongerDegradedHost() bool
- func (x *HealthCheckEvent) HasTimestamp() bool
- func (*HealthCheckEvent) ProtoMessage()
- func (x *HealthCheckEvent) ProtoReflect() protoreflect.Message
- func (x *HealthCheckEvent) Reset()
- func (x *HealthCheckEvent) SetAddHealthyEvent(v *HealthCheckAddHealthy)
- func (x *HealthCheckEvent) SetClusterName(v string)
- func (x *HealthCheckEvent) SetDegradedHealthyHost(v *DegradedHealthyHost)
- func (x *HealthCheckEvent) SetEjectUnhealthyEvent(v *HealthCheckEjectUnhealthy)
- func (x *HealthCheckEvent) SetHealthCheckFailureEvent(v *HealthCheckFailure)
- func (x *HealthCheckEvent) SetHealthCheckerType(v HealthCheckerType)
- func (x *HealthCheckEvent) SetHost(v *core.Address)
- func (x *HealthCheckEvent) SetNoLongerDegradedHost(v *NoLongerDegradedHost)
- func (x *HealthCheckEvent) SetTimestamp(v *timestamppb.Timestamp)
- func (x *HealthCheckEvent) String() string
- func (x *HealthCheckEvent) WhichEvent() case_HealthCheckEvent_Event
- type HealthCheckEvent_AddHealthyEvent
- type HealthCheckEvent_DegradedHealthyHost
- type HealthCheckEvent_EjectUnhealthyEvent
- type HealthCheckEvent_HealthCheckFailureEvent
- type HealthCheckEvent_NoLongerDegradedHost
- type HealthCheckEvent_builder
- type HealthCheckFailure
- func (x *HealthCheckFailure) GetFailureType() HealthCheckFailureType
- func (x *HealthCheckFailure) GetFirstCheck() bool
- func (*HealthCheckFailure) ProtoMessage()
- func (x *HealthCheckFailure) ProtoReflect() protoreflect.Message
- func (x *HealthCheckFailure) Reset()
- func (x *HealthCheckFailure) SetFailureType(v HealthCheckFailureType)
- func (x *HealthCheckFailure) SetFirstCheck(v bool)
- func (x *HealthCheckFailure) String() string
- type HealthCheckFailureType
- func (HealthCheckFailureType) Descriptor() protoreflect.EnumDescriptor
- func (x HealthCheckFailureType) Enum() *HealthCheckFailureType
- func (x HealthCheckFailureType) Number() protoreflect.EnumNumber
- func (x HealthCheckFailureType) String() string
- func (HealthCheckFailureType) Type() protoreflect.EnumType
- type HealthCheckFailure_builder
- type HealthCheckerType
- type NoLongerDegradedHost
- type NoLongerDegradedHost_builder
Constants ¶
View Source
const HealthCheckEvent_AddHealthyEvent_case case_HealthCheckEvent_Event = 5
View Source
const HealthCheckEvent_DegradedHealthyHost_case case_HealthCheckEvent_Event = 8
View Source
const HealthCheckEvent_EjectUnhealthyEvent_case case_HealthCheckEvent_Event = 4
View Source
const HealthCheckEvent_Event_not_set_case case_HealthCheckEvent_Event = 0
View Source
const HealthCheckEvent_HealthCheckFailureEvent_case case_HealthCheckEvent_Event = 7
View Source
const HealthCheckEvent_NoLongerDegradedHost_case case_HealthCheckEvent_Event = 9
Variables ¶
View Source
var ( HealthCheckFailureType_name = map[int32]string{ 0: "ACTIVE", 1: "PASSIVE", 2: "NETWORK", } HealthCheckFailureType_value = map[string]int32{ "ACTIVE": 0, "PASSIVE": 1, "NETWORK": 2, } )
Enum value maps for HealthCheckFailureType.
View Source
var ( HealthCheckerType_name = map[int32]string{ 0: "HTTP", 1: "TCP", 2: "GRPC", 3: "REDIS", } HealthCheckerType_value = map[string]int32{ "HTTP": 0, "TCP": 1, "GRPC": 2, "REDIS": 3, } )
Enum value maps for HealthCheckerType.
View Source
var File_envoy_data_core_v2alpha_health_check_event_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type DegradedHealthyHost ¶
type DegradedHealthyHost struct {
// contains filtered or unexported fields
}
func (*DegradedHealthyHost) ProtoMessage ¶
func (*DegradedHealthyHost) ProtoMessage()
func (*DegradedHealthyHost) ProtoReflect ¶
func (x *DegradedHealthyHost) ProtoReflect() protoreflect.Message
func (*DegradedHealthyHost) Reset ¶
func (x *DegradedHealthyHost) Reset()
func (*DegradedHealthyHost) String ¶
func (x *DegradedHealthyHost) String() string
type DegradedHealthyHost_builder ¶
type DegradedHealthyHost_builder struct {
// contains filtered or unexported fields
}
func (DegradedHealthyHost_builder) Build ¶
func (b0 DegradedHealthyHost_builder) Build() *DegradedHealthyHost
type HealthCheckAddHealthy ¶
type HealthCheckAddHealthy struct { // Whether this addition is the result of the first ever health check on a host, in which case // the configured :ref:`healthy threshold <envoy_api_field_core.HealthCheck.healthy_threshold>` // is bypassed and the host is immediately added. FirstCheck bool `protobuf:"varint,1,opt,name=first_check,json=firstCheck,proto3" json:"first_check,omitempty"` // contains filtered or unexported fields }
func (*HealthCheckAddHealthy) GetFirstCheck ¶
func (x *HealthCheckAddHealthy) GetFirstCheck() bool
func (*HealthCheckAddHealthy) ProtoMessage ¶
func (*HealthCheckAddHealthy) ProtoMessage()
func (*HealthCheckAddHealthy) ProtoReflect ¶
func (x *HealthCheckAddHealthy) ProtoReflect() protoreflect.Message
func (*HealthCheckAddHealthy) Reset ¶
func (x *HealthCheckAddHealthy) Reset()
func (*HealthCheckAddHealthy) SetFirstCheck ¶
func (x *HealthCheckAddHealthy) SetFirstCheck(v bool)
func (*HealthCheckAddHealthy) String ¶
func (x *HealthCheckAddHealthy) String() string
type HealthCheckAddHealthy_builder ¶
type HealthCheckAddHealthy_builder struct { // Whether this addition is the result of the first ever health check on a host, in which case // the configured :ref:`healthy threshold <envoy_api_field_core.HealthCheck.healthy_threshold>` // is bypassed and the host is immediately added. FirstCheck bool // contains filtered or unexported fields }
func (HealthCheckAddHealthy_builder) Build ¶
func (b0 HealthCheckAddHealthy_builder) Build() *HealthCheckAddHealthy
type HealthCheckEjectUnhealthy ¶
type HealthCheckEjectUnhealthy struct { // The type of failure that caused this ejection. FailureType HealthCheckFailureType `` /* 147-byte string literal not displayed */ // contains filtered or unexported fields }
func (*HealthCheckEjectUnhealthy) GetFailureType ¶
func (x *HealthCheckEjectUnhealthy) GetFailureType() HealthCheckFailureType
func (*HealthCheckEjectUnhealthy) ProtoMessage ¶
func (*HealthCheckEjectUnhealthy) ProtoMessage()
func (*HealthCheckEjectUnhealthy) ProtoReflect ¶
func (x *HealthCheckEjectUnhealthy) ProtoReflect() protoreflect.Message
func (*HealthCheckEjectUnhealthy) Reset ¶
func (x *HealthCheckEjectUnhealthy) Reset()
func (*HealthCheckEjectUnhealthy) SetFailureType ¶
func (x *HealthCheckEjectUnhealthy) SetFailureType(v HealthCheckFailureType)
func (*HealthCheckEjectUnhealthy) String ¶
func (x *HealthCheckEjectUnhealthy) String() string
type HealthCheckEjectUnhealthy_builder ¶
type HealthCheckEjectUnhealthy_builder struct { // The type of failure that caused this ejection. FailureType HealthCheckFailureType // contains filtered or unexported fields }
func (HealthCheckEjectUnhealthy_builder) Build ¶
func (b0 HealthCheckEjectUnhealthy_builder) Build() *HealthCheckEjectUnhealthy
type HealthCheckEvent ¶
type HealthCheckEvent struct { HealthCheckerType HealthCheckerType `` /* 162-byte string literal not displayed */ Host *core.Address `protobuf:"bytes,2,opt,name=host,proto3" json:"host,omitempty"` ClusterName string `protobuf:"bytes,3,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"` // Types that are valid to be assigned to Event: // // *HealthCheckEvent_EjectUnhealthyEvent // *HealthCheckEvent_AddHealthyEvent // *HealthCheckEvent_HealthCheckFailureEvent // *HealthCheckEvent_DegradedHealthyHost // *HealthCheckEvent_NoLongerDegradedHost Event isHealthCheckEvent_Event `protobuf_oneof:"event"` // Timestamp for event. Timestamp *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // contains filtered or unexported fields }
[#next-free-field: 10]
func (*HealthCheckEvent) ClearAddHealthyEvent ¶
func (x *HealthCheckEvent) ClearAddHealthyEvent()
func (*HealthCheckEvent) ClearDegradedHealthyHost ¶
func (x *HealthCheckEvent) ClearDegradedHealthyHost()
func (*HealthCheckEvent) ClearEjectUnhealthyEvent ¶
func (x *HealthCheckEvent) ClearEjectUnhealthyEvent()
func (*HealthCheckEvent) ClearEvent ¶
func (x *HealthCheckEvent) ClearEvent()
func (*HealthCheckEvent) ClearHealthCheckFailureEvent ¶
func (x *HealthCheckEvent) ClearHealthCheckFailureEvent()
func (*HealthCheckEvent) ClearHost ¶
func (x *HealthCheckEvent) ClearHost()
func (*HealthCheckEvent) ClearNoLongerDegradedHost ¶
func (x *HealthCheckEvent) ClearNoLongerDegradedHost()
func (*HealthCheckEvent) ClearTimestamp ¶
func (x *HealthCheckEvent) ClearTimestamp()
func (*HealthCheckEvent) GetAddHealthyEvent ¶
func (x *HealthCheckEvent) GetAddHealthyEvent() *HealthCheckAddHealthy
func (*HealthCheckEvent) GetClusterName ¶
func (x *HealthCheckEvent) GetClusterName() string
func (*HealthCheckEvent) GetDegradedHealthyHost ¶
func (x *HealthCheckEvent) GetDegradedHealthyHost() *DegradedHealthyHost
func (*HealthCheckEvent) GetEjectUnhealthyEvent ¶
func (x *HealthCheckEvent) GetEjectUnhealthyEvent() *HealthCheckEjectUnhealthy
func (*HealthCheckEvent) GetEvent ¶
func (x *HealthCheckEvent) GetEvent() isHealthCheckEvent_Event
func (*HealthCheckEvent) GetHealthCheckFailureEvent ¶
func (x *HealthCheckEvent) GetHealthCheckFailureEvent() *HealthCheckFailure
func (*HealthCheckEvent) GetHealthCheckerType ¶
func (x *HealthCheckEvent) GetHealthCheckerType() HealthCheckerType
func (*HealthCheckEvent) GetHost ¶
func (x *HealthCheckEvent) GetHost() *core.Address
func (*HealthCheckEvent) GetNoLongerDegradedHost ¶
func (x *HealthCheckEvent) GetNoLongerDegradedHost() *NoLongerDegradedHost
func (*HealthCheckEvent) GetTimestamp ¶
func (x *HealthCheckEvent) GetTimestamp() *timestamppb.Timestamp
func (*HealthCheckEvent) HasAddHealthyEvent ¶
func (x *HealthCheckEvent) HasAddHealthyEvent() bool
func (*HealthCheckEvent) HasDegradedHealthyHost ¶
func (x *HealthCheckEvent) HasDegradedHealthyHost() bool
func (*HealthCheckEvent) HasEjectUnhealthyEvent ¶
func (x *HealthCheckEvent) HasEjectUnhealthyEvent() bool
func (*HealthCheckEvent) HasEvent ¶
func (x *HealthCheckEvent) HasEvent() bool
func (*HealthCheckEvent) HasHealthCheckFailureEvent ¶
func (x *HealthCheckEvent) HasHealthCheckFailureEvent() bool
func (*HealthCheckEvent) HasHost ¶
func (x *HealthCheckEvent) HasHost() bool
func (*HealthCheckEvent) HasNoLongerDegradedHost ¶
func (x *HealthCheckEvent) HasNoLongerDegradedHost() bool
func (*HealthCheckEvent) HasTimestamp ¶
func (x *HealthCheckEvent) HasTimestamp() bool
func (*HealthCheckEvent) ProtoMessage ¶
func (*HealthCheckEvent) ProtoMessage()
func (*HealthCheckEvent) ProtoReflect ¶
func (x *HealthCheckEvent) ProtoReflect() protoreflect.Message
func (*HealthCheckEvent) Reset ¶
func (x *HealthCheckEvent) Reset()
func (*HealthCheckEvent) SetAddHealthyEvent ¶
func (x *HealthCheckEvent) SetAddHealthyEvent(v *HealthCheckAddHealthy)
func (*HealthCheckEvent) SetClusterName ¶
func (x *HealthCheckEvent) SetClusterName(v string)
func (*HealthCheckEvent) SetDegradedHealthyHost ¶
func (x *HealthCheckEvent) SetDegradedHealthyHost(v *DegradedHealthyHost)
func (*HealthCheckEvent) SetEjectUnhealthyEvent ¶
func (x *HealthCheckEvent) SetEjectUnhealthyEvent(v *HealthCheckEjectUnhealthy)
func (*HealthCheckEvent) SetHealthCheckFailureEvent ¶
func (x *HealthCheckEvent) SetHealthCheckFailureEvent(v *HealthCheckFailure)
func (*HealthCheckEvent) SetHealthCheckerType ¶
func (x *HealthCheckEvent) SetHealthCheckerType(v HealthCheckerType)
func (*HealthCheckEvent) SetHost ¶
func (x *HealthCheckEvent) SetHost(v *core.Address)
func (*HealthCheckEvent) SetNoLongerDegradedHost ¶
func (x *HealthCheckEvent) SetNoLongerDegradedHost(v *NoLongerDegradedHost)
func (*HealthCheckEvent) SetTimestamp ¶
func (x *HealthCheckEvent) SetTimestamp(v *timestamppb.Timestamp)
func (*HealthCheckEvent) String ¶
func (x *HealthCheckEvent) String() string
func (*HealthCheckEvent) WhichEvent ¶
func (x *HealthCheckEvent) WhichEvent() case_HealthCheckEvent_Event
type HealthCheckEvent_AddHealthyEvent ¶
type HealthCheckEvent_AddHealthyEvent struct { // Host addition. AddHealthyEvent *HealthCheckAddHealthy `protobuf:"bytes,5,opt,name=add_healthy_event,json=addHealthyEvent,proto3,oneof"` }
type HealthCheckEvent_DegradedHealthyHost ¶
type HealthCheckEvent_DegradedHealthyHost struct { // Healthy host became degraded. DegradedHealthyHost *DegradedHealthyHost `protobuf:"bytes,8,opt,name=degraded_healthy_host,json=degradedHealthyHost,proto3,oneof"` }
type HealthCheckEvent_EjectUnhealthyEvent ¶
type HealthCheckEvent_EjectUnhealthyEvent struct { // Host ejection. EjectUnhealthyEvent *HealthCheckEjectUnhealthy `protobuf:"bytes,4,opt,name=eject_unhealthy_event,json=ejectUnhealthyEvent,proto3,oneof"` }
type HealthCheckEvent_HealthCheckFailureEvent ¶
type HealthCheckEvent_HealthCheckFailureEvent struct { // Host failure. HealthCheckFailureEvent *HealthCheckFailure `protobuf:"bytes,7,opt,name=health_check_failure_event,json=healthCheckFailureEvent,proto3,oneof"` }
type HealthCheckEvent_NoLongerDegradedHost ¶
type HealthCheckEvent_NoLongerDegradedHost struct { // A degraded host returned to being healthy. NoLongerDegradedHost *NoLongerDegradedHost `protobuf:"bytes,9,opt,name=no_longer_degraded_host,json=noLongerDegradedHost,proto3,oneof"` }
type HealthCheckEvent_builder ¶
type HealthCheckEvent_builder struct { HealthCheckerType HealthCheckerType Host *core.Address ClusterName string // Fields of oneof Event: // Host ejection. EjectUnhealthyEvent *HealthCheckEjectUnhealthy // Host addition. AddHealthyEvent *HealthCheckAddHealthy // Host failure. HealthCheckFailureEvent *HealthCheckFailure // Healthy host became degraded. DegradedHealthyHost *DegradedHealthyHost // A degraded host returned to being healthy. NoLongerDegradedHost *NoLongerDegradedHost // -- end of Event // Timestamp for event. Timestamp *timestamppb.Timestamp // contains filtered or unexported fields }
func (HealthCheckEvent_builder) Build ¶
func (b0 HealthCheckEvent_builder) Build() *HealthCheckEvent
type HealthCheckFailure ¶
type HealthCheckFailure struct { // The type of failure that caused this event. FailureType HealthCheckFailureType `` /* 147-byte string literal not displayed */ // Whether this event is the result of the first ever health check on a host. FirstCheck bool `protobuf:"varint,2,opt,name=first_check,json=firstCheck,proto3" json:"first_check,omitempty"` // contains filtered or unexported fields }
func (*HealthCheckFailure) GetFailureType ¶
func (x *HealthCheckFailure) GetFailureType() HealthCheckFailureType
func (*HealthCheckFailure) GetFirstCheck ¶
func (x *HealthCheckFailure) GetFirstCheck() bool
func (*HealthCheckFailure) ProtoMessage ¶
func (*HealthCheckFailure) ProtoMessage()
func (*HealthCheckFailure) ProtoReflect ¶
func (x *HealthCheckFailure) ProtoReflect() protoreflect.Message
func (*HealthCheckFailure) Reset ¶
func (x *HealthCheckFailure) Reset()
func (*HealthCheckFailure) SetFailureType ¶
func (x *HealthCheckFailure) SetFailureType(v HealthCheckFailureType)
func (*HealthCheckFailure) SetFirstCheck ¶
func (x *HealthCheckFailure) SetFirstCheck(v bool)
func (*HealthCheckFailure) String ¶
func (x *HealthCheckFailure) String() string
type HealthCheckFailureType ¶
type HealthCheckFailureType int32
const ( HealthCheckFailureType_ACTIVE HealthCheckFailureType = 0 HealthCheckFailureType_PASSIVE HealthCheckFailureType = 1 HealthCheckFailureType_NETWORK HealthCheckFailureType = 2 )
func (HealthCheckFailureType) Descriptor ¶
func (HealthCheckFailureType) Descriptor() protoreflect.EnumDescriptor
func (HealthCheckFailureType) Enum ¶
func (x HealthCheckFailureType) Enum() *HealthCheckFailureType
func (HealthCheckFailureType) Number ¶
func (x HealthCheckFailureType) Number() protoreflect.EnumNumber
func (HealthCheckFailureType) String ¶
func (x HealthCheckFailureType) String() string
func (HealthCheckFailureType) Type ¶
func (HealthCheckFailureType) Type() protoreflect.EnumType
type HealthCheckFailure_builder ¶
type HealthCheckFailure_builder struct { // The type of failure that caused this event. FailureType HealthCheckFailureType // Whether this event is the result of the first ever health check on a host. FirstCheck bool // contains filtered or unexported fields }
func (HealthCheckFailure_builder) Build ¶
func (b0 HealthCheckFailure_builder) Build() *HealthCheckFailure
type HealthCheckerType ¶
type HealthCheckerType int32
const ( HealthCheckerType_HTTP HealthCheckerType = 0 HealthCheckerType_TCP HealthCheckerType = 1 HealthCheckerType_GRPC HealthCheckerType = 2 HealthCheckerType_REDIS HealthCheckerType = 3 )
func (HealthCheckerType) Descriptor ¶
func (HealthCheckerType) Descriptor() protoreflect.EnumDescriptor
func (HealthCheckerType) Enum ¶
func (x HealthCheckerType) Enum() *HealthCheckerType
func (HealthCheckerType) Number ¶
func (x HealthCheckerType) Number() protoreflect.EnumNumber
func (HealthCheckerType) String ¶
func (x HealthCheckerType) String() string
func (HealthCheckerType) Type ¶
func (HealthCheckerType) Type() protoreflect.EnumType
type NoLongerDegradedHost ¶
type NoLongerDegradedHost struct {
// contains filtered or unexported fields
}
func (*NoLongerDegradedHost) ProtoMessage ¶
func (*NoLongerDegradedHost) ProtoMessage()
func (*NoLongerDegradedHost) ProtoReflect ¶
func (x *NoLongerDegradedHost) ProtoReflect() protoreflect.Message
func (*NoLongerDegradedHost) Reset ¶
func (x *NoLongerDegradedHost) Reset()
func (*NoLongerDegradedHost) String ¶
func (x *NoLongerDegradedHost) String() string
type NoLongerDegradedHost_builder ¶
type NoLongerDegradedHost_builder struct {
// contains filtered or unexported fields
}
func (NoLongerDegradedHost_builder) Build ¶
func (b0 NoLongerDegradedHost_builder) Build() *NoLongerDegradedHost
Click to show internal directories.
Click to hide internal directories.