Documentation ¶
Index ¶
- Variables
- type Check
- func (*Check) Descriptor() ([]byte, []int)deprecated
- func (x *Check) GetAffectsLiveness() bool
- func (x *Check) GetAffectsReadiness() bool
- func (x *Check) GetError() *structpb.Struct
- func (x *Check) GetErrorSince() *timestamppb.Timestamp
- func (x *Check) GetHealthy() bool
- func (x *Check) GetName() string
- func (*Check) ProtoMessage()
- func (x *Check) ProtoReflect() protoreflect.Message
- func (x *Check) Reset()
- func (x *Check) String() string
- type Health
- func (*Health) Descriptor() ([]byte, []int)deprecated
- func (x *Health) GetChecks() []*Check
- func (x *Health) GetId() string
- func (x *Health) GetReady() bool
- func (x *Health) GetUptime() *durationpb.Duration
- func (*Health) ProtoMessage()
- func (x *Health) ProtoReflect() protoreflect.Message
- func (x *Health) Reset()
- func (x *Health) String() string
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) GetAffectsLiveness ¶
func (*Check) GetAffectsReadiness ¶
func (*Check) GetErrorSince ¶
func (x *Check) GetErrorSince() *timestamppb.Timestamp
func (*Check) GetHealthy ¶
func (*Check) ProtoMessage ¶
func (*Check) ProtoMessage()
func (*Check) ProtoReflect ¶
func (x *Check) ProtoReflect() protoreflect.Message
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) GetUptime ¶
func (x *Health) GetUptime() *durationpb.Duration
func (*Health) ProtoMessage ¶
func (*Health) ProtoMessage()
func (*Health) ProtoReflect ¶
func (x *Health) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.