Documentation ¶
Index ¶
- Variables
- type HealthCheck
- func (*HealthCheck) Descriptor() ([]byte, []int)deprecated
- func (x *HealthCheck) GetHeartbeat() *HeartbeatHealthCheck
- func (x *HealthCheck) GetType() HealthCheck_HealthCheckType
- func (*HealthCheck) ProtoMessage()
- func (x *HealthCheck) ProtoReflect() protoreflect.Message
- func (x *HealthCheck) Reset()
- func (x *HealthCheck) String() string
- type HealthCheck_HealthCheckType
- func (HealthCheck_HealthCheckType) Descriptor() protoreflect.EnumDescriptor
- func (x HealthCheck_HealthCheckType) Enum() *HealthCheck_HealthCheckType
- func (HealthCheck_HealthCheckType) EnumDescriptor() ([]byte, []int)deprecated
- func (x HealthCheck_HealthCheckType) Number() protoreflect.EnumNumber
- func (x HealthCheck_HealthCheckType) String() string
- func (HealthCheck_HealthCheckType) Type() protoreflect.EnumType
- type HeartbeatHealthCheck
- func (*HeartbeatHealthCheck) Descriptor() ([]byte, []int)deprecated
- func (x *HeartbeatHealthCheck) GetTtl() uint32
- func (*HeartbeatHealthCheck) ProtoMessage()
- func (x *HeartbeatHealthCheck) ProtoReflect() protoreflect.Message
- func (x *HeartbeatHealthCheck) Reset()
- func (x *HeartbeatHealthCheck) String() string
- type Instance
- func (*Instance) Descriptor() ([]byte, []int)deprecated
- func (x *Instance) GetCreateAt() string
- func (x *Instance) GetExecutor() string
- func (x *Instance) GetHealthCheck() *HealthCheck
- func (x *Instance) GetHealthy() bool
- func (x *Instance) GetHost() string
- func (x *Instance) GetId() uint64
- func (x *Instance) GetIsolate() bool
- func (x *Instance) GetMetadata() map[string]string
- func (x *Instance) GetNamespace() string
- func (x *Instance) GetPort() string
- func (x *Instance) GetPriority() uint32
- func (x *Instance) GetProtocol() string
- func (x *Instance) GetRevision() string
- func (x *Instance) GetUpdateAt() string
- func (x *Instance) GetVersion() string
- func (x *Instance) GetWeight() uint32
- func (*Instance) ProtoMessage()
- func (x *Instance) ProtoReflect() protoreflect.Message
- func (x *Instance) Reset()
- func (x *Instance) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var ( HealthCheck_HealthCheckType_name = map[int32]string{ 0: "UNKNOWN", 1: "HEARTBEAT", } HealthCheck_HealthCheckType_value = map[string]int32{ "UNKNOWN": 0, "HEARTBEAT": 1, } )
Enum value maps for HealthCheck_HealthCheckType.
View Source
var File_executor_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type HealthCheck ¶
type HealthCheck struct { Type HealthCheck_HealthCheckType `protobuf:"varint,1,opt,name=type,proto3,enum=executor_manage.HealthCheck_HealthCheckType" json:"type,omitempty"` Heartbeat *HeartbeatHealthCheck `protobuf:"bytes,2,opt,name=heartbeat,proto3" json:"heartbeat,omitempty"` // contains filtered or unexported fields }
func (*HealthCheck) Descriptor
deprecated
func (*HealthCheck) Descriptor() ([]byte, []int)
Deprecated: Use HealthCheck.ProtoReflect.Descriptor instead.
func (*HealthCheck) GetHeartbeat ¶
func (x *HealthCheck) GetHeartbeat() *HeartbeatHealthCheck
func (*HealthCheck) GetType ¶
func (x *HealthCheck) GetType() HealthCheck_HealthCheckType
func (*HealthCheck) ProtoMessage ¶
func (*HealthCheck) ProtoMessage()
func (*HealthCheck) ProtoReflect ¶
func (x *HealthCheck) ProtoReflect() protoreflect.Message
func (*HealthCheck) Reset ¶
func (x *HealthCheck) Reset()
func (*HealthCheck) String ¶
func (x *HealthCheck) String() string
type HealthCheck_HealthCheckType ¶
type HealthCheck_HealthCheckType int32
const ( HealthCheck_UNKNOWN HealthCheck_HealthCheckType = 0 HealthCheck_HEARTBEAT HealthCheck_HealthCheckType = 1 )
func (HealthCheck_HealthCheckType) Descriptor ¶
func (HealthCheck_HealthCheckType) Descriptor() protoreflect.EnumDescriptor
func (HealthCheck_HealthCheckType) Enum ¶
func (x HealthCheck_HealthCheckType) Enum() *HealthCheck_HealthCheckType
func (HealthCheck_HealthCheckType) EnumDescriptor
deprecated
func (HealthCheck_HealthCheckType) EnumDescriptor() ([]byte, []int)
Deprecated: Use HealthCheck_HealthCheckType.Descriptor instead.
func (HealthCheck_HealthCheckType) Number ¶
func (x HealthCheck_HealthCheckType) Number() protoreflect.EnumNumber
func (HealthCheck_HealthCheckType) String ¶
func (x HealthCheck_HealthCheckType) String() string
func (HealthCheck_HealthCheckType) Type ¶
func (HealthCheck_HealthCheckType) Type() protoreflect.EnumType
type HeartbeatHealthCheck ¶
type HeartbeatHealthCheck struct { Ttl uint32 `protobuf:"varint,1,opt,name=ttl,proto3" json:"ttl,omitempty"` // contains filtered or unexported fields }
func (*HeartbeatHealthCheck) Descriptor
deprecated
func (*HeartbeatHealthCheck) Descriptor() ([]byte, []int)
Deprecated: Use HeartbeatHealthCheck.ProtoReflect.Descriptor instead.
func (*HeartbeatHealthCheck) GetTtl ¶
func (x *HeartbeatHealthCheck) GetTtl() uint32
func (*HeartbeatHealthCheck) ProtoMessage ¶
func (*HeartbeatHealthCheck) ProtoMessage()
func (*HeartbeatHealthCheck) ProtoReflect ¶
func (x *HeartbeatHealthCheck) ProtoReflect() protoreflect.Message
func (*HeartbeatHealthCheck) Reset ¶
func (x *HeartbeatHealthCheck) Reset()
func (*HeartbeatHealthCheck) String ¶
func (x *HeartbeatHealthCheck) String() string
type Instance ¶
type Instance struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Executor string `protobuf:"bytes,2,opt,name=executor,proto3" json:"executor,omitempty"` Namespace string `protobuf:"bytes,3,opt,name=namespace,proto3" json:"namespace,omitempty"` Host string `protobuf:"bytes,4,opt,name=host,proto3" json:"host,omitempty"` Port string `protobuf:"bytes,5,opt,name=port,proto3" json:"port,omitempty"` Protocol string `protobuf:"bytes,6,opt,name=protocol,proto3" json:"protocol,omitempty"` Version string `protobuf:"bytes,7,opt,name=version,proto3" json:"version,omitempty"` Priority uint32 `protobuf:"varint,8,opt,name=priority,proto3" json:"priority,omitempty"` Weight uint32 `protobuf:"varint,9,opt,name=weight,proto3" json:"weight,omitempty"` HealthCheck *HealthCheck `protobuf:"bytes,10,opt,name=health_check,json=healthCheck,proto3" json:"health_check,omitempty"` Healthy bool `protobuf:"varint,11,opt,name=healthy,proto3" json:"healthy,omitempty"` Isolate bool `protobuf:"varint,12,opt,name=isolate,proto3" json:"isolate,omitempty"` Metadata map[string]string `` /* 158-byte string literal not displayed */ CreateAt string `protobuf:"bytes,16,opt,name=create_at,json=createAt,proto3" json:"create_at,omitempty"` UpdateAt string `protobuf:"bytes,17,opt,name=update_at,json=updateAt,proto3" json:"update_at,omitempty"` Revision string `protobuf:"bytes,18,opt,name=revision,proto3" json:"revision,omitempty"` // contains filtered or unexported fields }
func (*Instance) Descriptor
deprecated
func (*Instance) GetCreateAt ¶
func (*Instance) GetExecutor ¶
func (*Instance) GetHealthCheck ¶
func (x *Instance) GetHealthCheck() *HealthCheck
func (*Instance) GetHealthy ¶
func (*Instance) GetIsolate ¶
func (*Instance) GetMetadata ¶
func (*Instance) GetNamespace ¶
func (*Instance) GetPriority ¶
func (*Instance) GetProtocol ¶
func (*Instance) GetRevision ¶
func (*Instance) GetUpdateAt ¶
func (*Instance) GetVersion ¶
func (*Instance) ProtoMessage ¶
func (*Instance) ProtoMessage()
func (*Instance) ProtoReflect ¶
func (x *Instance) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.