corev2alpha

package
v1.36.4-20230810202209... Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: unknown License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

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

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

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 (*HealthCheckEjectUnhealthy) ProtoMessage

func (*HealthCheckEjectUnhealthy) ProtoMessage()

func (*HealthCheckEjectUnhealthy) ProtoReflect

func (*HealthCheckEjectUnhealthy) Reset

func (x *HealthCheckEjectUnhealthy) Reset()

func (*HealthCheckEjectUnhealthy) SetFailureType

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

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

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) Enum

func (HealthCheckFailureType) Number

func (HealthCheckFailureType) String

func (x HealthCheckFailureType) String() string

func (HealthCheckFailureType) Type

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

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) Enum

func (HealthCheckerType) Number

func (HealthCheckerType) String

func (x HealthCheckerType) String() string

func (HealthCheckerType) Type

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL