go-control-plane: github.com/envoyproxy/go-control-plane/envoy/config/filter/http/health_check/v2 Index | Files

package envoy_config_filter_http_health_check_v2

import "github.com/envoyproxy/go-control-plane/envoy/config/filter/http/health_check/v2"

Index

Package Files

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

Variables

var File_envoy_config_filter_http_health_check_v2_health_check_proto protoreflect.FileDescriptor

type HealthCheck Uses

type HealthCheck struct {
    PassThroughMode              *wrappers.BoolValue       `protobuf:"bytes,1,opt,name=pass_through_mode,json=passThroughMode,proto3" json:"pass_through_mode,omitempty"`
    CacheTime                    *duration.Duration        `protobuf:"bytes,3,opt,name=cache_time,json=cacheTime,proto3" json:"cache_time,omitempty"`
    ClusterMinHealthyPercentages map[string]*_type.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"`
    Headers                      []*route.HeaderMatcher    `protobuf:"bytes,5,rep,name=headers,proto3" json:"headers,omitempty"`
    // contains filtered or unexported fields
}

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]*_type.Percent

func (*HealthCheck) GetHeaders Uses

func (x *HealthCheck) GetHeaders() []*route.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_config_filter_http_health_check_v2 imports 22 packages (graph) and is imported by 8 packages. Updated 2020-06-19. Refresh now. Tools for package owners.