Documentation ¶
Index ¶
- Variables
- type HealthResponse
- func (*HealthResponse) Descriptor() ([]byte, []int)deprecated
- func (x *HealthResponse) GetMessage() string
- func (x *HealthResponse) GetStatus() HealthResponse_ServingStatus
- func (*HealthResponse) ProtoMessage()
- func (x *HealthResponse) ProtoReflect() protoreflect.Message
- func (x *HealthResponse) Reset()
- func (x *HealthResponse) String() string
- type HealthResponse_ServingStatus
- func (HealthResponse_ServingStatus) Descriptor() protoreflect.EnumDescriptor
- func (x HealthResponse_ServingStatus) Enum() *HealthResponse_ServingStatus
- func (HealthResponse_ServingStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x HealthResponse_ServingStatus) Number() protoreflect.EnumNumber
- func (x HealthResponse_ServingStatus) String() string
- func (HealthResponse_ServingStatus) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
View Source
var ( HealthResponse_ServingStatus_name = map[int32]string{ 0: "UNKNOWN", 1: "SERVING", 2: "NOT_SERVING", } HealthResponse_ServingStatus_value = map[string]int32{ "UNKNOWN": 0, "SERVING": 1, "NOT_SERVING": 2, } )
Enum value maps for HealthResponse_ServingStatus.
View Source
var File_github_com_begmaroman_beaconspot_proto_health_health_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type HealthResponse ¶
type HealthResponse struct { Status HealthResponse_ServingStatus `protobuf:"varint,1,opt,name=status,proto3,enum=health.HealthResponse_ServingStatus" json:"status,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*HealthResponse) Descriptor
deprecated
func (*HealthResponse) Descriptor() ([]byte, []int)
Deprecated: Use HealthResponse.ProtoReflect.Descriptor instead.
func (*HealthResponse) GetMessage ¶
func (x *HealthResponse) GetMessage() string
func (*HealthResponse) GetStatus ¶
func (x *HealthResponse) GetStatus() HealthResponse_ServingStatus
func (*HealthResponse) ProtoMessage ¶
func (*HealthResponse) ProtoMessage()
func (*HealthResponse) ProtoReflect ¶
func (x *HealthResponse) ProtoReflect() protoreflect.Message
func (*HealthResponse) Reset ¶
func (x *HealthResponse) Reset()
func (*HealthResponse) String ¶
func (x *HealthResponse) String() string
type HealthResponse_ServingStatus ¶
type HealthResponse_ServingStatus int32
const ( HealthResponse_UNKNOWN HealthResponse_ServingStatus = 0 HealthResponse_SERVING HealthResponse_ServingStatus = 1 HealthResponse_NOT_SERVING HealthResponse_ServingStatus = 2 )
func (HealthResponse_ServingStatus) Descriptor ¶
func (HealthResponse_ServingStatus) Descriptor() protoreflect.EnumDescriptor
func (HealthResponse_ServingStatus) Enum ¶
func (x HealthResponse_ServingStatus) Enum() *HealthResponse_ServingStatus
func (HealthResponse_ServingStatus) EnumDescriptor
deprecated
func (HealthResponse_ServingStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use HealthResponse_ServingStatus.Descriptor instead.
func (HealthResponse_ServingStatus) Number ¶
func (x HealthResponse_ServingStatus) Number() protoreflect.EnumNumber
func (HealthResponse_ServingStatus) String ¶
func (x HealthResponse_ServingStatus) String() string
func (HealthResponse_ServingStatus) Type ¶
func (HealthResponse_ServingStatus) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.