Documentation ¶
Overview ¶
Package conduit_common_healthcheck is a generated protocol buffer package.
It is generated from these files:
common/healthcheck/healthcheck.proto
It has these top-level messages:
CheckResult SelfCheckRequest SelfCheckResponse
Index ¶
- Variables
- type CheckResult
- func (*CheckResult) Descriptor() ([]byte, []int)
- func (m *CheckResult) GetCheckDescription() string
- func (m *CheckResult) GetFriendlyMessageToUser() string
- func (m *CheckResult) GetStatus() CheckStatus
- func (m *CheckResult) GetSubsystemName() string
- func (*CheckResult) ProtoMessage()
- func (m *CheckResult) Reset()
- func (m *CheckResult) String() string
- type CheckStatus
- type SelfCheckRequest
- type SelfCheckResponse
Constants ¶
This section is empty.
Variables ¶
View Source
var CheckStatus_name = map[int32]string{
0: "OK",
1: "FAIL",
2: "ERROR",
}
View Source
var CheckStatus_value = map[string]int32{
"OK": 0,
"FAIL": 1,
"ERROR": 2,
}
Functions ¶
This section is empty.
Types ¶
type CheckResult ¶
type CheckResult struct { SubsystemName string `protobuf:"bytes,1,opt,name=SubsystemName" json:"SubsystemName,omitempty"` CheckDescription string `protobuf:"bytes,2,opt,name=CheckDescription" json:"CheckDescription,omitempty"` Status CheckStatus `protobuf:"varint,3,opt,name=Status,enum=conduit.common.healthcheck.CheckStatus" json:"Status,omitempty"` FriendlyMessageToUser string `protobuf:"bytes,4,opt,name=FriendlyMessageToUser" json:"FriendlyMessageToUser,omitempty"` }
func (*CheckResult) Descriptor ¶
func (*CheckResult) Descriptor() ([]byte, []int)
func (*CheckResult) GetCheckDescription ¶
func (m *CheckResult) GetCheckDescription() string
func (*CheckResult) GetFriendlyMessageToUser ¶
func (m *CheckResult) GetFriendlyMessageToUser() string
func (*CheckResult) GetStatus ¶
func (m *CheckResult) GetStatus() CheckStatus
func (*CheckResult) GetSubsystemName ¶
func (m *CheckResult) GetSubsystemName() string
func (*CheckResult) ProtoMessage ¶
func (*CheckResult) ProtoMessage()
func (*CheckResult) Reset ¶
func (m *CheckResult) Reset()
func (*CheckResult) String ¶
func (m *CheckResult) String() string
type CheckStatus ¶
type CheckStatus int32
const ( CheckStatus_OK CheckStatus = 0 CheckStatus_FAIL CheckStatus = 1 CheckStatus_ERROR CheckStatus = 2 )
func (CheckStatus) EnumDescriptor ¶
func (CheckStatus) EnumDescriptor() ([]byte, []int)
func (CheckStatus) String ¶
func (x CheckStatus) String() string
type SelfCheckRequest ¶
type SelfCheckRequest struct { }
func (*SelfCheckRequest) Descriptor ¶
func (*SelfCheckRequest) Descriptor() ([]byte, []int)
func (*SelfCheckRequest) ProtoMessage ¶
func (*SelfCheckRequest) ProtoMessage()
func (*SelfCheckRequest) Reset ¶
func (m *SelfCheckRequest) Reset()
func (*SelfCheckRequest) String ¶
func (m *SelfCheckRequest) String() string
type SelfCheckResponse ¶
type SelfCheckResponse struct {
Results []*CheckResult `protobuf:"bytes,1,rep,name=results" json:"results,omitempty"`
}
func (*SelfCheckResponse) Descriptor ¶
func (*SelfCheckResponse) Descriptor() ([]byte, []int)
func (*SelfCheckResponse) GetResults ¶
func (m *SelfCheckResponse) GetResults() []*CheckResult
func (*SelfCheckResponse) ProtoMessage ¶
func (*SelfCheckResponse) ProtoMessage()
func (*SelfCheckResponse) Reset ¶
func (m *SelfCheckResponse) Reset()
func (*SelfCheckResponse) String ¶
func (m *SelfCheckResponse) String() string
Click to show internal directories.
Click to hide internal directories.