Documentation ¶
Overview ¶
Package masterHealth ヘルスチェック
Index ¶
- Variables
- type MasterHealth
- func (*MasterHealth) Descriptor() ([]byte, []int)deprecated
- func (x *MasterHealth) GetHealthId() int64
- func (x *MasterHealth) GetMasterHealthEnum() MasterHealthEnum
- func (x *MasterHealth) GetName() string
- func (*MasterHealth) ProtoMessage()
- func (x *MasterHealth) ProtoReflect() protoreflect.Message
- func (x *MasterHealth) Reset()
- func (x *MasterHealth) String() string
- type MasterHealthEnum
- func (MasterHealthEnum) Descriptor() protoreflect.EnumDescriptor
- func (x MasterHealthEnum) Enum() *MasterHealthEnum
- func (MasterHealthEnum) EnumDescriptor() ([]byte, []int)deprecated
- func (x MasterHealthEnum) Number() protoreflect.EnumNumber
- func (x MasterHealthEnum) String() string
- func (MasterHealthEnum) Type() protoreflect.EnumType
- type MasterHealths
Constants ¶
This section is empty.
Variables ¶
View Source
var ( MasterHealthEnum_name = map[int32]string{ 0: "MasterNone", 1: "MasterSuccess", } MasterHealthEnum_value = map[string]int32{ "MasterNone": 0, "MasterSuccess": 1, } )
Enum value maps for MasterHealthEnum.
View Source
var File_health_masterHealth_master_health_enum_proto protoreflect.FileDescriptor
View Source
var File_health_masterHealth_master_health_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type MasterHealth ¶
type MasterHealth struct { HealthId int64 `protobuf:"varint,1,opt,name=health_id,json=healthId,proto3" json:"health_id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` MasterHealthEnum MasterHealthEnum `` /* 144-byte string literal not displayed */ // contains filtered or unexported fields }
func NewMasterHealth ¶
func NewMasterHealth() *MasterHealth
func SetMasterHealth ¶
func SetMasterHealth(healthId int64, name string, masterHealthEnum MasterHealthEnum) *MasterHealth
func (*MasterHealth) Descriptor
deprecated
func (*MasterHealth) Descriptor() ([]byte, []int)
Deprecated: Use MasterHealth.ProtoReflect.Descriptor instead.
func (*MasterHealth) GetHealthId ¶
func (x *MasterHealth) GetHealthId() int64
func (*MasterHealth) GetMasterHealthEnum ¶
func (x *MasterHealth) GetMasterHealthEnum() MasterHealthEnum
func (*MasterHealth) GetName ¶
func (x *MasterHealth) GetName() string
func (*MasterHealth) ProtoMessage ¶
func (*MasterHealth) ProtoMessage()
func (*MasterHealth) ProtoReflect ¶
func (x *MasterHealth) ProtoReflect() protoreflect.Message
func (*MasterHealth) Reset ¶
func (x *MasterHealth) Reset()
func (*MasterHealth) String ¶
func (x *MasterHealth) String() string
type MasterHealthEnum ¶
type MasterHealthEnum int32
const ( MasterHealthEnum_MasterNone MasterHealthEnum = 0 MasterHealthEnum_MasterSuccess MasterHealthEnum = 1 )
func (MasterHealthEnum) Descriptor ¶
func (MasterHealthEnum) Descriptor() protoreflect.EnumDescriptor
func (MasterHealthEnum) Enum ¶
func (x MasterHealthEnum) Enum() *MasterHealthEnum
func (MasterHealthEnum) EnumDescriptor
deprecated
func (MasterHealthEnum) EnumDescriptor() ([]byte, []int)
Deprecated: Use MasterHealthEnum.Descriptor instead.
func (MasterHealthEnum) Number ¶
func (x MasterHealthEnum) Number() protoreflect.EnumNumber
func (MasterHealthEnum) String ¶
func (x MasterHealthEnum) String() string
func (MasterHealthEnum) Type ¶
func (MasterHealthEnum) Type() protoreflect.EnumType
type MasterHealths ¶
type MasterHealths []*MasterHealth
func NewMasterHealths ¶
func NewMasterHealths() MasterHealths
Click to show internal directories.
Click to hide internal directories.