go-control-plane: github.com/envoyproxy/go-control-plane/envoy/extensions/filters/http/health_check/v4alpha Index | Files

package envoy_extensions_filters_http_health_check_v4alpha

import "github.com/envoyproxy/go-control-plane/envoy/extensions/filters/http/health_check/v4alpha"

Index

Package Files

health_check.pb.go health_check.pb.validate.go

Variables

var File_envoy_extensions_filters_http_health_check_v4alpha_health_check_proto protoreflect.FileDescriptor

type HealthCheck Uses

type HealthCheck struct {

    // Specifies whether the filter operates in pass through mode or not.
    PassThroughMode *wrappers.BoolValue `protobuf:"bytes,1,opt,name=pass_through_mode,json=passThroughMode,proto3" json:"pass_through_mode,omitempty"`
    // If operating in pass through mode, the amount of time in milliseconds
    // that the filter should cache the upstream response.
    CacheTime *duration.Duration `protobuf:"bytes,3,opt,name=cache_time,json=cacheTime,proto3" json:"cache_time,omitempty"`
    // If operating in non-pass-through mode, specifies a set of upstream cluster
    // names and the minimum percentage of servers in each of those clusters that
    // must be healthy or degraded in order for the filter to return a 200.
    //
    // .. note::
    //
    //    This value is interpreted as an integer by truncating, so 12.50% will be calculated
    //    as if it were 12%.
    ClusterMinHealthyPercentages map[string]*v3.Percent `protobuf:"bytes,4,rep,name=cluster_min_healthy_percentages,json=clusterMinHealthyPercentages,proto3" json:"cluster_min_healthy_percentages,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
    // Specifies a set of health check request headers to match on. The health check filter will
    // check a request’s headers against all the specified headers. To specify the health check
    // endpoint, set the ``:path`` header to match on.
    Headers []*v4alpha.HeaderMatcher `protobuf:"bytes,5,rep,name=headers,proto3" json:"headers,omitempty"`
    // contains filtered or unexported fields
}

[#next-free-field: 6]

func (*HealthCheck) Descriptor Uses

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

Deprecated: Use HealthCheck.ProtoReflect.Descriptor instead.

func (*HealthCheck) GetCacheTime Uses

func (x *HealthCheck) GetCacheTime() *duration.Duration

func (*HealthCheck) GetClusterMinHealthyPercentages Uses

func (x *HealthCheck) GetClusterMinHealthyPercentages() map[string]*v3.Percent

func (*HealthCheck) GetHeaders Uses

func (x *HealthCheck) GetHeaders() []*v4alpha.HeaderMatcher

func (*HealthCheck) GetPassThroughMode Uses

func (x *HealthCheck) GetPassThroughMode() *wrappers.BoolValue

func (*HealthCheck) ProtoMessage Uses

func (*HealthCheck) ProtoMessage()

func (*HealthCheck) ProtoReflect Uses

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

func (*HealthCheck) Reset Uses

func (x *HealthCheck) Reset()

func (*HealthCheck) String Uses

func (x *HealthCheck) String() string

func (*HealthCheck) Validate Uses

func (m *HealthCheck) Validate() error

Validate checks the field values on HealthCheck with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type HealthCheckValidationError Uses

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

HealthCheckValidationError is the validation error returned by HealthCheck.Validate if the designated constraints aren't met.

func (HealthCheckValidationError) Cause Uses

func (e HealthCheckValidationError) Cause() error

Cause function returns cause value.

func (HealthCheckValidationError) Error Uses

func (e HealthCheckValidationError) Error() string

Error satisfies the builtin error interface

func (HealthCheckValidationError) ErrorName Uses

func (e HealthCheckValidationError) ErrorName() string

ErrorName returns error name.

func (HealthCheckValidationError) Field Uses

func (e HealthCheckValidationError) Field() string

Field function returns field value.

func (HealthCheckValidationError) Key Uses

func (e HealthCheckValidationError) Key() bool

Key function returns key value.

func (HealthCheckValidationError) Reason Uses

func (e HealthCheckValidationError) Reason() string

Reason function returns reason value.

Package envoy_extensions_filters_http_health_check_v4alpha imports 22 packages (graph) and is imported by 6 packages. Updated 2021-01-08. Refresh now. Tools for package owners.