envoy_config_filter_http_health_check_v2

package
v1.12.1 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HealthCheck

type HealthCheck struct {
	// Specifies whether the filter operates in pass through mode or not.
	PassThroughMode *types.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 *types.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.
	ClusterMinHealthyPercentages map[string]*_type.Percent `` /* 237-byte string literal not displayed */
	// 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              []*route.HeaderMatcher `protobuf:"bytes,5,rep,name=headers,proto3" json:"headers,omitempty"`
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

[#next-free-field: 6]

func (*HealthCheck) Descriptor

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

func (*HealthCheck) GetCacheTime

func (m *HealthCheck) GetCacheTime() *types.Duration

func (*HealthCheck) GetClusterMinHealthyPercentages

func (m *HealthCheck) GetClusterMinHealthyPercentages() map[string]*_type.Percent

func (*HealthCheck) GetHeaders

func (m *HealthCheck) GetHeaders() []*route.HeaderMatcher

func (*HealthCheck) GetPassThroughMode

func (m *HealthCheck) GetPassThroughMode() *types.BoolValue

func (*HealthCheck) ProtoMessage

func (*HealthCheck) ProtoMessage()

func (*HealthCheck) Reset

func (m *HealthCheck) Reset()

func (*HealthCheck) String

func (m *HealthCheck) String() string

func (*HealthCheck) XXX_DiscardUnknown

func (m *HealthCheck) XXX_DiscardUnknown()

func (*HealthCheck) XXX_Marshal

func (m *HealthCheck) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HealthCheck) XXX_Merge

func (m *HealthCheck) XXX_Merge(src proto.Message)

func (*HealthCheck) XXX_Size

func (m *HealthCheck) XXX_Size() int

func (*HealthCheck) XXX_Unmarshal

func (m *HealthCheck) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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