linkerd2/controller/gen/common/healthcheck/healthcheck.pb.go

216 lines
7.9 KiB
Go

// Code generated by protoc-gen-go. DO NOT EDIT.
// source: common/healthcheck.proto
package healthcheck
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
type CheckStatus int32
const (
CheckStatus_OK CheckStatus = 0
CheckStatus_FAIL CheckStatus = 1
CheckStatus_ERROR CheckStatus = 2
)
var CheckStatus_name = map[int32]string{
0: "OK",
1: "FAIL",
2: "ERROR",
}
var CheckStatus_value = map[string]int32{
"OK": 0,
"FAIL": 1,
"ERROR": 2,
}
func (x CheckStatus) String() string {
return proto.EnumName(CheckStatus_name, int32(x))
}
func (CheckStatus) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_8e97722440bc80f4, []int{0}
}
type CheckResult struct {
SubsystemName string `protobuf:"bytes,1,opt,name=SubsystemName,proto3" json:"SubsystemName,omitempty"`
CheckDescription string `protobuf:"bytes,2,opt,name=CheckDescription,proto3" json:"CheckDescription,omitempty"`
Status CheckStatus `protobuf:"varint,3,opt,name=Status,proto3,enum=linkerd2.common.healthcheck.CheckStatus" json:"Status,omitempty"`
FriendlyMessageToUser string `protobuf:"bytes,4,opt,name=FriendlyMessageToUser,proto3" json:"FriendlyMessageToUser,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CheckResult) Reset() { *m = CheckResult{} }
func (m *CheckResult) String() string { return proto.CompactTextString(m) }
func (*CheckResult) ProtoMessage() {}
func (*CheckResult) Descriptor() ([]byte, []int) {
return fileDescriptor_8e97722440bc80f4, []int{0}
}
func (m *CheckResult) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CheckResult.Unmarshal(m, b)
}
func (m *CheckResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CheckResult.Marshal(b, m, deterministic)
}
func (m *CheckResult) XXX_Merge(src proto.Message) {
xxx_messageInfo_CheckResult.Merge(m, src)
}
func (m *CheckResult) XXX_Size() int {
return xxx_messageInfo_CheckResult.Size(m)
}
func (m *CheckResult) XXX_DiscardUnknown() {
xxx_messageInfo_CheckResult.DiscardUnknown(m)
}
var xxx_messageInfo_CheckResult proto.InternalMessageInfo
func (m *CheckResult) GetSubsystemName() string {
if m != nil {
return m.SubsystemName
}
return ""
}
func (m *CheckResult) GetCheckDescription() string {
if m != nil {
return m.CheckDescription
}
return ""
}
func (m *CheckResult) GetStatus() CheckStatus {
if m != nil {
return m.Status
}
return CheckStatus_OK
}
func (m *CheckResult) GetFriendlyMessageToUser() string {
if m != nil {
return m.FriendlyMessageToUser
}
return ""
}
type SelfCheckRequest struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *SelfCheckRequest) Reset() { *m = SelfCheckRequest{} }
func (m *SelfCheckRequest) String() string { return proto.CompactTextString(m) }
func (*SelfCheckRequest) ProtoMessage() {}
func (*SelfCheckRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_8e97722440bc80f4, []int{1}
}
func (m *SelfCheckRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SelfCheckRequest.Unmarshal(m, b)
}
func (m *SelfCheckRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SelfCheckRequest.Marshal(b, m, deterministic)
}
func (m *SelfCheckRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_SelfCheckRequest.Merge(m, src)
}
func (m *SelfCheckRequest) XXX_Size() int {
return xxx_messageInfo_SelfCheckRequest.Size(m)
}
func (m *SelfCheckRequest) XXX_DiscardUnknown() {
xxx_messageInfo_SelfCheckRequest.DiscardUnknown(m)
}
var xxx_messageInfo_SelfCheckRequest proto.InternalMessageInfo
type SelfCheckResponse struct {
Results []*CheckResult `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *SelfCheckResponse) Reset() { *m = SelfCheckResponse{} }
func (m *SelfCheckResponse) String() string { return proto.CompactTextString(m) }
func (*SelfCheckResponse) ProtoMessage() {}
func (*SelfCheckResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_8e97722440bc80f4, []int{2}
}
func (m *SelfCheckResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SelfCheckResponse.Unmarshal(m, b)
}
func (m *SelfCheckResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SelfCheckResponse.Marshal(b, m, deterministic)
}
func (m *SelfCheckResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_SelfCheckResponse.Merge(m, src)
}
func (m *SelfCheckResponse) XXX_Size() int {
return xxx_messageInfo_SelfCheckResponse.Size(m)
}
func (m *SelfCheckResponse) XXX_DiscardUnknown() {
xxx_messageInfo_SelfCheckResponse.DiscardUnknown(m)
}
var xxx_messageInfo_SelfCheckResponse proto.InternalMessageInfo
func (m *SelfCheckResponse) GetResults() []*CheckResult {
if m != nil {
return m.Results
}
return nil
}
func init() {
proto.RegisterEnum("linkerd2.common.healthcheck.CheckStatus", CheckStatus_name, CheckStatus_value)
proto.RegisterType((*CheckResult)(nil), "linkerd2.common.healthcheck.CheckResult")
proto.RegisterType((*SelfCheckRequest)(nil), "linkerd2.common.healthcheck.SelfCheckRequest")
proto.RegisterType((*SelfCheckResponse)(nil), "linkerd2.common.healthcheck.SelfCheckResponse")
}
func init() { proto.RegisterFile("common/healthcheck.proto", fileDescriptor_8e97722440bc80f4) }
var fileDescriptor_8e97722440bc80f4 = []byte{
// 306 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x91, 0x4f, 0x4b, 0xc3, 0x40,
0x10, 0xc5, 0x4d, 0x5b, 0xab, 0x9d, 0xa2, 0xc4, 0x05, 0x61, 0xc1, 0x4b, 0x29, 0x1e, 0x42, 0x0f,
0x09, 0x54, 0xaf, 0xa2, 0x56, 0x2d, 0x88, 0x7f, 0x0a, 0x5b, 0x45, 0xf0, 0x96, 0xa6, 0x63, 0x13,
0xba, 0xd9, 0xad, 0x3b, 0x9b, 0x43, 0x3f, 0xa9, 0x5f, 0x47, 0xba, 0x49, 0xa1, 0x52, 0x11, 0x4f,
0xbb, 0xbc, 0x7d, 0xbf, 0x9d, 0x37, 0x33, 0xc0, 0x13, 0x9d, 0xe7, 0x5a, 0x45, 0x29, 0xc6, 0xd2,
0xa6, 0x49, 0x8a, 0xc9, 0x3c, 0x5c, 0x18, 0x6d, 0x35, 0x3b, 0x91, 0x99, 0x9a, 0xa3, 0x99, 0xf6,
0xc3, 0xd2, 0x12, 0x6e, 0x58, 0xba, 0x5f, 0x1e, 0xb4, 0x6f, 0x56, 0x37, 0x81, 0x54, 0x48, 0xcb,
0x4e, 0xe1, 0x60, 0x5c, 0x4c, 0x68, 0x49, 0x16, 0xf3, 0xe7, 0x38, 0x47, 0xee, 0x75, 0xbc, 0xa0,
0x25, 0x7e, 0x8a, 0xac, 0x07, 0xbe, 0x83, 0x6e, 0x91, 0x12, 0x93, 0x2d, 0x6c, 0xa6, 0x15, 0xaf,
0x39, 0xe3, 0x96, 0xce, 0xae, 0xa0, 0x39, 0xb6, 0xb1, 0x2d, 0x88, 0xd7, 0x3b, 0x5e, 0x70, 0xd8,
0x0f, 0xc2, 0x3f, 0xf2, 0x84, 0x0e, 0x2f, 0xfd, 0xa2, 0xe2, 0xd8, 0x39, 0x1c, 0x0f, 0x4d, 0x86,
0x6a, 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