v1

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_schigh_health_v1_check_proto protoreflect.FileDescriptor
View Source
var File_schigh_health_v1_health_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Check

type Check struct {
	Name             string                 `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Healthy          bool                   `protobuf:"varint,2,opt,name=healthy,proto3" json:"healthy,omitempty"`
	AffectsReadiness bool                   `protobuf:"varint,3,opt,name=affects_readiness,json=affectsReadiness,proto3" json:"affects_readiness,omitempty"`
	AffectsLiveness  bool                   `protobuf:"varint,4,opt,name=affects_liveness,json=affectsLiveness,proto3" json:"affects_liveness,omitempty"`
	Error            *structpb.Struct       `protobuf:"bytes,5,opt,name=error,proto3" json:"error,omitempty"`
	ErrorSince       *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=error_since,json=errorSince,proto3" json:"error_since,omitempty"`
	// contains filtered or unexported fields
}

func (*Check) Descriptor deprecated

func (*Check) Descriptor() ([]byte, []int)

Deprecated: Use Check.ProtoReflect.Descriptor instead.

func (*Check) GetAffectsLiveness

func (x *Check) GetAffectsLiveness() bool

func (*Check) GetAffectsReadiness

func (x *Check) GetAffectsReadiness() bool

func (*Check) GetError

func (x *Check) GetError() *structpb.Struct

func (*Check) GetErrorSince

func (x *Check) GetErrorSince() *timestamppb.Timestamp

func (*Check) GetHealthy

func (x *Check) GetHealthy() bool

func (*Check) GetName

func (x *Check) GetName() string

func (*Check) ProtoMessage

func (*Check) ProtoMessage()

func (*Check) ProtoReflect

func (x *Check) ProtoReflect() protoreflect.Message

func (*Check) Reset

func (x *Check) Reset()

func (*Check) String

func (x *Check) String() string

type Health

type Health struct {
	Id     string               `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Ready  bool                 `protobuf:"varint,2,opt,name=ready,proto3" json:"ready,omitempty"`
	Uptime *durationpb.Duration `protobuf:"bytes,3,opt,name=uptime,proto3" json:"uptime,omitempty"`
	Checks []*Check             `protobuf:"bytes,4,rep,name=checks,proto3" json:"checks,omitempty"`
	// contains filtered or unexported fields
}

func (*Health) Descriptor deprecated

func (*Health) Descriptor() ([]byte, []int)

Deprecated: Use Health.ProtoReflect.Descriptor instead.

func (*Health) GetChecks

func (x *Health) GetChecks() []*Check

func (*Health) GetId

func (x *Health) GetId() string

func (*Health) GetReady

func (x *Health) GetReady() bool

func (*Health) GetUptime

func (x *Health) GetUptime() *durationpb.Duration

func (*Health) ProtoMessage

func (*Health) ProtoMessage()

func (*Health) ProtoReflect

func (x *Health) ProtoReflect() protoreflect.Message

func (*Health) Reset

func (x *Health) Reset()

func (*Health) String

func (x *Health) String() string

Jump to

Keyboard shortcuts

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