corev3

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2024 License: Apache-2.0 Imports: 8 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	HealthCheckFailureType_name = map[int32]string{
		0: "ACTIVE",
		1: "PASSIVE",
		2: "NETWORK",
		3: "NETWORK_TIMEOUT",
	}
	HealthCheckFailureType_value = map[string]int32{
		"ACTIVE":          0,
		"PASSIVE":         1,
		"NETWORK":         2,
		"NETWORK_TIMEOUT": 3,
	}
)

Enum value maps for HealthCheckFailureType.

View Source
var (
	HealthCheckerType_name = map[int32]string{
		0: "HTTP",
		1: "TCP",
		2: "GRPC",
		3: "REDIS",
		4: "THRIFT",
	}
	HealthCheckerType_value = map[string]int32{
		"HTTP":   0,
		"TCP":    1,
		"GRPC":   2,
		"REDIS":  3,
		"THRIFT": 4,
	}
)

Enum value maps for HealthCheckerType.

View Source
var File_envoy_data_core_v3_health_check_event_proto protoreflect.FileDescriptor
View Source
var File_envoy_data_core_v3_tlv_metadata_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

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_v3_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 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

type HealthCheckEjectUnhealthy

type HealthCheckEjectUnhealthy struct {

	// The type of failure that caused this ejection.
	FailureType HealthCheckFailureType `` /* 142-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 (*HealthCheckEjectUnhealthy) ProtoMessage

func (*HealthCheckEjectUnhealthy) ProtoMessage()

func (*HealthCheckEjectUnhealthy) ProtoReflect

func (*HealthCheckEjectUnhealthy) Reset

func (x *HealthCheckEjectUnhealthy) Reset()

func (*HealthCheckEjectUnhealthy) String

func (x *HealthCheckEjectUnhealthy) String() string

type HealthCheckEvent

type HealthCheckEvent struct {
	HealthCheckerType HealthCheckerType `` /* 157-byte string literal not displayed */
	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_SuccessfulHealthCheckEvent
	//	*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"`
	// Host metadata
	Metadata *v3.Metadata `protobuf:"bytes,10,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// Host locality
	Locality *v3.Locality `protobuf:"bytes,11,opt,name=locality,proto3" json:"locality,omitempty"`
	// contains filtered or unexported fields
}

[#next-free-field: 13]

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() *v3.Address

func (*HealthCheckEvent) GetLocality

func (x *HealthCheckEvent) GetLocality() *v3.Locality

func (*HealthCheckEvent) GetMetadata

func (x *HealthCheckEvent) GetMetadata() *v3.Metadata

func (*HealthCheckEvent) GetNoLongerDegradedHost

func (x *HealthCheckEvent) GetNoLongerDegradedHost() *NoLongerDegradedHost

func (*HealthCheckEvent) GetSuccessfulHealthCheckEvent

func (x *HealthCheckEvent) GetSuccessfulHealthCheckEvent() *HealthCheckSuccessful

func (*HealthCheckEvent) GetTimestamp

func (x *HealthCheckEvent) GetTimestamp() *timestamppb.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

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_SuccessfulHealthCheckEvent

type HealthCheckEvent_SuccessfulHealthCheckEvent struct {
	// A health check was successful. Note: a host will be considered healthy either if it is
	// the first ever health check, or if the healthy threshold is reached. This kind of event
	// indicate that a health check was successful, but does not indicates that the host is
	// considered healthy. A host is considered healthy if HealthCheckAddHealthy kind of event is sent.
	SuccessfulHealthCheckEvent *HealthCheckSuccessful `protobuf:"bytes,12,opt,name=successful_health_check_event,json=successfulHealthCheckEvent,proto3,oneof"`
}

type HealthCheckFailure

type HealthCheckFailure struct {

	// The type of failure that caused this event.
	FailureType HealthCheckFailureType `` /* 142-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

type HealthCheckFailureType

type HealthCheckFailureType int32
const (
	HealthCheckFailureType_ACTIVE          HealthCheckFailureType = 0
	HealthCheckFailureType_PASSIVE         HealthCheckFailureType = 1
	HealthCheckFailureType_NETWORK         HealthCheckFailureType = 2
	HealthCheckFailureType_NETWORK_TIMEOUT HealthCheckFailureType = 3
)

func (HealthCheckFailureType) Descriptor

func (HealthCheckFailureType) Enum

func (HealthCheckFailureType) EnumDescriptor deprecated

func (HealthCheckFailureType) EnumDescriptor() ([]byte, []int)

Deprecated: Use HealthCheckFailureType.Descriptor instead.

func (HealthCheckFailureType) Number

func (HealthCheckFailureType) String

func (x HealthCheckFailureType) String() string

func (HealthCheckFailureType) Type

type HealthCheckSuccessful

type HealthCheckSuccessful struct {
	// contains filtered or unexported fields
}

func (*HealthCheckSuccessful) Descriptor deprecated

func (*HealthCheckSuccessful) Descriptor() ([]byte, []int)

Deprecated: Use HealthCheckSuccessful.ProtoReflect.Descriptor instead.

func (*HealthCheckSuccessful) ProtoMessage

func (*HealthCheckSuccessful) ProtoMessage()

func (*HealthCheckSuccessful) ProtoReflect

func (x *HealthCheckSuccessful) ProtoReflect() protoreflect.Message

func (*HealthCheckSuccessful) Reset

func (x *HealthCheckSuccessful) Reset()

func (*HealthCheckSuccessful) String

func (x *HealthCheckSuccessful) String() string

type HealthCheckerType

type HealthCheckerType int32
const (
	HealthCheckerType_HTTP   HealthCheckerType = 0
	HealthCheckerType_TCP    HealthCheckerType = 1
	HealthCheckerType_GRPC   HealthCheckerType = 2
	HealthCheckerType_REDIS  HealthCheckerType = 3
	HealthCheckerType_THRIFT HealthCheckerType = 4
)

func (HealthCheckerType) Descriptor

func (HealthCheckerType) Enum

func (HealthCheckerType) EnumDescriptor deprecated

func (HealthCheckerType) EnumDescriptor() ([]byte, []int)

Deprecated: Use HealthCheckerType.Descriptor instead.

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

type TlvsMetadata

type TlvsMetadata struct {

	// Typed metadata for :ref:`Proxy protocol filter <envoy_v3_api_msg_extensions.filters.listener.proxy_protocol.v3.ProxyProtocol>`, that represents a map of TLVs.
	// Each entry in the map consists of a key which corresponds to a configured
	// :ref:`rule key <envoy_v3_api_field_extensions.filters.listener.proxy_protocol.v3.ProxyProtocol.KeyValuePair.key>` and a value (TLV value in bytes).
	// When runtime flag “envoy.reloadable_features.use_typed_metadata_in_proxy_protocol_listener“ is enabled,
	// :ref:`Proxy protocol filter <envoy_v3_api_msg_extensions.filters.listener.proxy_protocol.v3.ProxyProtocol>`
	// will populate typed metadata and regular metadata. By default filter will populate typed and untyped metadata.
	TypedMetadata map[string][]byte `` /* 188-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*TlvsMetadata) Descriptor deprecated

func (*TlvsMetadata) Descriptor() ([]byte, []int)

Deprecated: Use TlvsMetadata.ProtoReflect.Descriptor instead.

func (*TlvsMetadata) GetTypedMetadata

func (x *TlvsMetadata) GetTypedMetadata() map[string][]byte

func (*TlvsMetadata) ProtoMessage

func (*TlvsMetadata) ProtoMessage()

func (*TlvsMetadata) ProtoReflect

func (x *TlvsMetadata) ProtoReflect() protoreflect.Message

func (*TlvsMetadata) Reset

func (x *TlvsMetadata) Reset()

func (*TlvsMetadata) String

func (x *TlvsMetadata) String() string

Jump to

Keyboard shortcuts

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