Documentation ¶
Index ¶
- Variables
- type CheckHealthRequest
- func (*CheckHealthRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CheckHealthRequest) GetEcho() string
- func (x *CheckHealthRequest) GetInduceError() InducedError
- func (*CheckHealthRequest) ProtoMessage()
- func (x *CheckHealthRequest) ProtoReflect() protoreflect.Message
- func (x *CheckHealthRequest) Reset()
- func (x *CheckHealthRequest) String() string
- type CheckHealthResponse
- func (*CheckHealthResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CheckHealthResponse) GetEcho() string
- func (*CheckHealthResponse) ProtoMessage()
- func (x *CheckHealthResponse) ProtoReflect() protoreflect.Message
- func (x *CheckHealthResponse) Reset()
- func (x *CheckHealthResponse) String() string
- type FooRequest
- type FooResponse
- type InducedError
- func (InducedError) Descriptor() protoreflect.EnumDescriptor
- func (x InducedError) Enum() *InducedError
- func (InducedError) EnumDescriptor() ([]byte, []int)deprecated
- func (x InducedError) Number() protoreflect.EnumNumber
- func (x InducedError) String() string
- func (InducedError) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
View Source
var ( InducedError_name = map[int32]string{ 0: "INDUCED_ERROR_UNSPECIFIED", 1: "INDUCED_ERROR_UNKNOWN", 2: "INDUCED_ERROR_PANIC", } InducedError_value = map[string]int32{ "INDUCED_ERROR_UNSPECIFIED": 0, "INDUCED_ERROR_UNKNOWN": 1, "INDUCED_ERROR_PANIC": 2, } )
Enum value maps for InducedError.
View Source
var File_clconnect_v1_rpc_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type CheckHealthRequest ¶ added in v0.18.1
type CheckHealthRequest struct { // echo will cause the respose to include the message Echo string `protobuf:"bytes,1,opt,name=echo,proto3" json:"echo,omitempty"` // induce error InduceError InducedError `` /* 126-byte string literal not displayed */ // contains filtered or unexported fields }
Request for checking health
func (*CheckHealthRequest) Descriptor
deprecated
added in
v0.18.1
func (*CheckHealthRequest) Descriptor() ([]byte, []int)
Deprecated: Use CheckHealthRequest.ProtoReflect.Descriptor instead.
func (*CheckHealthRequest) GetEcho ¶ added in v0.18.1
func (x *CheckHealthRequest) GetEcho() string
func (*CheckHealthRequest) GetInduceError ¶ added in v0.18.1
func (x *CheckHealthRequest) GetInduceError() InducedError
func (*CheckHealthRequest) ProtoMessage ¶ added in v0.18.1
func (*CheckHealthRequest) ProtoMessage()
func (*CheckHealthRequest) ProtoReflect ¶ added in v0.18.1
func (x *CheckHealthRequest) ProtoReflect() protoreflect.Message
func (*CheckHealthRequest) Reset ¶ added in v0.18.1
func (x *CheckHealthRequest) Reset()
func (*CheckHealthRequest) String ¶ added in v0.18.1
func (x *CheckHealthRequest) String() string
type CheckHealthResponse ¶ added in v0.18.1
type CheckHealthResponse struct { // echo response Echo string `protobuf:"bytes,1,opt,name=echo,proto3" json:"echo,omitempty"` // contains filtered or unexported fields }
Reponse for for cheking ehalth
func (*CheckHealthResponse) Descriptor
deprecated
added in
v0.18.1
func (*CheckHealthResponse) Descriptor() ([]byte, []int)
Deprecated: Use CheckHealthResponse.ProtoReflect.Descriptor instead.
func (*CheckHealthResponse) GetEcho ¶ added in v0.18.1
func (x *CheckHealthResponse) GetEcho() string
func (*CheckHealthResponse) ProtoMessage ¶ added in v0.18.1
func (*CheckHealthResponse) ProtoMessage()
func (*CheckHealthResponse) ProtoReflect ¶ added in v0.18.1
func (x *CheckHealthResponse) ProtoReflect() protoreflect.Message
func (*CheckHealthResponse) Reset ¶ added in v0.18.1
func (x *CheckHealthResponse) Reset()
func (*CheckHealthResponse) String ¶ added in v0.18.1
func (x *CheckHealthResponse) String() string
type FooRequest ¶ added in v0.18.2
type FooRequest struct {
// contains filtered or unexported fields
}
Simple test request
func (*FooRequest) Descriptor
deprecated
added in
v0.18.2
func (*FooRequest) Descriptor() ([]byte, []int)
Deprecated: Use FooRequest.ProtoReflect.Descriptor instead.
func (*FooRequest) ProtoMessage ¶ added in v0.18.2
func (*FooRequest) ProtoMessage()
func (*FooRequest) ProtoReflect ¶ added in v0.18.2
func (x *FooRequest) ProtoReflect() protoreflect.Message
func (*FooRequest) Reset ¶ added in v0.18.2
func (x *FooRequest) Reset()
func (*FooRequest) String ¶ added in v0.18.2
func (x *FooRequest) String() string
type FooResponse ¶ added in v0.18.2
type FooResponse struct { // some response data Bar string `protobuf:"bytes,1,opt,name=bar,proto3" json:"bar,omitempty"` // contains filtered or unexported fields }
Simple test response
func (*FooResponse) Descriptor
deprecated
added in
v0.18.2
func (*FooResponse) Descriptor() ([]byte, []int)
Deprecated: Use FooResponse.ProtoReflect.Descriptor instead.
func (*FooResponse) GetBar ¶ added in v0.21.3
func (x *FooResponse) GetBar() string
func (*FooResponse) ProtoMessage ¶ added in v0.18.2
func (*FooResponse) ProtoMessage()
func (*FooResponse) ProtoReflect ¶ added in v0.18.2
func (x *FooResponse) ProtoReflect() protoreflect.Message
func (*FooResponse) Reset ¶ added in v0.18.2
func (x *FooResponse) Reset()
func (*FooResponse) String ¶ added in v0.18.2
func (x *FooResponse) String() string
type InducedError ¶ added in v0.18.1
type InducedError int32
the health check endpoint allows for inducing errors.
const ( // when no induced error is specified InducedError_INDUCED_ERROR_UNSPECIFIED InducedError = 0 // induces a unknown error InducedError_INDUCED_ERROR_UNKNOWN InducedError = 1 // induces a panic InducedError_INDUCED_ERROR_PANIC InducedError = 2 )
func (InducedError) Descriptor ¶ added in v0.18.1
func (InducedError) Descriptor() protoreflect.EnumDescriptor
func (InducedError) Enum ¶ added in v0.18.1
func (x InducedError) Enum() *InducedError
func (InducedError) EnumDescriptor
deprecated
added in
v0.18.1
func (InducedError) EnumDescriptor() ([]byte, []int)
Deprecated: Use InducedError.Descriptor instead.
func (InducedError) Number ¶ added in v0.18.1
func (x InducedError) Number() protoreflect.EnumNumber
func (InducedError) String ¶ added in v0.18.1
func (x InducedError) String() string
func (InducedError) Type ¶ added in v0.18.1
func (InducedError) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.