masterHealth

package
v0.0.0-...-4834045 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package masterHealth ヘルスチェック

Index

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) Enum

func (MasterHealthEnum) EnumDescriptor deprecated

func (MasterHealthEnum) EnumDescriptor() ([]byte, []int)

Deprecated: Use MasterHealthEnum.Descriptor instead.

func (MasterHealthEnum) Number

func (MasterHealthEnum) String

func (x MasterHealthEnum) String() string

func (MasterHealthEnum) Type

type MasterHealths

type MasterHealths []*MasterHealth

func NewMasterHealths

func NewMasterHealths() MasterHealths

Jump to

Keyboard shortcuts

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