Documentation ¶
Index ¶
- Variables
- type HealthCheck
- func (*HealthCheck) Descriptor() ([]byte, []int)
- func (m *HealthCheck) GetAltPort() *wrappers.UInt32Value
- func (m *HealthCheck) GetAlwaysLogHealthCheckFailures() bool
- func (m *HealthCheck) GetCustomHealthCheck() *HealthCheck_CustomHealthCheck
- func (m *HealthCheck) GetEventLogPath() string
- func (m *HealthCheck) GetGrpcHealthCheck() *HealthCheck_GrpcHealthCheck
- func (m *HealthCheck) GetHealthChecker() isHealthCheck_HealthChecker
- func (m *HealthCheck) GetHealthyEdgeInterval() *duration.Duration
- func (m *HealthCheck) GetHealthyThreshold() *wrappers.UInt32Value
- func (m *HealthCheck) GetHttpHealthCheck() *HealthCheck_HttpHealthCheck
- func (m *HealthCheck) GetInitialJitter() *duration.Duration
- func (m *HealthCheck) GetInterval() *duration.Duration
- func (m *HealthCheck) GetIntervalJitter() *duration.Duration
- func (m *HealthCheck) GetIntervalJitterPercent() uint32
- func (m *HealthCheck) GetNoTrafficInterval() *duration.Duration
- func (m *HealthCheck) GetReuseConnection() *wrappers.BoolValue
- func (m *HealthCheck) GetTcpHealthCheck() *HealthCheck_TcpHealthCheck
- func (m *HealthCheck) GetTimeout() *duration.Duration
- func (m *HealthCheck) GetUnhealthyEdgeInterval() *duration.Duration
- func (m *HealthCheck) GetUnhealthyInterval() *duration.Duration
- func (m *HealthCheck) GetUnhealthyThreshold() *wrappers.UInt32Value
- func (*HealthCheck) ProtoMessage()
- func (m *HealthCheck) Reset()
- func (m *HealthCheck) String() string
- func (m *HealthCheck) XXX_DiscardUnknown()
- func (m *HealthCheck) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *HealthCheck) XXX_Merge(src proto.Message)
- func (*HealthCheck) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *HealthCheck) XXX_Size() int
- func (m *HealthCheck) XXX_Unmarshal(b []byte) error
- type HealthCheck_CustomHealthCheck
- func (*HealthCheck_CustomHealthCheck) Descriptor() ([]byte, []int)
- func (m *HealthCheck_CustomHealthCheck) GetConfig() *_struct.Struct
- func (m *HealthCheck_CustomHealthCheck) GetConfigType() isHealthCheck_CustomHealthCheck_ConfigType
- func (m *HealthCheck_CustomHealthCheck) GetName() string
- func (m *HealthCheck_CustomHealthCheck) GetTypedConfig() *any.Any
- func (*HealthCheck_CustomHealthCheck) ProtoMessage()
- func (m *HealthCheck_CustomHealthCheck) Reset()
- func (m *HealthCheck_CustomHealthCheck) String() string
- func (m *HealthCheck_CustomHealthCheck) XXX_DiscardUnknown()
- func (m *HealthCheck_CustomHealthCheck) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *HealthCheck_CustomHealthCheck) XXX_Merge(src proto.Message)
- func (*HealthCheck_CustomHealthCheck) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *HealthCheck_CustomHealthCheck) XXX_Size() int
- func (m *HealthCheck_CustomHealthCheck) XXX_Unmarshal(b []byte) error
- type HealthCheck_CustomHealthCheck_
- type HealthCheck_CustomHealthCheck_Config
- type HealthCheck_CustomHealthCheck_TypedConfig
- type HealthCheck_GrpcHealthCheck
- func (*HealthCheck_GrpcHealthCheck) Descriptor() ([]byte, []int)
- func (m *HealthCheck_GrpcHealthCheck) GetAuthority() string
- func (m *HealthCheck_GrpcHealthCheck) GetServiceName() string
- func (*HealthCheck_GrpcHealthCheck) ProtoMessage()
- func (m *HealthCheck_GrpcHealthCheck) Reset()
- func (m *HealthCheck_GrpcHealthCheck) String() string
- func (m *HealthCheck_GrpcHealthCheck) XXX_DiscardUnknown()
- func (m *HealthCheck_GrpcHealthCheck) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *HealthCheck_GrpcHealthCheck) XXX_Merge(src proto.Message)
- func (m *HealthCheck_GrpcHealthCheck) XXX_Size() int
- func (m *HealthCheck_GrpcHealthCheck) XXX_Unmarshal(b []byte) error
- type HealthCheck_GrpcHealthCheck_
- type HealthCheck_HttpHealthCheck
- func (*HealthCheck_HttpHealthCheck) Descriptor() ([]byte, []int)
- func (m *HealthCheck_HttpHealthCheck) GetExpectedStatuses() []*_range.Int64Range
- func (m *HealthCheck_HttpHealthCheck) GetHost() string
- func (m *HealthCheck_HttpHealthCheck) GetPath() string
- func (m *HealthCheck_HttpHealthCheck) GetReceive() *HealthCheck_Payload
- func (m *HealthCheck_HttpHealthCheck) GetRequestHeadersToAdd() []*base.HeaderValueOption
- func (m *HealthCheck_HttpHealthCheck) GetRequestHeadersToRemove() []string
- func (m *HealthCheck_HttpHealthCheck) GetSend() *HealthCheck_Payload
- func (m *HealthCheck_HttpHealthCheck) GetServiceName() string
- func (m *HealthCheck_HttpHealthCheck) GetUseHttp2() bool
- func (*HealthCheck_HttpHealthCheck) ProtoMessage()
- func (m *HealthCheck_HttpHealthCheck) Reset()
- func (m *HealthCheck_HttpHealthCheck) String() string
- func (m *HealthCheck_HttpHealthCheck) XXX_DiscardUnknown()
- func (m *HealthCheck_HttpHealthCheck) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *HealthCheck_HttpHealthCheck) XXX_Merge(src proto.Message)
- func (m *HealthCheck_HttpHealthCheck) XXX_Size() int
- func (m *HealthCheck_HttpHealthCheck) XXX_Unmarshal(b []byte) error
- type HealthCheck_HttpHealthCheck_
- type HealthCheck_Payload
- func (*HealthCheck_Payload) Descriptor() ([]byte, []int)
- func (m *HealthCheck_Payload) GetBinary() []byte
- func (m *HealthCheck_Payload) GetPayload() isHealthCheck_Payload_Payload
- func (m *HealthCheck_Payload) GetText() string
- func (*HealthCheck_Payload) ProtoMessage()
- func (m *HealthCheck_Payload) Reset()
- func (m *HealthCheck_Payload) String() string
- func (m *HealthCheck_Payload) XXX_DiscardUnknown()
- func (m *HealthCheck_Payload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *HealthCheck_Payload) XXX_Merge(src proto.Message)
- func (*HealthCheck_Payload) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *HealthCheck_Payload) XXX_Size() int
- func (m *HealthCheck_Payload) XXX_Unmarshal(b []byte) error
- type HealthCheck_Payload_Binary
- type HealthCheck_Payload_Text
- type HealthCheck_RedisHealthCheck
- func (*HealthCheck_RedisHealthCheck) Descriptor() ([]byte, []int)
- func (m *HealthCheck_RedisHealthCheck) GetKey() string
- func (*HealthCheck_RedisHealthCheck) ProtoMessage()
- func (m *HealthCheck_RedisHealthCheck) Reset()
- func (m *HealthCheck_RedisHealthCheck) String() string
- func (m *HealthCheck_RedisHealthCheck) XXX_DiscardUnknown()
- func (m *HealthCheck_RedisHealthCheck) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *HealthCheck_RedisHealthCheck) XXX_Merge(src proto.Message)
- func (m *HealthCheck_RedisHealthCheck) XXX_Size() int
- func (m *HealthCheck_RedisHealthCheck) XXX_Unmarshal(b []byte) error
- type HealthCheck_TcpHealthCheck
- func (*HealthCheck_TcpHealthCheck) Descriptor() ([]byte, []int)
- func (m *HealthCheck_TcpHealthCheck) GetReceive() []*HealthCheck_Payload
- func (m *HealthCheck_TcpHealthCheck) GetSend() *HealthCheck_Payload
- func (*HealthCheck_TcpHealthCheck) ProtoMessage()
- func (m *HealthCheck_TcpHealthCheck) Reset()
- func (m *HealthCheck_TcpHealthCheck) String() string
- func (m *HealthCheck_TcpHealthCheck) XXX_DiscardUnknown()
- func (m *HealthCheck_TcpHealthCheck) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *HealthCheck_TcpHealthCheck) XXX_Merge(src proto.Message)
- func (m *HealthCheck_TcpHealthCheck) XXX_Size() int
- func (m *HealthCheck_TcpHealthCheck) XXX_Unmarshal(b []byte) error
- type HealthCheck_TcpHealthCheck_
- type HealthStatus
Constants ¶
This section is empty.
Variables ¶
View Source
var HealthStatus_name = map[int32]string{
0: "UNKNOWN",
1: "HEALTHY",
2: "UNHEALTHY",
3: "DRAINING",
4: "TIMEOUT",
5: "DEGRADED",
}
View Source
var HealthStatus_value = map[string]int32{
"UNKNOWN": 0,
"HEALTHY": 1,
"UNHEALTHY": 2,
"DRAINING": 3,
"TIMEOUT": 4,
"DEGRADED": 5,
}
Functions ¶
This section is empty.
Types ¶
type HealthCheck ¶
type HealthCheck struct { Timeout *duration.Duration `protobuf:"bytes,1,opt,name=timeout,proto3" json:"timeout,omitempty"` Interval *duration.Duration `protobuf:"bytes,2,opt,name=interval,proto3" json:"interval,omitempty"` InitialJitter *duration.Duration `protobuf:"bytes,20,opt,name=initial_jitter,json=initialJitter,proto3" json:"initial_jitter,omitempty"` IntervalJitter *duration.Duration `protobuf:"bytes,3,opt,name=interval_jitter,json=intervalJitter,proto3" json:"interval_jitter,omitempty"` IntervalJitterPercent uint32 `` /* 128-byte string literal not displayed */ UnhealthyThreshold *wrappers.UInt32Value `protobuf:"bytes,4,opt,name=unhealthy_threshold,json=unhealthyThreshold,proto3" json:"unhealthy_threshold,omitempty"` HealthyThreshold *wrappers.UInt32Value `protobuf:"bytes,5,opt,name=healthy_threshold,json=healthyThreshold,proto3" json:"healthy_threshold,omitempty"` AltPort *wrappers.UInt32Value `protobuf:"bytes,6,opt,name=alt_port,json=altPort,proto3" json:"alt_port,omitempty"` ReuseConnection *wrappers.BoolValue `protobuf:"bytes,7,opt,name=reuse_connection,json=reuseConnection,proto3" json:"reuse_connection,omitempty"` // Types that are valid to be assigned to HealthChecker: // *HealthCheck_HttpHealthCheck_ // *HealthCheck_TcpHealthCheck_ // *HealthCheck_GrpcHealthCheck_ // *HealthCheck_CustomHealthCheck_ HealthChecker isHealthCheck_HealthChecker `protobuf_oneof:"health_checker"` NoTrafficInterval *duration.Duration `protobuf:"bytes,12,opt,name=no_traffic_interval,json=noTrafficInterval,proto3" json:"no_traffic_interval,omitempty"` UnhealthyInterval *duration.Duration `protobuf:"bytes,14,opt,name=unhealthy_interval,json=unhealthyInterval,proto3" json:"unhealthy_interval,omitempty"` UnhealthyEdgeInterval *duration.Duration `` /* 127-byte string literal not displayed */ HealthyEdgeInterval *duration.Duration `protobuf:"bytes,16,opt,name=healthy_edge_interval,json=healthyEdgeInterval,proto3" json:"healthy_edge_interval,omitempty"` EventLogPath string `protobuf:"bytes,17,opt,name=event_log_path,json=eventLogPath,proto3" json:"event_log_path,omitempty"` AlwaysLogHealthCheckFailures bool `` /* 153-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*HealthCheck) Descriptor ¶
func (*HealthCheck) Descriptor() ([]byte, []int)
func (*HealthCheck) GetAltPort ¶
func (m *HealthCheck) GetAltPort() *wrappers.UInt32Value
func (*HealthCheck) GetAlwaysLogHealthCheckFailures ¶
func (m *HealthCheck) GetAlwaysLogHealthCheckFailures() bool
func (*HealthCheck) GetCustomHealthCheck ¶
func (m *HealthCheck) GetCustomHealthCheck() *HealthCheck_CustomHealthCheck
func (*HealthCheck) GetEventLogPath ¶
func (m *HealthCheck) GetEventLogPath() string
func (*HealthCheck) GetGrpcHealthCheck ¶
func (m *HealthCheck) GetGrpcHealthCheck() *HealthCheck_GrpcHealthCheck
func (*HealthCheck) GetHealthChecker ¶
func (m *HealthCheck) GetHealthChecker() isHealthCheck_HealthChecker
func (*HealthCheck) GetHealthyEdgeInterval ¶
func (m *HealthCheck) GetHealthyEdgeInterval() *duration.Duration
func (*HealthCheck) GetHealthyThreshold ¶
func (m *HealthCheck) GetHealthyThreshold() *wrappers.UInt32Value
func (*HealthCheck) GetHttpHealthCheck ¶
func (m *HealthCheck) GetHttpHealthCheck() *HealthCheck_HttpHealthCheck
func (*HealthCheck) GetInitialJitter ¶
func (m *HealthCheck) GetInitialJitter() *duration.Duration
func (*HealthCheck) GetInterval ¶
func (m *HealthCheck) GetInterval() *duration.Duration
func (*HealthCheck) GetIntervalJitter ¶
func (m *HealthCheck) GetIntervalJitter() *duration.Duration
func (*HealthCheck) GetIntervalJitterPercent ¶
func (m *HealthCheck) GetIntervalJitterPercent() uint32
func (*HealthCheck) GetNoTrafficInterval ¶
func (m *HealthCheck) GetNoTrafficInterval() *duration.Duration
func (*HealthCheck) GetReuseConnection ¶
func (m *HealthCheck) GetReuseConnection() *wrappers.BoolValue
func (*HealthCheck) GetTcpHealthCheck ¶
func (m *HealthCheck) GetTcpHealthCheck() *HealthCheck_TcpHealthCheck
func (*HealthCheck) GetTimeout ¶
func (m *HealthCheck) GetTimeout() *duration.Duration
func (*HealthCheck) GetUnhealthyEdgeInterval ¶
func (m *HealthCheck) GetUnhealthyEdgeInterval() *duration.Duration
func (*HealthCheck) GetUnhealthyInterval ¶
func (m *HealthCheck) GetUnhealthyInterval() *duration.Duration
func (*HealthCheck) GetUnhealthyThreshold ¶
func (m *HealthCheck) GetUnhealthyThreshold() *wrappers.UInt32Value
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 (dst *HealthCheck) XXX_Merge(src proto.Message)
func (*HealthCheck) XXX_OneofFuncs ¶
func (*HealthCheck) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*HealthCheck) XXX_Size ¶
func (m *HealthCheck) XXX_Size() int
func (*HealthCheck) XXX_Unmarshal ¶
func (m *HealthCheck) XXX_Unmarshal(b []byte) error
type HealthCheck_CustomHealthCheck ¶
type HealthCheck_CustomHealthCheck struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Types that are valid to be assigned to ConfigType: // *HealthCheck_CustomHealthCheck_Config // *HealthCheck_CustomHealthCheck_TypedConfig ConfigType isHealthCheck_CustomHealthCheck_ConfigType `protobuf_oneof:"config_type"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*HealthCheck_CustomHealthCheck) Descriptor ¶
func (*HealthCheck_CustomHealthCheck) Descriptor() ([]byte, []int)
func (*HealthCheck_CustomHealthCheck) GetConfig ¶
func (m *HealthCheck_CustomHealthCheck) GetConfig() *_struct.Struct
func (*HealthCheck_CustomHealthCheck) GetConfigType ¶
func (m *HealthCheck_CustomHealthCheck) GetConfigType() isHealthCheck_CustomHealthCheck_ConfigType
func (*HealthCheck_CustomHealthCheck) GetName ¶
func (m *HealthCheck_CustomHealthCheck) GetName() string
func (*HealthCheck_CustomHealthCheck) GetTypedConfig ¶
func (m *HealthCheck_CustomHealthCheck) GetTypedConfig() *any.Any
func (*HealthCheck_CustomHealthCheck) ProtoMessage ¶
func (*HealthCheck_CustomHealthCheck) ProtoMessage()
func (*HealthCheck_CustomHealthCheck) Reset ¶
func (m *HealthCheck_CustomHealthCheck) Reset()
func (*HealthCheck_CustomHealthCheck) String ¶
func (m *HealthCheck_CustomHealthCheck) String() string
func (*HealthCheck_CustomHealthCheck) XXX_DiscardUnknown ¶
func (m *HealthCheck_CustomHealthCheck) XXX_DiscardUnknown()
func (*HealthCheck_CustomHealthCheck) XXX_Marshal ¶
func (m *HealthCheck_CustomHealthCheck) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HealthCheck_CustomHealthCheck) XXX_Merge ¶
func (dst *HealthCheck_CustomHealthCheck) XXX_Merge(src proto.Message)
func (*HealthCheck_CustomHealthCheck) XXX_OneofFuncs ¶
func (*HealthCheck_CustomHealthCheck) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*HealthCheck_CustomHealthCheck) XXX_Size ¶
func (m *HealthCheck_CustomHealthCheck) XXX_Size() int
func (*HealthCheck_CustomHealthCheck) XXX_Unmarshal ¶
func (m *HealthCheck_CustomHealthCheck) XXX_Unmarshal(b []byte) error
type HealthCheck_CustomHealthCheck_ ¶
type HealthCheck_CustomHealthCheck_ struct {
CustomHealthCheck *HealthCheck_CustomHealthCheck `protobuf:"bytes,13,opt,name=custom_health_check,json=customHealthCheck,proto3,oneof"`
}
type HealthCheck_GrpcHealthCheck ¶
type HealthCheck_GrpcHealthCheck struct { ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` Authority string `protobuf:"bytes,2,opt,name=authority,proto3" json:"authority,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*HealthCheck_GrpcHealthCheck) Descriptor ¶
func (*HealthCheck_GrpcHealthCheck) Descriptor() ([]byte, []int)
func (*HealthCheck_GrpcHealthCheck) GetAuthority ¶
func (m *HealthCheck_GrpcHealthCheck) GetAuthority() string
func (*HealthCheck_GrpcHealthCheck) GetServiceName ¶
func (m *HealthCheck_GrpcHealthCheck) GetServiceName() string
func (*HealthCheck_GrpcHealthCheck) ProtoMessage ¶
func (*HealthCheck_GrpcHealthCheck) ProtoMessage()
func (*HealthCheck_GrpcHealthCheck) Reset ¶
func (m *HealthCheck_GrpcHealthCheck) Reset()
func (*HealthCheck_GrpcHealthCheck) String ¶
func (m *HealthCheck_GrpcHealthCheck) String() string
func (*HealthCheck_GrpcHealthCheck) XXX_DiscardUnknown ¶
func (m *HealthCheck_GrpcHealthCheck) XXX_DiscardUnknown()
func (*HealthCheck_GrpcHealthCheck) XXX_Marshal ¶
func (m *HealthCheck_GrpcHealthCheck) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HealthCheck_GrpcHealthCheck) XXX_Merge ¶
func (dst *HealthCheck_GrpcHealthCheck) XXX_Merge(src proto.Message)
func (*HealthCheck_GrpcHealthCheck) XXX_Size ¶
func (m *HealthCheck_GrpcHealthCheck) XXX_Size() int
func (*HealthCheck_GrpcHealthCheck) XXX_Unmarshal ¶
func (m *HealthCheck_GrpcHealthCheck) XXX_Unmarshal(b []byte) error
type HealthCheck_GrpcHealthCheck_ ¶
type HealthCheck_GrpcHealthCheck_ struct {
GrpcHealthCheck *HealthCheck_GrpcHealthCheck `protobuf:"bytes,11,opt,name=grpc_health_check,json=grpcHealthCheck,proto3,oneof"`
}
type HealthCheck_HttpHealthCheck ¶
type HealthCheck_HttpHealthCheck struct { Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"` Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` Send *HealthCheck_Payload `protobuf:"bytes,3,opt,name=send,proto3" json:"send,omitempty"` Receive *HealthCheck_Payload `protobuf:"bytes,4,opt,name=receive,proto3" json:"receive,omitempty"` ServiceName string `protobuf:"bytes,5,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` RequestHeadersToAdd []*base.HeaderValueOption `protobuf:"bytes,6,rep,name=request_headers_to_add,json=requestHeadersToAdd,proto3" json:"request_headers_to_add,omitempty"` RequestHeadersToRemove []string `` /* 131-byte string literal not displayed */ UseHttp2 bool `protobuf:"varint,7,opt,name=use_http2,json=useHttp2,proto3" json:"use_http2,omitempty"` ExpectedStatuses []*_range.Int64Range `protobuf:"bytes,9,rep,name=expected_statuses,json=expectedStatuses,proto3" json:"expected_statuses,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*HealthCheck_HttpHealthCheck) Descriptor ¶
func (*HealthCheck_HttpHealthCheck) Descriptor() ([]byte, []int)
func (*HealthCheck_HttpHealthCheck) GetExpectedStatuses ¶
func (m *HealthCheck_HttpHealthCheck) GetExpectedStatuses() []*_range.Int64Range
func (*HealthCheck_HttpHealthCheck) GetHost ¶
func (m *HealthCheck_HttpHealthCheck) GetHost() string
func (*HealthCheck_HttpHealthCheck) GetPath ¶
func (m *HealthCheck_HttpHealthCheck) GetPath() string
func (*HealthCheck_HttpHealthCheck) GetReceive ¶
func (m *HealthCheck_HttpHealthCheck) GetReceive() *HealthCheck_Payload
func (*HealthCheck_HttpHealthCheck) GetRequestHeadersToAdd ¶
func (m *HealthCheck_HttpHealthCheck) GetRequestHeadersToAdd() []*base.HeaderValueOption
func (*HealthCheck_HttpHealthCheck) GetRequestHeadersToRemove ¶
func (m *HealthCheck_HttpHealthCheck) GetRequestHeadersToRemove() []string
func (*HealthCheck_HttpHealthCheck) GetSend ¶
func (m *HealthCheck_HttpHealthCheck) GetSend() *HealthCheck_Payload
func (*HealthCheck_HttpHealthCheck) GetServiceName ¶
func (m *HealthCheck_HttpHealthCheck) GetServiceName() string
func (*HealthCheck_HttpHealthCheck) GetUseHttp2 ¶
func (m *HealthCheck_HttpHealthCheck) GetUseHttp2() bool
func (*HealthCheck_HttpHealthCheck) ProtoMessage ¶
func (*HealthCheck_HttpHealthCheck) ProtoMessage()
func (*HealthCheck_HttpHealthCheck) Reset ¶
func (m *HealthCheck_HttpHealthCheck) Reset()
func (*HealthCheck_HttpHealthCheck) String ¶
func (m *HealthCheck_HttpHealthCheck) String() string
func (*HealthCheck_HttpHealthCheck) XXX_DiscardUnknown ¶
func (m *HealthCheck_HttpHealthCheck) XXX_DiscardUnknown()
func (*HealthCheck_HttpHealthCheck) XXX_Marshal ¶
func (m *HealthCheck_HttpHealthCheck) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HealthCheck_HttpHealthCheck) XXX_Merge ¶
func (dst *HealthCheck_HttpHealthCheck) XXX_Merge(src proto.Message)
func (*HealthCheck_HttpHealthCheck) XXX_Size ¶
func (m *HealthCheck_HttpHealthCheck) XXX_Size() int
func (*HealthCheck_HttpHealthCheck) XXX_Unmarshal ¶
func (m *HealthCheck_HttpHealthCheck) XXX_Unmarshal(b []byte) error
type HealthCheck_HttpHealthCheck_ ¶
type HealthCheck_HttpHealthCheck_ struct {
HttpHealthCheck *HealthCheck_HttpHealthCheck `protobuf:"bytes,8,opt,name=http_health_check,json=httpHealthCheck,proto3,oneof"`
}
type HealthCheck_Payload ¶
type HealthCheck_Payload struct { // Types that are valid to be assigned to Payload: // *HealthCheck_Payload_Text // *HealthCheck_Payload_Binary Payload isHealthCheck_Payload_Payload `protobuf_oneof:"payload"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*HealthCheck_Payload) Descriptor ¶
func (*HealthCheck_Payload) Descriptor() ([]byte, []int)
func (*HealthCheck_Payload) GetBinary ¶
func (m *HealthCheck_Payload) GetBinary() []byte
func (*HealthCheck_Payload) GetPayload ¶
func (m *HealthCheck_Payload) GetPayload() isHealthCheck_Payload_Payload
func (*HealthCheck_Payload) GetText ¶
func (m *HealthCheck_Payload) GetText() string
func (*HealthCheck_Payload) ProtoMessage ¶
func (*HealthCheck_Payload) ProtoMessage()
func (*HealthCheck_Payload) Reset ¶
func (m *HealthCheck_Payload) Reset()
func (*HealthCheck_Payload) String ¶
func (m *HealthCheck_Payload) String() string
func (*HealthCheck_Payload) XXX_DiscardUnknown ¶
func (m *HealthCheck_Payload) XXX_DiscardUnknown()
func (*HealthCheck_Payload) XXX_Marshal ¶
func (m *HealthCheck_Payload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HealthCheck_Payload) XXX_Merge ¶
func (dst *HealthCheck_Payload) XXX_Merge(src proto.Message)
func (*HealthCheck_Payload) XXX_OneofFuncs ¶
func (*HealthCheck_Payload) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*HealthCheck_Payload) XXX_Size ¶
func (m *HealthCheck_Payload) XXX_Size() int
func (*HealthCheck_Payload) XXX_Unmarshal ¶
func (m *HealthCheck_Payload) XXX_Unmarshal(b []byte) error
type HealthCheck_Payload_Binary ¶
type HealthCheck_Payload_Binary struct {
Binary []byte `protobuf:"bytes,2,opt,name=binary,proto3,oneof"`
}
type HealthCheck_Payload_Text ¶
type HealthCheck_Payload_Text struct {
Text string `protobuf:"bytes,1,opt,name=text,proto3,oneof"`
}
type HealthCheck_RedisHealthCheck ¶
type HealthCheck_RedisHealthCheck struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*HealthCheck_RedisHealthCheck) Descriptor ¶
func (*HealthCheck_RedisHealthCheck) Descriptor() ([]byte, []int)
func (*HealthCheck_RedisHealthCheck) GetKey ¶
func (m *HealthCheck_RedisHealthCheck) GetKey() string
func (*HealthCheck_RedisHealthCheck) ProtoMessage ¶
func (*HealthCheck_RedisHealthCheck) ProtoMessage()
func (*HealthCheck_RedisHealthCheck) Reset ¶
func (m *HealthCheck_RedisHealthCheck) Reset()
func (*HealthCheck_RedisHealthCheck) String ¶
func (m *HealthCheck_RedisHealthCheck) String() string
func (*HealthCheck_RedisHealthCheck) XXX_DiscardUnknown ¶
func (m *HealthCheck_RedisHealthCheck) XXX_DiscardUnknown()
func (*HealthCheck_RedisHealthCheck) XXX_Marshal ¶
func (m *HealthCheck_RedisHealthCheck) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HealthCheck_RedisHealthCheck) XXX_Merge ¶
func (dst *HealthCheck_RedisHealthCheck) XXX_Merge(src proto.Message)
func (*HealthCheck_RedisHealthCheck) XXX_Size ¶
func (m *HealthCheck_RedisHealthCheck) XXX_Size() int
func (*HealthCheck_RedisHealthCheck) XXX_Unmarshal ¶
func (m *HealthCheck_RedisHealthCheck) XXX_Unmarshal(b []byte) error
type HealthCheck_TcpHealthCheck ¶
type HealthCheck_TcpHealthCheck struct { Send *HealthCheck_Payload `protobuf:"bytes,1,opt,name=send,proto3" json:"send,omitempty"` Receive []*HealthCheck_Payload `protobuf:"bytes,2,rep,name=receive,proto3" json:"receive,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*HealthCheck_TcpHealthCheck) Descriptor ¶
func (*HealthCheck_TcpHealthCheck) Descriptor() ([]byte, []int)
func (*HealthCheck_TcpHealthCheck) GetReceive ¶
func (m *HealthCheck_TcpHealthCheck) GetReceive() []*HealthCheck_Payload
func (*HealthCheck_TcpHealthCheck) GetSend ¶
func (m *HealthCheck_TcpHealthCheck) GetSend() *HealthCheck_Payload
func (*HealthCheck_TcpHealthCheck) ProtoMessage ¶
func (*HealthCheck_TcpHealthCheck) ProtoMessage()
func (*HealthCheck_TcpHealthCheck) Reset ¶
func (m *HealthCheck_TcpHealthCheck) Reset()
func (*HealthCheck_TcpHealthCheck) String ¶
func (m *HealthCheck_TcpHealthCheck) String() string
func (*HealthCheck_TcpHealthCheck) XXX_DiscardUnknown ¶
func (m *HealthCheck_TcpHealthCheck) XXX_DiscardUnknown()
func (*HealthCheck_TcpHealthCheck) XXX_Marshal ¶
func (m *HealthCheck_TcpHealthCheck) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HealthCheck_TcpHealthCheck) XXX_Merge ¶
func (dst *HealthCheck_TcpHealthCheck) XXX_Merge(src proto.Message)
func (*HealthCheck_TcpHealthCheck) XXX_Size ¶
func (m *HealthCheck_TcpHealthCheck) XXX_Size() int
func (*HealthCheck_TcpHealthCheck) XXX_Unmarshal ¶
func (m *HealthCheck_TcpHealthCheck) XXX_Unmarshal(b []byte) error
type HealthCheck_TcpHealthCheck_ ¶
type HealthCheck_TcpHealthCheck_ struct {
TcpHealthCheck *HealthCheck_TcpHealthCheck `protobuf:"bytes,9,opt,name=tcp_health_check,json=tcpHealthCheck,proto3,oneof"`
}
type HealthStatus ¶
type HealthStatus int32
const ( HealthStatus_UNKNOWN HealthStatus = 0 HealthStatus_HEALTHY HealthStatus = 1 HealthStatus_UNHEALTHY HealthStatus = 2 HealthStatus_DRAINING HealthStatus = 3 HealthStatus_TIMEOUT HealthStatus = 4 HealthStatus_DEGRADED HealthStatus = 5 )
func (HealthStatus) EnumDescriptor ¶
func (HealthStatus) EnumDescriptor() ([]byte, []int)
func (HealthStatus) String ¶
func (x HealthStatus) String() string
Click to show internal directories.
Click to hide internal directories.