import "github.com/envoyproxy/go-control-plane/envoy/data/core/v3"
health_check_event.pb.go health_check_event.pb.validate.go
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_v3_health_check_event_proto protoreflect.FileDescriptor
type DegradedHealthyHost struct {
// contains filtered or unexported fields
}
func (*DegradedHealthyHost) Descriptor() ([]byte, []int)
Deprecated: Use DegradedHealthyHost.ProtoReflect.Descriptor instead.
func (*DegradedHealthyHost) ProtoMessage()
func (x *DegradedHealthyHost) ProtoReflect() protoreflect.Message
func (x *DegradedHealthyHost) Reset()
func (x *DegradedHealthyHost) String() string
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, an error is returned.
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 (e DegradedHealthyHostValidationError) Cause() error
Cause function returns cause value.
func (e DegradedHealthyHostValidationError) Error() string
Error satisfies the builtin error interface
func (e DegradedHealthyHostValidationError) ErrorName() string
ErrorName returns error name.
func (e DegradedHealthyHostValidationError) Field() string
Field function returns field value.
func (e DegradedHealthyHostValidationError) Key() bool
Key function returns key value.
func (e DegradedHealthyHostValidationError) Reason() string
Reason function returns reason value.
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_config.core.v3.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() ([]byte, []int)
Deprecated: Use HealthCheckAddHealthy.ProtoReflect.Descriptor instead.
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
Validate checks the field values on HealthCheckAddHealthy with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
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 (e HealthCheckAddHealthyValidationError) Cause() error
Cause function returns cause value.
func (e HealthCheckAddHealthyValidationError) Error() string
Error satisfies the builtin error interface
func (e HealthCheckAddHealthyValidationError) ErrorName() string
ErrorName returns error name.
func (e HealthCheckAddHealthyValidationError) Field() string
Field function returns field value.
func (e HealthCheckAddHealthyValidationError) Key() bool
Key function returns key value.
func (e HealthCheckAddHealthyValidationError) Reason() string
Reason function returns reason value.
type HealthCheckEjectUnhealthy struct { // The type of failure that caused this ejection. FailureType HealthCheckFailureType `protobuf:"varint,1,opt,name=failure_type,json=failureType,proto3,enum=envoy.data.core.v3.HealthCheckFailureType" json:"failure_type,omitempty"` // contains filtered or unexported fields }
func (*HealthCheckEjectUnhealthy) Descriptor() ([]byte, []int)
Deprecated: Use HealthCheckEjectUnhealthy.ProtoReflect.Descriptor instead.
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
Validate checks the field values on HealthCheckEjectUnhealthy with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
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 (e HealthCheckEjectUnhealthyValidationError) Cause() error
Cause function returns cause value.
func (e HealthCheckEjectUnhealthyValidationError) Error() string
Error satisfies the builtin error interface
func (e HealthCheckEjectUnhealthyValidationError) ErrorName() string
ErrorName returns error name.
func (e HealthCheckEjectUnhealthyValidationError) Field() string
Field function returns field value.
func (e HealthCheckEjectUnhealthyValidationError) Key() bool
Key function returns key value.
func (e HealthCheckEjectUnhealthyValidationError) Reason() string
Reason function returns reason value.
type HealthCheckEvent struct { HealthCheckerType HealthCheckerType `protobuf:"varint,1,opt,name=health_checker_type,json=healthCheckerType,proto3,enum=envoy.data.core.v3.HealthCheckerType" json:"health_checker_type,omitempty"` Host *v3.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() ([]byte, []int)
Deprecated: Use HealthCheckEvent.ProtoReflect.Descriptor instead.
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() *v3.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
Validate checks the field values on HealthCheckEvent with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
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 (e HealthCheckEventValidationError) Cause() error
Cause function returns cause value.
func (e HealthCheckEventValidationError) Error() string
Error satisfies the builtin error interface
func (e HealthCheckEventValidationError) ErrorName() string
ErrorName returns error name.
func (e HealthCheckEventValidationError) Field() string
Field function returns field value.
func (e HealthCheckEventValidationError) Key() bool
Key function returns key value.
func (e HealthCheckEventValidationError) Reason() string
Reason function returns reason value.
type HealthCheckEvent_AddHealthyEvent struct { // Host addition. AddHealthyEvent *HealthCheckAddHealthy `protobuf:"bytes,5,opt,name=add_healthy_event,json=addHealthyEvent,proto3,oneof"` }
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 struct { // Host ejection. EjectUnhealthyEvent *HealthCheckEjectUnhealthy `protobuf:"bytes,4,opt,name=eject_unhealthy_event,json=ejectUnhealthyEvent,proto3,oneof"` }
type HealthCheckEvent_HealthCheckFailureEvent struct { // Host failure. HealthCheckFailureEvent *HealthCheckFailure `protobuf:"bytes,7,opt,name=health_check_failure_event,json=healthCheckFailureEvent,proto3,oneof"` }
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 struct { // The type of failure that caused this event. FailureType HealthCheckFailureType `protobuf:"varint,1,opt,name=failure_type,json=failureType,proto3,enum=envoy.data.core.v3.HealthCheckFailureType" json:"failure_type,omitempty"` // 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() ([]byte, []int)
Deprecated: Use HealthCheckFailure.ProtoReflect.Descriptor instead.
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
Validate checks the field values on HealthCheckFailure with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
const ( HealthCheckFailureType_ACTIVE HealthCheckFailureType = 0 HealthCheckFailureType_PASSIVE HealthCheckFailureType = 1 HealthCheckFailureType_NETWORK HealthCheckFailureType = 2 )
func (HealthCheckFailureType) Descriptor() protoreflect.EnumDescriptor
func (x HealthCheckFailureType) Enum() *HealthCheckFailureType
func (HealthCheckFailureType) EnumDescriptor() ([]byte, []int)
Deprecated: Use HealthCheckFailureType.Descriptor instead.
func (x HealthCheckFailureType) Number() protoreflect.EnumNumber
func (x HealthCheckFailureType) String() string
func (HealthCheckFailureType) Type() protoreflect.EnumType
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 (e HealthCheckFailureValidationError) Cause() error
Cause function returns cause value.
func (e HealthCheckFailureValidationError) Error() string
Error satisfies the builtin error interface
func (e HealthCheckFailureValidationError) ErrorName() string
ErrorName returns error name.
func (e HealthCheckFailureValidationError) Field() string
Field function returns field value.
func (e HealthCheckFailureValidationError) Key() bool
Key function returns key value.
func (e HealthCheckFailureValidationError) Reason() string
Reason function returns reason value.
const ( HealthCheckerType_HTTP HealthCheckerType = 0 HealthCheckerType_TCP HealthCheckerType = 1 HealthCheckerType_GRPC HealthCheckerType = 2 HealthCheckerType_REDIS HealthCheckerType = 3 )
func (HealthCheckerType) Descriptor() protoreflect.EnumDescriptor
func (x HealthCheckerType) Enum() *HealthCheckerType
func (HealthCheckerType) EnumDescriptor() ([]byte, []int)
Deprecated: Use HealthCheckerType.Descriptor instead.
func (x HealthCheckerType) Number() protoreflect.EnumNumber
func (x HealthCheckerType) String() string
func (HealthCheckerType) Type() protoreflect.EnumType
type NoLongerDegradedHost struct {
// contains filtered or unexported fields
}
func (*NoLongerDegradedHost) Descriptor() ([]byte, []int)
Deprecated: Use NoLongerDegradedHost.ProtoReflect.Descriptor instead.
func (*NoLongerDegradedHost) ProtoMessage()
func (x *NoLongerDegradedHost) ProtoReflect() protoreflect.Message
func (x *NoLongerDegradedHost) Reset()
func (x *NoLongerDegradedHost) String() string
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, an error is returned.
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 (e NoLongerDegradedHostValidationError) Cause() error
Cause function returns cause value.
func (e NoLongerDegradedHostValidationError) Error() string
Error satisfies the builtin error interface
func (e NoLongerDegradedHostValidationError) ErrorName() string
ErrorName returns error name.
func (e NoLongerDegradedHostValidationError) Field() string
Field function returns field value.
func (e NoLongerDegradedHostValidationError) Key() bool
Key function returns key value.
func (e NoLongerDegradedHostValidationError) Reason() string
Reason function returns reason value.
Package envoy_data_core_v3 imports 20 packages (graph) and is imported by 6 packages. Updated 2021-01-09. Refresh now. Tools for package owners.