go-control-plane: github.com/envoyproxy/go-control-plane/envoy/data/core/v2alpha Index | Files

package envoy_data_core_v2alpha

import "github.com/envoyproxy/go-control-plane/envoy/data/core/v2alpha"

Index

Package Files

health_check_event.pb.go health_check_event.pb.validate.go

Variables

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_v2alpha_health_check_event_proto protoreflect.FileDescriptor

type DegradedHealthyHost Uses

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

func (*DegradedHealthyHost) Descriptor Uses

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

Deprecated: Use DegradedHealthyHost.ProtoReflect.Descriptor instead.

func (*DegradedHealthyHost) ProtoMessage Uses

func (*DegradedHealthyHost) ProtoMessage()

func (*DegradedHealthyHost) ProtoReflect Uses

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

func (*DegradedHealthyHost) Reset Uses

func (x *DegradedHealthyHost) Reset()

func (*DegradedHealthyHost) String Uses

func (x *DegradedHealthyHost) String() string

func (*DegradedHealthyHost) Validate Uses

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 Uses

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 Uses

func (e DegradedHealthyHostValidationError) Cause() error

Cause function returns cause value.

func (DegradedHealthyHostValidationError) Error Uses

func (e DegradedHealthyHostValidationError) Error() string

Error satisfies the builtin error interface

func (DegradedHealthyHostValidationError) ErrorName Uses

func (e DegradedHealthyHostValidationError) ErrorName() string

ErrorName returns error name.

func (DegradedHealthyHostValidationError) Field Uses

func (e DegradedHealthyHostValidationError) Field() string

Field function returns field value.

func (DegradedHealthyHostValidationError) Key Uses

func (e DegradedHealthyHostValidationError) Key() bool

Key function returns key value.

func (DegradedHealthyHostValidationError) Reason Uses

func (e DegradedHealthyHostValidationError) Reason() string

Reason function returns reason value.

type HealthCheckAddHealthy Uses

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 Uses

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

Deprecated: Use HealthCheckAddHealthy.ProtoReflect.Descriptor instead.

func (*HealthCheckAddHealthy) GetFirstCheck Uses

func (x *HealthCheckAddHealthy) GetFirstCheck() bool

func (*HealthCheckAddHealthy) ProtoMessage Uses

func (*HealthCheckAddHealthy) ProtoMessage()

func (*HealthCheckAddHealthy) ProtoReflect Uses

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

func (*HealthCheckAddHealthy) Reset Uses

func (x *HealthCheckAddHealthy) Reset()

func (*HealthCheckAddHealthy) String Uses

func (x *HealthCheckAddHealthy) String() string

func (*HealthCheckAddHealthy) Validate Uses

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 Uses

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 Uses

func (e HealthCheckAddHealthyValidationError) Cause() error

Cause function returns cause value.

func (HealthCheckAddHealthyValidationError) Error Uses

func (e HealthCheckAddHealthyValidationError) Error() string

Error satisfies the builtin error interface

func (HealthCheckAddHealthyValidationError) ErrorName Uses

func (e HealthCheckAddHealthyValidationError) ErrorName() string

ErrorName returns error name.

func (HealthCheckAddHealthyValidationError) Field Uses

func (e HealthCheckAddHealthyValidationError) Field() string

Field function returns field value.

func (HealthCheckAddHealthyValidationError) Key Uses

func (e HealthCheckAddHealthyValidationError) Key() bool

Key function returns key value.

func (HealthCheckAddHealthyValidationError) Reason Uses

func (e HealthCheckAddHealthyValidationError) Reason() string

Reason function returns reason value.

type HealthCheckEjectUnhealthy Uses

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.v2alpha.HealthCheckFailureType" json:"failure_type,omitempty"`
    // contains filtered or unexported fields
}

func (*HealthCheckEjectUnhealthy) Descriptor Uses

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

Deprecated: Use HealthCheckEjectUnhealthy.ProtoReflect.Descriptor instead.

func (*HealthCheckEjectUnhealthy) GetFailureType Uses

func (x *HealthCheckEjectUnhealthy) GetFailureType() HealthCheckFailureType

func (*HealthCheckEjectUnhealthy) ProtoMessage Uses

func (*HealthCheckEjectUnhealthy) ProtoMessage()

func (*HealthCheckEjectUnhealthy) ProtoReflect Uses

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

func (*HealthCheckEjectUnhealthy) Reset Uses

func (x *HealthCheckEjectUnhealthy) Reset()

func (*HealthCheckEjectUnhealthy) String Uses

func (x *HealthCheckEjectUnhealthy) String() string

func (*HealthCheckEjectUnhealthy) Validate Uses

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 Uses

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 Uses

func (e HealthCheckEjectUnhealthyValidationError) Cause() error

Cause function returns cause value.

func (HealthCheckEjectUnhealthyValidationError) Error Uses

