Documentation ¶
Index ¶
- Variables
- type HealthCheck
- func (*HealthCheck) Descriptor() ([]byte, []int)
- func (m *HealthCheck) GetCacheTime() *time.Duration
- func (m *HealthCheck) GetClusterMinHealthyPercentages() map[string]*_type.Percent
- func (m *HealthCheck) GetHeaders() []*route.HeaderMatcher
- func (m *HealthCheck) GetPassThroughMode() *types.BoolValue
- func (m *HealthCheck) Marshal() (dAtA []byte, err error)
- func (m *HealthCheck) MarshalTo(dAtA []byte) (int, error)
- func (*HealthCheck) ProtoMessage()
- func (m *HealthCheck) Reset()
- func (m *HealthCheck) Size() (n int)
- func (m *HealthCheck) String() string
- func (m *HealthCheck) Unmarshal(dAtA []byte) error
- func (m *HealthCheck) Validate() error
- func (m *HealthCheck) XXX_DiscardUnknown()
- func (m *HealthCheck) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *HealthCheck) XXX_Merge(src proto.Message)
- func (m *HealthCheck) XXX_Size() int
- func (m *HealthCheck) XXX_Unmarshal(b []byte) error
- type HealthCheckValidationError
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthHealthCheck = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowHealthCheck = fmt.Errorf("proto: integer overflow") )
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 *time.Duration `protobuf:"bytes,3,opt,name=cache_time,json=cacheTime,proto3,stdduration" 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:"-"` }
func (*HealthCheck) Descriptor ¶
func (*HealthCheck) Descriptor() ([]byte, []int)
func (*HealthCheck) GetCacheTime ¶
func (m *HealthCheck) GetCacheTime() *time.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) Marshal ¶ added in v0.5.0
func (m *HealthCheck) Marshal() (dAtA []byte, err error)
func (*HealthCheck) MarshalTo ¶ added in v0.5.0
func (m *HealthCheck) MarshalTo(dAtA []byte) (int, error)
func (*HealthCheck) ProtoMessage ¶
func (*HealthCheck) ProtoMessage()
func (*HealthCheck) Reset ¶
func (m *HealthCheck) Reset()
func (*HealthCheck) Size ¶ added in v0.5.0
func (m *HealthCheck) Size() (n int)
func (*HealthCheck) String ¶
func (m *HealthCheck) String() string
func (*HealthCheck) Unmarshal ¶ added in v0.5.0
func (m *HealthCheck) Unmarshal(dAtA []byte) error
func (*HealthCheck) Validate ¶
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.
func (*HealthCheck) XXX_DiscardUnknown ¶ added in v0.5.0
func (m *HealthCheck) XXX_DiscardUnknown()
func (*HealthCheck) XXX_Marshal ¶ added in v0.5.0
func (m *HealthCheck) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HealthCheck) XXX_Merge ¶ added in v0.5.0
func (m *HealthCheck) XXX_Merge(src proto.Message)
func (*HealthCheck) XXX_Size ¶ added in v0.5.0
func (m *HealthCheck) XXX_Size() int
func (*HealthCheck) XXX_Unmarshal ¶ added in v0.5.0
func (m *HealthCheck) XXX_Unmarshal(b []byte) error
type HealthCheckValidationError ¶
HealthCheckValidationError is the validation error returned by HealthCheck.Validate if the designated constraints aren't met.
func (HealthCheckValidationError) Error ¶
func (e HealthCheckValidationError) Error() string
Error satisfies the builtin error interface
Click to show internal directories.
Click to hide internal directories.