healthcheck

package
v18.9.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2018 License: Apache-2.0 Imports: 3 Imported by: 75

Documentation

Index

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,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 (*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

func (*CheckResult) XXX_DiscardUnknown

func (m *CheckResult) XXX_DiscardUnknown()

func (*CheckResult) XXX_Marshal

func (m *CheckResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CheckResult) XXX_Merge

func (dst *CheckResult) XXX_Merge(src proto.Message)

func (*CheckResult) XXX_Size

func (m *CheckResult) XXX_Size() int

func (*CheckResult) XXX_Unmarshal

func (m *CheckResult) XXX_Unmarshal(b []byte) error

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 {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

func (*SelfCheckRequest) XXX_DiscardUnknown

func (m *SelfCheckRequest) XXX_DiscardUnknown()

func (*SelfCheckRequest) XXX_Marshal

func (m *SelfCheckRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SelfCheckRequest) XXX_Merge

func (dst *SelfCheckRequest) XXX_Merge(src proto.Message)

func (*SelfCheckRequest) XXX_Size

func (m *SelfCheckRequest) XXX_Size() int

func (*SelfCheckRequest) XXX_Unmarshal

func (m *SelfCheckRequest) XXX_Unmarshal(b []byte) error

type SelfCheckResponse

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

func (*SelfCheckResponse) XXX_DiscardUnknown

func (m *SelfCheckResponse) XXX_DiscardUnknown()

func (*SelfCheckResponse) XXX_Marshal

func (m *SelfCheckResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SelfCheckResponse) XXX_Merge

func (dst *SelfCheckResponse) XXX_Merge(src proto.Message)

func (*SelfCheckResponse) XXX_Size

func (m *SelfCheckResponse) XXX_Size() int

func (*SelfCheckResponse) XXX_Unmarshal

func (m *SelfCheckResponse) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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