Documentation ¶
Index ¶
- Variables
- type DegradedHealthyHost
- func (*DegradedHealthyHost) Descriptor() ([]byte, []int)deprecated
- func (*DegradedHealthyHost) ProtoMessage()
- func (x *DegradedHealthyHost) ProtoReflect() protoreflect.Message
- func (x *DegradedHealthyHost) Reset()
- func (x *DegradedHealthyHost) String() string
- func (m *DegradedHealthyHost) Validate() error
- func (m *DegradedHealthyHost) ValidateAll() error
- type DegradedHealthyHostMultiError
- type DegradedHealthyHostValidationError
- func (e DegradedHealthyHostValidationError) Cause() error
- func (e DegradedHealthyHostValidationError) Error() string
- func (e DegradedHealthyHostValidationError) ErrorName() string
- func (e DegradedHealthyHostValidationError) Field() string
- func (e DegradedHealthyHostValidationError) Key() bool
- func (e DegradedHealthyHostValidationError) Reason() string
- type HealthCheckAddHealthy
- func (*HealthCheckAddHealthy) Descriptor() ([]byte, []int)deprecated
- func (x *HealthCheckAddHealthy) GetFirstCheck() bool
- func (*HealthCheckAddHealthy) ProtoMessage()
- func (x *HealthCheckAddHealthy) ProtoReflect() protoreflect.Message
- func (x *HealthCheckAddHealthy) Reset()
- func (x *HealthCheckAddHealthy) String() string
- func (m *HealthCheckAddHealthy) Validate() error
- func (m *HealthCheckAddHealthy) ValidateAll() error
- type HealthCheckAddHealthyMultiError
- type HealthCheckAddHealthyValidationError
- func (e HealthCheckAddHealthyValidationError) Cause() error
- func (e HealthCheckAddHealthyValidationError) Error() string
- func (e HealthCheckAddHealthyValidationError) ErrorName() string
- func (e HealthCheckAddHealthyValidationError) Field() string
- func (e HealthCheckAddHealthyValidationError) Key() bool
- func (e HealthCheckAddHealthyValidationError) Reason() string
- type HealthCheckEjectUnhealthy
- func (*HealthCheckEjectUnhealthy) Descriptor() ([]byte, []int)deprecated
- func (x *HealthCheckEjectUnhealthy) GetFailureType() HealthCheckFailureType
- func (*HealthCheckEjectUnhealthy) ProtoMessage()
- func (x *HealthCheckEjectUnhealthy) ProtoReflect() protoreflect.Message
- func (x *HealthCheckEjectUnhealthy) Reset()
- func (x *HealthCheckEjectUnhealthy) String() string
- func (m *HealthCheckEjectUnhealthy) Validate() error
- func (m *HealthCheckEjectUnhealthy) ValidateAll() error
- type HealthCheckEjectUnhealthyMultiError
- type HealthCheckEjectUnhealthyValidationError
- func (e HealthCheckEjectUnhealthyValidationError) Cause() error
- func (e HealthCheckEjectUnhealthyValidationError) Error() string
- func (e HealthCheckEjectUnhealthyValidationError) ErrorName() string
- func (e HealthCheckEjectUnhealthyValidationError) Field() string
- func (e HealthCheckEjectUnhealthyValidationError) Key() bool
- func (e HealthCheckEjectUnhealthyValidationError) Reason() string
- type HealthCheckEvent
- func (*HealthCheckEvent) Descriptor() ([]byte, []int)deprecated
- func (x *HealthCheckEvent) GetAddHealthyEvent() *HealthCheckAddHealthy
- func (x *HealthCheckEvent) GetClusterName() string
- func (x *HealthCheckEvent) GetDegradedHealthyHost() *DegradedHealthyHost
- func (x *HealthCheckEvent) GetEjectUnhealthyEvent() *HealthCheckEjectUnhealthy
- func (m *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() *timestamp.Timestamp
- func (*HealthCheckEvent) ProtoMessage()
- func (x *HealthCheckEvent) ProtoReflect() protoreflect.Message
- func (x *HealthCheckEvent) Reset()
- func (x *HealthCheckEvent) String() string
- func (m *HealthCheckEvent) Validate() error
- func (m *HealthCheckEvent) ValidateAll() error
- type HealthCheckEventMultiError
- type HealthCheckEventValidationError
- func (e HealthCheckEventValidationError) Cause() error
- func (e HealthCheckEventValidationError) Error() string
- func (e HealthCheckEventValidationError) ErrorName() string
- func (e HealthCheckEventValidationError) Field() string
- func (e HealthCheckEventValidationError) Key() bool
- func (e HealthCheckEventValidationError) Reason() string
- type HealthCheckEvent_AddHealthyEvent
- type HealthCheckEvent_DegradedHealthyHost
- type HealthCheckEvent_EjectUnhealthyEvent
- type HealthCheckEvent_HealthCheckFailureEvent
- type HealthCheckEvent_NoLongerDegradedHost
- type HealthCheckFailure
- func (*HealthCheckFailure) Descriptor() ([]byte, []int)deprecated
- 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) String() string
- func (m *HealthCheckFailure) Validate() error
- func (m *HealthCheckFailure) ValidateAll() error
- type HealthCheckFailureMultiError
- type HealthCheckFailureType
- func (HealthCheckFailureType) Descriptor() protoreflect.EnumDescriptor
- func (x HealthCheckFailureType) Enum() *HealthCheckFailureType
- func (HealthCheckFailureType) EnumDescriptor() ([]byte, []int)deprecated
- func (x HealthCheckFailureType) Number() protoreflect.EnumNumber
- func (x HealthCheckFailureType) String() string
- func (HealthCheckFailureType) Type() protoreflect.EnumType
- type HealthCheckFailureValidationError
- func (e HealthCheckFailureValidationError) Cause() error
- func (e HealthCheckFailureValidationError) Error() string
- func (e HealthCheckFailureValidationError) ErrorName() string
- func (e HealthCheckFailureValidationError) Field() string
- func (e HealthCheckFailureValidationError) Key() bool
- func (e HealthCheckFailureValidationError) Reason() string
- type HealthCheckerType
- func (HealthCheckerType) Descriptor() protoreflect.EnumDescriptor
- func (x HealthCheckerType) Enum() *HealthCheckerType
- func (HealthCheckerType) EnumDescriptor() ([]byte, []int)deprecated
- func (x HealthCheckerType) Number() protoreflect.EnumNumber
- func (x HealthCheckerType) String() string
- func (HealthCheckerType) Type() protoreflect.EnumType
- type NoLongerDegradedHost
- func (*NoLongerDegradedHost) Descriptor() ([]byte, []int)deprecated
- func (*NoLongerDegradedHost) ProtoMessage()
- func (x *NoLongerDegradedHost) ProtoReflect() protoreflect.Message
- func (x *NoLongerDegradedHost) Reset()
- func (x *NoLongerDegradedHost) String() string
- func (m *NoLongerDegradedHost) Validate() error
- func (m *NoLongerDegradedHost) ValidateAll() error
- type NoLongerDegradedHostMultiError
- type NoLongerDegradedHostValidationError
- func (e NoLongerDegradedHostValidationError) Cause() error
- func (e NoLongerDegradedHostValidationError) Error() string
- func (e NoLongerDegradedHostValidationError) ErrorName() string
- func (e NoLongerDegradedHostValidationError) Field() string
- func (e NoLongerDegradedHostValidationError) Key() bool
- func (e NoLongerDegradedHostValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
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.
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.
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) Descriptor
deprecated
func (*DegradedHealthyHost) Descriptor() ([]byte, []int)
Deprecated: Use DegradedHealthyHost.ProtoReflect.Descriptor instead.
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
func (*DegradedHealthyHost) Validate ¶
func (m *DegradedHealthyHost) Validate() error
Validate checks the field values on DegradedHealthyHost with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DegradedHealthyHost) ValidateAll ¶
func (m *DegradedHealthyHost) ValidateAll() error
ValidateAll checks the field values on DegradedHealthyHost with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DegradedHealthyHostMultiError, or nil if none found.
type DegradedHealthyHostMultiError ¶
type DegradedHealthyHostMultiError []error
DegradedHealthyHostMultiError is an error wrapping multiple validation errors returned by DegradedHealthyHost.ValidateAll() if the designated constraints aren't met.
func (DegradedHealthyHostMultiError) AllErrors ¶
func (m DegradedHealthyHostMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DegradedHealthyHostMultiError) Error ¶
func (m DegradedHealthyHostMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DegradedHealthyHostValidationError ¶
type DegradedHealthyHostValidationError struct {
// contains filtered or unexported fields
}
DegradedHealthyHostValidationError is the validation error returned by DegradedHealthyHost.Validate if the designated constraints aren't met.
func (DegradedHealthyHostValidationError) Cause ¶
func (e DegradedHealthyHostValidationError) Cause() error
Cause function returns cause value.
func (DegradedHealthyHostValidationError) Error ¶
func (e DegradedHealthyHostValidationError) Error() string
Error satisfies the builtin error interface
func (DegradedHealthyHostValidationError) ErrorName ¶
func (e DegradedHealthyHostValidationError) ErrorName() string
ErrorName returns error name.
func (DegradedHealthyHostValidationError) Field ¶
func (e DegradedHealthyHostValidationError) Field() string
Field function returns field value.
func (DegradedHealthyHostValidationError) Key ¶
func (e DegradedHealthyHostValidationError) Key() bool
Key function returns key value.
func (DegradedHealthyHostValidationError) Reason ¶
func (e DegradedHealthyHostValidationError) Reason() string
Reason function returns reason value.
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) Descriptor
deprecated
func (*HealthCheckAddHealthy) Descriptor() ([]byte, []int)
Deprecated: Use HealthCheckAddHealthy.ProtoReflect.Descriptor instead.
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) String ¶
func (x *HealthCheckAddHealthy) String() string
func (*HealthCheckAddHealthy) Validate ¶
func (m *HealthCheckAddHealthy) Validate() error
Validate checks the field values on HealthCheckAddHealthy with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*HealthCheckAddHealthy) ValidateAll ¶
func (m *HealthCheckAddHealthy) ValidateAll() error
ValidateAll checks the field values on HealthCheckAddHealthy with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in HealthCheckAddHealthyMultiError, or nil if none found.
type HealthCheckAddHealthyMultiError ¶
type HealthCheckAddHealthyMultiError []error
HealthCheckAddHealthyMultiError is an error wrapping multiple validation errors returned by HealthCheckAddHealthy.ValidateAll() if the designated constraints aren't met.
func (HealthCheckAddHealthyMultiError) AllErrors ¶
func (m HealthCheckAddHealthyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (HealthCheckAddHealthyMultiError) Error ¶
func (m HealthCheckAddHealthyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type HealthCheckAddHealthyValidationError ¶
type HealthCheckAddHealthyValidationError struct {
// contains filtered or unexported fields
}
HealthCheckAddHealthyValidationError is the validation error returned by HealthCheckAddHealthy.Validate if the designated constraints aren't met.
func (HealthCheckAddHealthyValidationError) Cause ¶
func (e HealthCheckAddHealthyValidationError) Cause() error
Cause function returns cause value.
func (HealthCheckAddHealthyValidationError) Error ¶
func (e HealthCheckAddHealthyValidationError) Error() string
Error satisfies the builtin error interface
func (HealthCheckAddHealthyValidationError) ErrorName ¶
func (e HealthCheckAddHealthyValidationError) ErrorName() string
ErrorName returns error name.
func (HealthCheckAddHealthyValidationError) Field ¶
func (e HealthCheckAddHealthyValidationError) Field() string
Field function returns field value.
func (HealthCheckAddHealthyValidationError) Key ¶
func (e HealthCheckAddHealthyValidationError) Key() bool
Key function returns key value.
func (HealthCheckAddHealthyValidationError) Reason ¶
func (e HealthCheckAddHealthyValidationError) Reason() string
Reason function returns reason value.
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) Descriptor
deprecated
func (*HealthCheckEjectUnhealthy) Descriptor() ([]byte, []int)
Deprecated: Use HealthCheckEjectUnhealthy.ProtoReflect.Descriptor instead.
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) String ¶
func (x *HealthCheckEjectUnhealthy) String() string
func (*HealthCheckEjectUnhealthy) Validate ¶
func (m *HealthCheckEjectUnhealthy) Validate() error
Validate checks the field values on HealthCheckEjectUnhealthy with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*HealthCheckEjectUnhealthy) ValidateAll ¶
func (m *HealthCheckEjectUnhealthy) ValidateAll() error
ValidateAll checks the field values on HealthCheckEjectUnhealthy with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in HealthCheckEjectUnhealthyMultiError, or nil if none found.
type HealthCheckEjectUnhealthyMultiError ¶
type HealthCheckEjectUnhealthyMultiError []error
HealthCheckEjectUnhealthyMultiError is an error wrapping multiple validation errors returned by HealthCheckEjectUnhealthy.ValidateAll() if the designated constraints aren't met.
func (HealthCheckEjectUnhealthyMultiError) AllErrors ¶
func (m HealthCheckEjectUnhealthyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (HealthCheckEjectUnhealthyMultiError) Error ¶
func (m HealthCheckEjectUnhealthyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type HealthCheckEjectUnhealthyValidationError ¶
type HealthCheckEjectUnhealthyValidationError struct {
// contains filtered or unexported fields
}
HealthCheckEjectUnhealthyValidationError is the validation error returned by HealthCheckEjectUnhealthy.Validate if the designated constraints aren't met.
func (HealthCheckEjectUnhealthyValidationError) Cause ¶
func (e HealthCheckEjectUnhealthyValidationError) Cause() error
Cause function returns cause value.
func (HealthCheckEjectUnhealthyValidationError) Error ¶
func (e HealthCheckEjectUnhealthyValidationError) Error() string
Error satisfies the builtin error interface
func (HealthCheckEjectUnhealthyValidationError) ErrorName ¶
func (e HealthCheckEjectUnhealthyValidationError) ErrorName() string
ErrorName returns error name.
func (HealthCheckEjectUnhealthyValidationError) Field ¶
func (e HealthCheckEjectUnhealthyValidationError) Field() string
Field function returns field value.
func (HealthCheckEjectUnhealthyValidationError) Key ¶
func (e HealthCheckEjectUnhealthyValidationError) Key() bool
Key function returns key value.
func (HealthCheckEjectUnhealthyValidationError) Reason ¶
func (e HealthCheckEjectUnhealthyValidationError) Reason() string
Reason function returns reason value.
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 assignable to Event: // *HealthCheckEvent_EjectUnhealthyEvent // *HealthCheckEvent_AddHealthyEvent // *HealthCheckEvent_HealthCheckFailureEvent // *HealthCheckEvent_DegradedHealthyHost // *HealthCheckEvent_NoLongerDegradedHost Event isHealthCheckEvent_Event `protobuf_oneof:"event"` // Timestamp for event. Timestamp *timestamp.Timestamp `protobuf:"bytes,6,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // contains filtered or unexported fields }
[#next-free-field: 10]
func (*HealthCheckEvent) Descriptor
deprecated
func (*HealthCheckEvent) Descriptor() ([]byte, []int)
Deprecated: Use HealthCheckEvent.ProtoReflect.Descriptor instead.
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 (m *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() *timestamp.Timestamp
func (*HealthCheckEvent) ProtoMessage ¶
func (*HealthCheckEvent) ProtoMessage()
func (*HealthCheckEvent) ProtoReflect ¶
func (x *HealthCheckEvent) ProtoReflect() protoreflect.Message
func (*HealthCheckEvent) Reset ¶
func (x *HealthCheckEvent) Reset()
func (*HealthCheckEvent) String ¶
func (x *HealthCheckEvent) String() string
func (*HealthCheckEvent) Validate ¶
func (m *HealthCheckEvent) Validate() error
Validate checks the field values on HealthCheckEvent with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*HealthCheckEvent) ValidateAll ¶
func (m *HealthCheckEvent) ValidateAll() error
ValidateAll checks the field values on HealthCheckEvent with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in HealthCheckEventMultiError, or nil if none found.
type HealthCheckEventMultiError ¶
type HealthCheckEventMultiError []error
HealthCheckEventMultiError is an error wrapping multiple validation errors returned by HealthCheckEvent.ValidateAll() if the designated constraints aren't met.
func (HealthCheckEventMultiError) AllErrors ¶
func (m HealthCheckEventMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (HealthCheckEventMultiError) Error ¶
func (m HealthCheckEventMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type HealthCheckEventValidationError ¶
type HealthCheckEventValidationError struct {
// contains filtered or unexported fields
}
HealthCheckEventValidationError is the validation error returned by HealthCheckEvent.Validate if the designated constraints aren't met.
func (HealthCheckEventValidationError) Cause ¶
func (e HealthCheckEventValidationError) Cause() error
Cause function returns cause value.
func (HealthCheckEventValidationError) Error ¶
func (e HealthCheckEventValidationError) Error() string
Error satisfies the builtin error interface
func (HealthCheckEventValidationError) ErrorName ¶
func (e HealthCheckEventValidationError) ErrorName() string
ErrorName returns error name.
func (HealthCheckEventValidationError) Field ¶
func (e HealthCheckEventValidationError) Field() string
Field function returns field value.
func (HealthCheckEventValidationError) Key ¶
func (e HealthCheckEventValidationError) Key() bool
Key function returns key value.
func (HealthCheckEventValidationError) Reason ¶
func (e HealthCheckEventValidationError) Reason() string
Reason function returns reason value.
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 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) Descriptor
deprecated
func (*HealthCheckFailure) Descriptor() ([]byte, []int)
Deprecated: Use HealthCheckFailure.ProtoReflect.Descriptor instead.
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) String ¶
func (x *HealthCheckFailure) String() string
func (*HealthCheckFailure) Validate ¶
func (m *HealthCheckFailure) Validate() error
Validate checks the field values on HealthCheckFailure with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*HealthCheckFailure) ValidateAll ¶
func (m *HealthCheckFailure) ValidateAll() error
ValidateAll checks the field values on HealthCheckFailure with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in HealthCheckFailureMultiError, or nil if none found.
type HealthCheckFailureMultiError ¶
type HealthCheckFailureMultiError []error
HealthCheckFailureMultiError is an error wrapping multiple validation errors returned by HealthCheckFailure.ValidateAll() if the designated constraints aren't met.
func (HealthCheckFailureMultiError) AllErrors ¶
func (m HealthCheckFailureMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (HealthCheckFailureMultiError) Error ¶
func (m HealthCheckFailureMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
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) EnumDescriptor
deprecated
func (HealthCheckFailureType) EnumDescriptor() ([]byte, []int)
Deprecated: Use HealthCheckFailureType.Descriptor instead.
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 HealthCheckFailureValidationError ¶
type HealthCheckFailureValidationError struct {
// contains filtered or unexported fields
}
HealthCheckFailureValidationError is the validation error returned by HealthCheckFailure.Validate if the designated constraints aren't met.
func (HealthCheckFailureValidationError) Cause ¶
func (e HealthCheckFailureValidationError) Cause() error
Cause function returns cause value.
func (HealthCheckFailureValidationError) Error ¶
func (e HealthCheckFailureValidationError) Error() string
Error satisfies the builtin error interface
func (HealthCheckFailureValidationError) ErrorName ¶
func (e HealthCheckFailureValidationError) ErrorName() string
ErrorName returns error name.
func (HealthCheckFailureValidationError) Field ¶
func (e HealthCheckFailureValidationError) Field() string
Field function returns field value.
func (HealthCheckFailureValidationError) Key ¶
func (e HealthCheckFailureValidationError) Key() bool
Key function returns key value.
func (HealthCheckFailureValidationError) Reason ¶
func (e HealthCheckFailureValidationError) Reason() string
Reason function returns reason value.
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) EnumDescriptor
deprecated
func (HealthCheckerType) EnumDescriptor() ([]byte, []int)
Deprecated: Use HealthCheckerType.Descriptor instead.
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) Descriptor
deprecated
func (*NoLongerDegradedHost) Descriptor() ([]byte, []int)
Deprecated: Use NoLongerDegradedHost.ProtoReflect.Descriptor instead.
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
func (*NoLongerDegradedHost) Validate ¶
func (m *NoLongerDegradedHost) Validate() error
Validate checks the field values on NoLongerDegradedHost with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*NoLongerDegradedHost) ValidateAll ¶
func (m *NoLongerDegradedHost) ValidateAll() error
ValidateAll checks the field values on NoLongerDegradedHost with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in NoLongerDegradedHostMultiError, or nil if none found.
type NoLongerDegradedHostMultiError ¶
type NoLongerDegradedHostMultiError []error
NoLongerDegradedHostMultiError is an error wrapping multiple validation errors returned by NoLongerDegradedHost.ValidateAll() if the designated constraints aren't met.
func (NoLongerDegradedHostMultiError) AllErrors ¶
func (m NoLongerDegradedHostMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (NoLongerDegradedHostMultiError) Error ¶
func (m NoLongerDegradedHostMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type NoLongerDegradedHostValidationError ¶
type NoLongerDegradedHostValidationError struct {
// contains filtered or unexported fields
}
NoLongerDegradedHostValidationError is the validation error returned by NoLongerDegradedHost.Validate if the designated constraints aren't met.
func (NoLongerDegradedHostValidationError) Cause ¶
func (e NoLongerDegradedHostValidationError) Cause() error
Cause function returns cause value.
func (NoLongerDegradedHostValidationError) Error ¶
func (e NoLongerDegradedHostValidationError) Error() string
Error satisfies the builtin error interface
func (NoLongerDegradedHostValidationError) ErrorName ¶
func (e NoLongerDegradedHostValidationError) ErrorName() string
ErrorName returns error name.
func (NoLongerDegradedHostValidationError) Field ¶
func (e NoLongerDegradedHostValidationError) Field() string
Field function returns field value.
func (NoLongerDegradedHostValidationError) Key ¶
func (e NoLongerDegradedHostValidationError) Key() bool
Key function returns key value.
func (NoLongerDegradedHostValidationError) Reason ¶
func (e NoLongerDegradedHostValidationError) Reason() string
Reason function returns reason value.