envoy_data_core_v2alpha

package
v0.9.9 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2021 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

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 added in v0.6.7

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

func (*DegradedHealthyHost) Descriptor deprecated added in v0.6.7

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

Deprecated: Use DegradedHealthyHost.ProtoReflect.Descriptor instead.

func (*DegradedHealthyHost) ProtoMessage added in v0.6.7

func (*DegradedHealthyHost) ProtoMessage()

func (*DegradedHealthyHost) ProtoReflect added in v0.9.9

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

func (*DegradedHealthyHost) Reset added in v0.6.7

func (x *DegradedHealthyHost) Reset()

func (*DegradedHealthyHost) String added in v0.6.7

func (x *DegradedHealthyHost) String() string

func (*DegradedHealthyHost) Validate added in v0.6.7

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 added in v0.6.7

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 added in v0.6.7

Cause function returns cause value.

func (DegradedHealthyHostValidationError) Error added in v0.6.7

Error satisfies the builtin error interface

func (DegradedHealthyHostValidationError) ErrorName added in v0.7.0

ErrorName returns error name.

func (DegradedHealthyHostValidationError) Field added in v0.6.7

Field function returns field value.

func (DegradedHealthyHostValidationError) Key added in v0.6.7

Key function returns key value.

func (DegradedHealthyHostValidationError) Reason added in v0.6.7

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 added in v0.9.9

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, an error is returned.

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

Cause function returns cause value.

func (HealthCheckAddHealthyValidationError) Error

Error satisfies the builtin error interface

func (HealthCheckAddHealthyValidationError) ErrorName added in v0.7.0

ErrorName returns error name.

func (HealthCheckAddHealthyValidationError) Field

Field function returns field value.

func (HealthCheckAddHealthyValidationError) Key

Key function returns key value.

func (HealthCheckAddHealthyValidationError) Reason

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

func (*HealthCheckEjectUnhealthy) ProtoMessage()

func (*HealthCheckEjectUnhealthy) ProtoReflect added in v0.9.9

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, an error is returned.

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

Cause function returns cause value.

func (HealthCheckEjectUnhealthyValidationError) Error

Error satisfies the builtin error interface

func (HealthCheckEjectUnhealthyValidationError) ErrorName added in v0.7.0

ErrorName returns error name.

func (HealthCheckEjectUnhealthyValidationError) Field

Field function returns field value.

func (HealthCheckEjectUnhealthyValidationError) Key

Key function returns key value.

func (HealthCheckEjectUnhealthyValidationError) Reason

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 added in v0.6.7

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 added in v0.6.4

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 added in v0.6.7

func (x *HealthCheckEvent) GetNoLongerDegradedHost() *NoLongerDegradedHost

func (*HealthCheckEvent) GetTimestamp added in v0.6.0

func (x *HealthCheckEvent) GetTimestamp() *timestamp.Timestamp

func (*HealthCheckEvent) ProtoMessage

func (*HealthCheckEvent) ProtoMessage()

func (*HealthCheckEvent) ProtoReflect added in v0.9.9

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, an error is returned.

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

Cause function returns cause value.

func (HealthCheckEventValidationError) Error

Error satisfies the builtin error interface

func (HealthCheckEventValidationError) ErrorName added in v0.7.0

ErrorName returns error name.

func (HealthCheckEventValidationError) Field

Field function returns field value.

func (HealthCheckEventValidationError) Key

Key function returns key value.

func (HealthCheckEventValidationError) Reason

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 added in v0.6.7

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 added in v0.6.4

type HealthCheckEvent_HealthCheckFailureEvent struct {
	// Host failure.
	HealthCheckFailureEvent *HealthCheckFailure `protobuf:"bytes,7,opt,name=health_check_failure_event,json=healthCheckFailureEvent,proto3,oneof"`
}

type HealthCheckEvent_NoLongerDegradedHost added in v0.6.7

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 added in v0.6.4

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 added in v0.6.4

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

Deprecated: Use HealthCheckFailure.ProtoReflect.Descriptor instead.

func (*HealthCheckFailure) GetFailureType added in v0.6.4

func (x *HealthCheckFailure) GetFailureType() HealthCheckFailureType

func (*HealthCheckFailure) GetFirstCheck added in v0.6.4

func (x *HealthCheckFailure) GetFirstCheck() bool

func (*HealthCheckFailure) ProtoMessage added in v0.6.4

func (*HealthCheckFailure) ProtoMessage()

func (*HealthCheckFailure) ProtoReflect added in v0.9.9

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

func (*HealthCheckFailure) Reset added in v0.6.4

func (x *HealthCheckFailure) Reset()

func (*HealthCheckFailure) String added in v0.6.4

func (x *HealthCheckFailure) String() string

func (*HealthCheckFailure) Validate added in v0.6.4

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.

type HealthCheckFailureType

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

func (HealthCheckFailureType) Descriptor added in v0.9.9

func (HealthCheckFailureType) Enum added in v0.9.9

func (HealthCheckFailureType) EnumDescriptor deprecated

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

Deprecated: Use HealthCheckFailureType.Descriptor instead.

func (HealthCheckFailureType) Number added in v0.9.9

func (HealthCheckFailureType) String

func (x HealthCheckFailureType) String() string

func (HealthCheckFailureType) Type added in v0.9.9

type HealthCheckFailureValidationError added in v0.6.4

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 added in v0.6.4

Cause function returns cause value.

func (HealthCheckFailureValidationError) Error added in v0.6.4

Error satisfies the builtin error interface

func (HealthCheckFailureValidationError) ErrorName added in v0.7.0

ErrorName returns error name.

func (HealthCheckFailureValidationError) Field added in v0.6.4

Field function returns field value.

func (HealthCheckFailureValidationError) Key added in v0.6.4

Key function returns key value.

func (HealthCheckFailureValidationError) Reason added in v0.6.4

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 added in v0.9.9

func (HealthCheckerType) Enum added in v0.9.9

func (HealthCheckerType) EnumDescriptor deprecated

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

Deprecated: Use HealthCheckerType.Descriptor instead.

func (HealthCheckerType) Number added in v0.9.9

func (HealthCheckerType) String

func (x HealthCheckerType) String() string

func (HealthCheckerType) Type added in v0.9.9

type NoLongerDegradedHost added in v0.6.7

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

func (*NoLongerDegradedHost) Descriptor deprecated added in v0.6.7

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

Deprecated: Use NoLongerDegradedHost.ProtoReflect.Descriptor instead.

func (*NoLongerDegradedHost) ProtoMessage added in v0.6.7

func (*NoLongerDegradedHost) ProtoMessage()

func (*NoLongerDegradedHost) ProtoReflect added in v0.9.9

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

func (*NoLongerDegradedHost) Reset added in v0.6.7

func (x *NoLongerDegradedHost) Reset()

func (*NoLongerDegradedHost) String added in v0.6.7

func (x *NoLongerDegradedHost) String() string

func (*NoLongerDegradedHost) Validate added in v0.6.7

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 added in v0.6.7

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 added in v0.6.7

Cause function returns cause value.

func (NoLongerDegradedHostValidationError) Error added in v0.6.7

Error satisfies the builtin error interface

func (NoLongerDegradedHostValidationError) ErrorName added in v0.7.0

ErrorName returns error name.

func (NoLongerDegradedHostValidationError) Field added in v0.6.7

Field function returns field value.

func (NoLongerDegradedHostValidationError) Key added in v0.6.7

Key function returns key value.

func (NoLongerDegradedHostValidationError) Reason added in v0.6.7

Reason function returns reason value.

Jump to

Keyboard shortcuts

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