health

package
v0.0.0-...-e0aa601 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

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

func (HealthResponse_ServingStatus) EnumDescriptor deprecated

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

Deprecated: Use HealthResponse_ServingStatus.Descriptor instead.

func (HealthResponse_ServingStatus) Number

func (HealthResponse_ServingStatus) String

func (HealthResponse_ServingStatus) Type

Jump to

Keyboard shortcuts

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