func (e HealthCheckEjectUnhealthyValidationError) Error() string

Error satisfies the builtin error interface

func (HealthCheckEjectUnhealthyValidationError) ErrorName Uses

func (e HealthCheckEjectUnhealthyValidationError) ErrorName() string

ErrorName returns error name.

func (HealthCheckEjectUnhealthyValidationError) Field Uses

func (e HealthCheckEjectUnhealthyValidationError) Field() string

Field function returns field value.

func (HealthCheckEjectUnhealthyValidationError) Key Uses

func (e HealthCheckEjectUnhealthyValidationError) Key() bool

Key function returns key value.

func (HealthCheckEjectUnhealthyValidationError) Reason Uses

func (e HealthCheckEjectUnhealthyValidationError) Reason() string

Reason function returns reason value.

type HealthCheckEvent Uses

type HealthCheckEvent struct {
    HealthCheckerType HealthCheckerType `protobuf:"varint,1,opt,name=health_checker_type,json=healthCheckerType,proto3,enum=envoy.data.core.v2alpha.HealthCheckerType" json:"health_checker_type,omitempty"`
    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 Uses

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

Deprecated: Use HealthCheckEvent.ProtoReflect.Descriptor instead.

func (*HealthCheckEvent) GetAddHealthyEvent Uses

func (x *HealthCheckEvent) GetAddHealthyEvent() *HealthCheckAddHealthy

func (*HealthCheckEvent) GetClusterName Uses

func (x *HealthCheckEvent) GetClusterName() string

func (*HealthCheckEvent) GetDegradedHealthyHost Uses

func (x *HealthCheckEvent) GetDegradedHealthyHost() *DegradedHealthyHost

func (*HealthCheckEvent) GetEjectUnhealthyEvent Uses

func (x *HealthCheckEvent) GetEjectUnhealthyEvent() *HealthCheckEjectUnhealthy

func (*HealthCheckEvent) GetEvent Uses

func (m *HealthCheckEvent) GetEvent() isHealthCheckEvent_Event

func (*HealthCheckEvent) GetHealthCheckFailureEvent Uses

func (x *HealthCheckEvent) GetHealthCheckFailureEvent() *HealthCheckFailure

func (*HealthCheckEvent) GetHealthCheckerType Uses

func (x *HealthCheckEvent) GetHealthCheckerType() HealthCheckerType

func (*HealthCheckEvent) GetHost Uses

func (x *HealthCheckEvent) GetHost() *core.Address

func (*HealthCheckEvent) GetNoLongerDegradedHost Uses

func (x *HealthCheckEvent) GetNoLongerDegradedHost() *NoLongerDegradedHost

func (*HealthCheckEvent) GetTimestamp Uses

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

func (*HealthCheckEvent) ProtoMessage Uses

func (*HealthCheckEvent) ProtoMessage()

func (*HealthCheckEvent) ProtoReflect Uses

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

func (*HealthCheckEvent) Reset Uses

func (x *HealthCheckEvent) Reset()

func (*HealthCheckEvent) String Uses

func (x *HealthCheckEvent) String() string

func (*HealthCheckEvent) Validate Uses

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 Uses

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 Uses

func (e HealthCheckEventValidationError) Cause() error

Cause function returns cause value.

func (HealthCheckEventValidationError) Error Uses

func (e HealthCheckEventValidationError) Error() string

Error satisfies the builtin error interface

func (HealthCheckEventValidationError) ErrorName Uses

func (e HealthCheckEventValidationError) ErrorName() string

ErrorName returns error name.

func (HealthCheckEventValidationError) Field Uses

func (e HealthCheckEventValidationError) Field() string

Field function returns field value.

func (HealthCheckEventValidationError) Key Uses

func (e HealthCheckEventValidationError) Key() bool

Key function returns key value.

func (HealthCheckEventValidationError) Reason Uses

func (e HealthCheckEventValidationError) Reason() string

Reason function returns reason value.

type HealthCheckEvent_AddHealthyEvent Uses

type HealthCheckEvent_AddHealthyEvent struct {
    // Host addition.
    AddHealthyEvent *HealthCheckAddHealthy `protobuf:"bytes,5,opt,name=add_healthy_event,json=addHealthyEvent,proto3,oneof"`
}

type HealthCheckEvent_DegradedHealthyHost Uses

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 Uses

type HealthCheckEvent_EjectUnhealthyEvent struct {
    // Host ejection.
    EjectUnhealthyEvent *HealthCheckEjectUnhealthy `protobuf:"bytes,4,opt,name=eject_unhealthy_event,json=ejectUnhealthyEvent,proto3,oneof"`
}

type HealthCheckEvent_HealthCheckFailureEvent Uses

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

type HealthCheckEvent_NoLongerDegradedHost Uses

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 Uses

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.v2alpha.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 Uses

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

Deprecated: Use HealthCheckFailure.ProtoReflect.Descriptor instead.

func (*HealthCheckFailure) GetFailureType Uses

func (x *HealthCheckFailure) GetFailureType() HealthCheckFailureType

func (*HealthCheckFailure) GetFirstCheck Uses

func (x *HealthCheckFailure) GetFirstCheck() bool

func (*HealthCheckFailure) ProtoMessage Uses

func (*HealthCheckFailure) ProtoMessage()

func (*HealthCheckFailure) ProtoReflect Uses

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

func (*HealthCheckFailure) Reset Uses

func (x *HealthCheckFailure) Reset()

func (*HealthCheckFailure) String Uses

func (x *HealthCheckFailure) String() string

func (*HealthCheckFailure) Validate Uses

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 Uses

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

func (HealthCheckFailureType) Descriptor Uses

func (HealthCheckFailureType) Descriptor() protoreflect.EnumDescriptor

func (HealthCheckFailureType) Enum Uses

func (x HealthCheckFailureType) Enum() *HealthCheckFailureType

func (HealthCheckFailureType) EnumDescriptor Uses

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

Deprecated: Use HealthCheckFailureType.Descriptor instead.

func (HealthCheckFailureType) Number Uses

func (x HealthCheckFailureType) Number() protoreflect.EnumNumber

func (HealthCheckFailureType) String Uses

func (x HealthCheckFailureType) String() string

func (HealthCheckFailureType) Type Uses

func (HealthCheckFailureType) Type() protoreflect.EnumType

type HealthCheckFailureValidationError Uses

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 Uses

func (e HealthCheckFailureValidationError) Cause() error

Cause function returns cause value.

func (HealthCheckFailureValidationError) Error Uses

func (e HealthCheckFailureValidationError) Error() string

Error satisfies the builtin error interface

func (HealthCheckFailureValidationError) ErrorName Uses

func (e HealthCheckFailureValidationError) ErrorName() string

ErrorName returns error name.

func (HealthCheckFailureValidationError) Field Uses

func (e HealthCheckFailureValidationError) Field() string

Field function returns field value.

func (HealthCheckFailureValidationError) Key Uses

func (e HealthCheckFailureValidationError) Key() bool

Key function returns key value.

func (HealthCheckFailureValidationError) Reason Uses

func (e HealthCheckFailureValidationError) Reason() string

Reason function returns reason value.

type HealthCheckerType Uses

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

func (HealthCheckerType) Descriptor Uses

func (HealthCheckerType) Descriptor() protoreflect.EnumDescriptor

func (HealthCheckerType) Enum Uses

func (x HealthCheckerType) Enum() *HealthCheckerType

func (HealthCheckerType) EnumDescriptor Uses

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

Deprecated: Use HealthCheckerType.Descriptor instead.

func (HealthCheckerType) Number Uses

func (x HealthCheckerType) Number() protoreflect.EnumNumber

func (HealthCheckerType) String Uses

func (x HealthCheckerType) String() string

func (HealthCheckerType) Type Uses

func (HealthCheckerType) Type() protoreflect.EnumType

type NoLongerDegradedHost Uses

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

func (*NoLongerDegradedHost) Descriptor Uses

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

Deprecated: Use NoLongerDegradedHost.ProtoReflect.Descriptor instead.

func (*NoLongerDegradedHost) ProtoMessage Uses

func (*NoLongerDegradedHost) ProtoMessage()

func (*NoLongerDegradedHost) ProtoReflect Uses

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

func (*NoLongerDegradedHost) Reset Uses

func (x *NoLongerDegradedHost) Reset()

func (*NoLongerDegradedHost) String Uses

func (x *NoLongerDegradedHost) String() string

func (*NoLongerDegradedHost) Validate Uses

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 Uses

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 Uses

func (e NoLongerDegradedHostValidationError) Cause() error

Cause function returns cause value.

func (NoLongerDegradedHostValidationError) Error Uses

func (e NoLongerDegradedHostValidationError) Error() string

Error satisfies the builtin error interface

func (NoLongerDegradedHostValidationError) ErrorName Uses

func (e NoLongerDegradedHostValidationError) ErrorName() string

ErrorName returns error name.

func (NoLongerDegradedHostValidationError) Field Uses

func (e NoLongerDegradedHostValidationError) Field() string

Field function returns field value.

func (NoLongerDegradedHostValidationError) Key Uses

func (e NoLongerDegradedHostValidationError) Key() bool

Key function returns key value.

func (NoLongerDegradedHostValidationError) Reason Uses

func (e NoLongerDegradedHostValidationError) Reason() string

Reason function returns reason value.

Package envoy_data_core_v2alpha imports 20 packages (graph) and is imported by 6 packages. Updated 2021-01-09. Refresh now. Tools for package owners.