Documentation ¶
Index ¶
- Variables
- type HealthCheckAddHealthy
- func (*HealthCheckAddHealthy) Descriptor() ([]byte, []int)
- func (this *HealthCheckAddHealthy) Equal(that interface{}) bool
- func (m *HealthCheckAddHealthy) GetFirstCheck() bool
- func (m *HealthCheckAddHealthy) Marshal() (dAtA []byte, err error)
- func (m *HealthCheckAddHealthy) MarshalTo(dAtA []byte) (int, error)
- func (*HealthCheckAddHealthy) ProtoMessage()
- func (m *HealthCheckAddHealthy) Reset()
- func (m *HealthCheckAddHealthy) Size() (n int)
- func (m *HealthCheckAddHealthy) String() string
- func (m *HealthCheckAddHealthy) Unmarshal(dAtA []byte) error
- func (m *HealthCheckAddHealthy) Validate() error
- func (m *HealthCheckAddHealthy) XXX_DiscardUnknown()
- func (m *HealthCheckAddHealthy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *HealthCheckAddHealthy) XXX_Merge(src proto.Message)
- func (m *HealthCheckAddHealthy) XXX_Size() int
- func (m *HealthCheckAddHealthy) XXX_Unmarshal(b []byte) error
- type HealthCheckAddHealthyValidationError
- type HealthCheckEjectUnhealthy
- func (*HealthCheckEjectUnhealthy) Descriptor() ([]byte, []int)
- func (this *HealthCheckEjectUnhealthy) Equal(that interface{}) bool
- func (m *HealthCheckEjectUnhealthy) GetFailureType() HealthCheckFailureType
- func (m *HealthCheckEjectUnhealthy) Marshal() (dAtA []byte, err error)
- func (m *HealthCheckEjectUnhealthy) MarshalTo(dAtA []byte) (int, error)
- func (*HealthCheckEjectUnhealthy) ProtoMessage()
- func (m *HealthCheckEjectUnhealthy) Reset()
- func (m *HealthCheckEjectUnhealthy) Size() (n int)
- func (m *HealthCheckEjectUnhealthy) String() string
- func (m *HealthCheckEjectUnhealthy) Unmarshal(dAtA []byte) error
- func (m *HealthCheckEjectUnhealthy) Validate() error
- func (m *HealthCheckEjectUnhealthy) XXX_DiscardUnknown()
- func (m *HealthCheckEjectUnhealthy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *HealthCheckEjectUnhealthy) XXX_Merge(src proto.Message)
- func (m *HealthCheckEjectUnhealthy) XXX_Size() int
- func (m *HealthCheckEjectUnhealthy) XXX_Unmarshal(b []byte) error
- type HealthCheckEjectUnhealthyValidationError
- type HealthCheckEvent
- func (*HealthCheckEvent) Descriptor() ([]byte, []int)
- func (this *HealthCheckEvent) Equal(that interface{}) bool
- func (m *HealthCheckEvent) GetAddHealthyEvent() *HealthCheckAddHealthy
- func (m *HealthCheckEvent) GetClusterName() string
- func (m *HealthCheckEvent) GetEjectUnhealthyEvent() *HealthCheckEjectUnhealthy
- func (m *HealthCheckEvent) GetEvent() isHealthCheckEvent_Event
- func (m *HealthCheckEvent) GetHealthCheckerType() HealthCheckerType
- func (m *HealthCheckEvent) GetHost() *core.Address
- func (m *HealthCheckEvent) GetTimestamp() *time.Time
- func (m *HealthCheckEvent) Marshal() (dAtA []byte, err error)
- func (m *HealthCheckEvent) MarshalTo(dAtA []byte) (int, error)
- func (*HealthCheckEvent) ProtoMessage()
- func (m *HealthCheckEvent) Reset()
- func (m *HealthCheckEvent) Size() (n int)
- func (m *HealthCheckEvent) String() string
- func (m *HealthCheckEvent) Unmarshal(dAtA []byte) error
- func (m *HealthCheckEvent) Validate() error
- func (m *HealthCheckEvent) XXX_DiscardUnknown()
- func (m *HealthCheckEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *HealthCheckEvent) XXX_Merge(src proto.Message)
- func (*HealthCheckEvent) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *HealthCheckEvent) XXX_Size() int
- func (m *HealthCheckEvent) XXX_Unmarshal(b []byte) error
- type HealthCheckEventValidationError
- type HealthCheckEvent_AddHealthyEvent
- type HealthCheckEvent_EjectUnhealthyEvent
- type HealthCheckFailureType
- type HealthCheckerType
Constants ¶
This section is empty.
Variables ¶
var ( ErrInvalidLengthHealthCheckEvent = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowHealthCheckEvent = fmt.Errorf("proto: integer overflow") )
var HealthCheckFailureType_name = map[int32]string{
0: "ACTIVE",
1: "PASSIVE",
2: "NETWORK",
}
var HealthCheckFailureType_value = map[string]int32{
"ACTIVE": 0,
"PASSIVE": 1,
"NETWORK": 2,
}
var HealthCheckerType_name = map[int32]string{
0: "HTTP",
1: "TCP",
2: "GRPC",
3: "REDIS",
}
var HealthCheckerType_value = map[string]int32{
"HTTP": 0,
"TCP": 1,
"GRPC": 2,
"REDIS": 3,
}
Functions ¶
This section is empty.
Types ¶
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*HealthCheckAddHealthy) Descriptor ¶
func (*HealthCheckAddHealthy) Descriptor() ([]byte, []int)
func (*HealthCheckAddHealthy) Equal ¶
func (this *HealthCheckAddHealthy) Equal(that interface{}) bool
func (*HealthCheckAddHealthy) GetFirstCheck ¶
func (m *HealthCheckAddHealthy) GetFirstCheck() bool
func (*HealthCheckAddHealthy) Marshal ¶
func (m *HealthCheckAddHealthy) Marshal() (dAtA []byte, err error)
func (*HealthCheckAddHealthy) MarshalTo ¶
func (m *HealthCheckAddHealthy) MarshalTo(dAtA []byte) (int, error)
func (*HealthCheckAddHealthy) ProtoMessage ¶
func (*HealthCheckAddHealthy) ProtoMessage()
func (*HealthCheckAddHealthy) Reset ¶
func (m *HealthCheckAddHealthy) Reset()
func (*HealthCheckAddHealthy) Size ¶
func (m *HealthCheckAddHealthy) Size() (n int)
func (*HealthCheckAddHealthy) String ¶
func (m *HealthCheckAddHealthy) String() string
func (*HealthCheckAddHealthy) Unmarshal ¶
func (m *HealthCheckAddHealthy) Unmarshal(dAtA []byte) error
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, an error is returned.
func (*HealthCheckAddHealthy) XXX_DiscardUnknown ¶
func (m *HealthCheckAddHealthy) XXX_DiscardUnknown()
func (*HealthCheckAddHealthy) XXX_Marshal ¶
func (m *HealthCheckAddHealthy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HealthCheckAddHealthy) XXX_Merge ¶
func (dst *HealthCheckAddHealthy) XXX_Merge(src proto.Message)
func (*HealthCheckAddHealthy) XXX_Size ¶
func (m *HealthCheckAddHealthy) XXX_Size() int
func (*HealthCheckAddHealthy) XXX_Unmarshal ¶
func (m *HealthCheckAddHealthy) XXX_Unmarshal(b []byte) error
type HealthCheckAddHealthyValidationError ¶
type HealthCheckAddHealthyValidationError struct { Field string Reason string Cause error Key bool }
HealthCheckAddHealthyValidationError is the validation error returned by HealthCheckAddHealthy.Validate if the designated constraints aren't met.
func (HealthCheckAddHealthyValidationError) Error ¶
func (e HealthCheckAddHealthyValidationError) Error() string
Error satisfies the builtin error interface
type HealthCheckEjectUnhealthy ¶
type HealthCheckEjectUnhealthy struct { // The type of failure that caused this ejection. FailureType HealthCheckFailureType `` /* 147-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*HealthCheckEjectUnhealthy) Descriptor ¶
func (*HealthCheckEjectUnhealthy) Descriptor() ([]byte, []int)
func (*HealthCheckEjectUnhealthy) Equal ¶
func (this *HealthCheckEjectUnhealthy) Equal(that interface{}) bool
func (*HealthCheckEjectUnhealthy) GetFailureType ¶
func (m *HealthCheckEjectUnhealthy) GetFailureType() HealthCheckFailureType
func (*HealthCheckEjectUnhealthy) Marshal ¶
func (m *HealthCheckEjectUnhealthy) Marshal() (dAtA []byte, err error)
func (*HealthCheckEjectUnhealthy) MarshalTo ¶
func (m *HealthCheckEjectUnhealthy) MarshalTo(dAtA []byte) (int, error)
func (*HealthCheckEjectUnhealthy) ProtoMessage ¶
func (*HealthCheckEjectUnhealthy) ProtoMessage()
func (*HealthCheckEjectUnhealthy) Reset ¶
func (m *HealthCheckEjectUnhealthy) Reset()
func (*HealthCheckEjectUnhealthy) Size ¶
func (m *HealthCheckEjectUnhealthy) Size() (n int)
func (*HealthCheckEjectUnhealthy) String ¶
func (m *HealthCheckEjectUnhealthy) String() string
func (*HealthCheckEjectUnhealthy) Unmarshal ¶
func (m *HealthCheckEjectUnhealthy) Unmarshal(dAtA []byte) error
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, an error is returned.
func (*HealthCheckEjectUnhealthy) XXX_DiscardUnknown ¶
func (m *HealthCheckEjectUnhealthy) XXX_DiscardUnknown()
func (*HealthCheckEjectUnhealthy) XXX_Marshal ¶
func (m *HealthCheckEjectUnhealthy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HealthCheckEjectUnhealthy) XXX_Merge ¶
func (dst *HealthCheckEjectUnhealthy) XXX_Merge(src proto.Message)
func (*HealthCheckEjectUnhealthy) XXX_Size ¶
func (m *HealthCheckEjectUnhealthy) XXX_Size() int
func (*HealthCheckEjectUnhealthy) XXX_Unmarshal ¶
func (m *HealthCheckEjectUnhealthy) XXX_Unmarshal(b []byte) error
type HealthCheckEjectUnhealthyValidationError ¶
type HealthCheckEjectUnhealthyValidationError struct { Field string Reason string Cause error Key bool }
HealthCheckEjectUnhealthyValidationError is the validation error returned by HealthCheckEjectUnhealthy.Validate if the designated constraints aren't met.
func (HealthCheckEjectUnhealthyValidationError) Error ¶
func (e HealthCheckEjectUnhealthyValidationError) Error() string
Error satisfies the builtin error interface
type HealthCheckEvent ¶
type HealthCheckEvent struct { HealthCheckerType HealthCheckerType `` /* 162-byte string literal not displayed */ Host *core.Address `protobuf:"bytes,2,opt,name=host" 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 Event isHealthCheckEvent_Event `protobuf_oneof:"event"` // Timestamp for event. Timestamp *time.Time `protobuf:"bytes,6,opt,name=timestamp,stdtime" json:"timestamp,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*HealthCheckEvent) Descriptor ¶
func (*HealthCheckEvent) Descriptor() ([]byte, []int)
func (*HealthCheckEvent) Equal ¶
func (this *HealthCheckEvent) Equal(that interface{}) bool
func (*HealthCheckEvent) GetAddHealthyEvent ¶
func (m *HealthCheckEvent) GetAddHealthyEvent() *HealthCheckAddHealthy
func (*HealthCheckEvent) GetClusterName ¶
func (m *HealthCheckEvent) GetClusterName() string
func (*HealthCheckEvent) GetEjectUnhealthyEvent ¶
func (m *HealthCheckEvent) GetEjectUnhealthyEvent() *HealthCheckEjectUnhealthy
func (*HealthCheckEvent) GetEvent ¶
func (m *HealthCheckEvent) GetEvent() isHealthCheckEvent_Event
func (*HealthCheckEvent) GetHealthCheckerType ¶
func (m *HealthCheckEvent) GetHealthCheckerType() HealthCheckerType
func (*HealthCheckEvent) GetHost ¶
func (m *HealthCheckEvent) GetHost() *core.Address
func (*HealthCheckEvent) GetTimestamp ¶ added in v0.6.0
func (m *HealthCheckEvent) GetTimestamp() *time.Time
func (*HealthCheckEvent) Marshal ¶
func (m *HealthCheckEvent) Marshal() (dAtA []byte, err error)
func (*HealthCheckEvent) ProtoMessage ¶
func (*HealthCheckEvent) ProtoMessage()
func (*HealthCheckEvent) Reset ¶
func (m *HealthCheckEvent) Reset()
func (*HealthCheckEvent) Size ¶
func (m *HealthCheckEvent) Size() (n int)
func (*HealthCheckEvent) String ¶
func (m *HealthCheckEvent) String() string
func (*HealthCheckEvent) Unmarshal ¶
func (m *HealthCheckEvent) Unmarshal(dAtA []byte) error
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, an error is returned.
func (*HealthCheckEvent) XXX_DiscardUnknown ¶
func (m *HealthCheckEvent) XXX_DiscardUnknown()
func (*HealthCheckEvent) XXX_Marshal ¶
func (m *HealthCheckEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HealthCheckEvent) XXX_Merge ¶
func (dst *HealthCheckEvent) XXX_Merge(src proto.Message)
func (*HealthCheckEvent) XXX_OneofFuncs ¶
func (*HealthCheckEvent) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*HealthCheckEvent) XXX_Size ¶
func (m *HealthCheckEvent) XXX_Size() int
func (*HealthCheckEvent) XXX_Unmarshal ¶
func (m *HealthCheckEvent) XXX_Unmarshal(b []byte) error
type HealthCheckEventValidationError ¶
HealthCheckEventValidationError is the validation error returned by HealthCheckEvent.Validate if the designated constraints aren't met.
func (HealthCheckEventValidationError) Error ¶
func (e HealthCheckEventValidationError) Error() string
Error satisfies the builtin error interface
type HealthCheckEvent_AddHealthyEvent ¶
type HealthCheckEvent_AddHealthyEvent struct {
AddHealthyEvent *HealthCheckAddHealthy `protobuf:"bytes,5,opt,name=add_healthy_event,json=addHealthyEvent,oneof"`
}
func (*HealthCheckEvent_AddHealthyEvent) Equal ¶
func (this *HealthCheckEvent_AddHealthyEvent) Equal(that interface{}) bool
func (*HealthCheckEvent_AddHealthyEvent) MarshalTo ¶
func (m *HealthCheckEvent_AddHealthyEvent) MarshalTo(dAtA []byte) (int, error)
func (*HealthCheckEvent_AddHealthyEvent) Size ¶
func (m *HealthCheckEvent_AddHealthyEvent) Size() (n int)
type HealthCheckEvent_EjectUnhealthyEvent ¶
type HealthCheckEvent_EjectUnhealthyEvent struct {
EjectUnhealthyEvent *HealthCheckEjectUnhealthy `protobuf:"bytes,4,opt,name=eject_unhealthy_event,json=ejectUnhealthyEvent,oneof"`
}
func (*HealthCheckEvent_EjectUnhealthyEvent) Equal ¶
func (this *HealthCheckEvent_EjectUnhealthyEvent) Equal(that interface{}) bool
func (*HealthCheckEvent_EjectUnhealthyEvent) MarshalTo ¶
func (m *HealthCheckEvent_EjectUnhealthyEvent) MarshalTo(dAtA []byte) (int, error)
func (*HealthCheckEvent_EjectUnhealthyEvent) Size ¶
func (m *HealthCheckEvent_EjectUnhealthyEvent) Size() (n int)
type HealthCheckFailureType ¶
type HealthCheckFailureType int32
const ( HealthCheckFailureType_ACTIVE HealthCheckFailureType = 0 HealthCheckFailureType_PASSIVE HealthCheckFailureType = 1 HealthCheckFailureType_NETWORK HealthCheckFailureType = 2 )
func (HealthCheckFailureType) EnumDescriptor ¶
func (HealthCheckFailureType) EnumDescriptor() ([]byte, []int)
func (HealthCheckFailureType) String ¶
func (x HealthCheckFailureType) String() string
type HealthCheckerType ¶
type HealthCheckerType int32
const ( HealthCheckerType_HTTP HealthCheckerType = 0 HealthCheckerType_TCP HealthCheckerType = 1 HealthCheckerType_GRPC HealthCheckerType = 2 HealthCheckerType_REDIS HealthCheckerType = 3 )
func (HealthCheckerType) EnumDescriptor ¶
func (HealthCheckerType) EnumDescriptor() ([]byte, []int)
func (HealthCheckerType) String ¶
func (x HealthCheckerType) String() string