Documentation
¶
Index ¶
- Variables
- func RegisterHealthServiceServer(s *grpc.Server, srv HealthServiceServer)
- type HealthServiceClient
- type HealthServiceServer
- type HealthyRequest
- type HealthyResponse
- type HealthyStatus
- type UnimplementedHealthServiceServer
- func (*UnimplementedHealthServiceServer) HealthLiveness(context.Context, *HealthyRequest) (*HealthyResponse, error)
- func (*UnimplementedHealthServiceServer) HealthLivenessSet(context.Context, *HealthyStatus) (*HealthyResponse, error)
- func (*UnimplementedHealthServiceServer) HealthReadiness(context.Context, *HealthyRequest) (*HealthyResponse, error)
- func (*UnimplementedHealthServiceServer) HealthReadinessSet(context.Context, *HealthyStatus) (*HealthyResponse, error)
- func (*UnimplementedHealthServiceServer) HealthStartup(context.Context, *HealthyRequest) (*HealthyResponse, error)
- func (*UnimplementedHealthServiceServer) HealthStartupSet(context.Context, *HealthyStatus) (*HealthyResponse, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var File_healthy_proto protoreflect.FileDescriptor
Functions ¶
func RegisterHealthServiceServer ¶
func RegisterHealthServiceServer(s *grpc.Server, srv HealthServiceServer)
Types ¶
type HealthServiceClient ¶
type HealthServiceClient interface { HealthLiveness(ctx context.Context, in *HealthyRequest, opts ...grpc.CallOption) (*HealthyResponse, error) HealthLivenessSet(ctx context.Context, in *HealthyStatus, opts ...grpc.CallOption) (*HealthyResponse, error) HealthReadiness(ctx context.Context, in *HealthyRequest, opts ...grpc.CallOption) (*HealthyResponse, error) HealthReadinessSet(ctx context.Context, in *HealthyStatus, opts ...grpc.CallOption) (*HealthyResponse, error) HealthStartup(ctx context.Context, in *HealthyRequest, opts ...grpc.CallOption) (*HealthyResponse, error) HealthStartupSet(ctx context.Context, in *HealthyStatus, opts ...grpc.CallOption) (*HealthyResponse, error) }
HealthServiceClient is the client API for HealthService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewHealthServiceClient ¶
func NewHealthServiceClient(cc grpc.ClientConnInterface) HealthServiceClient
type HealthServiceServer ¶
type HealthServiceServer interface { HealthLiveness(context.Context, *HealthyRequest) (*HealthyResponse, error) HealthLivenessSet(context.Context, *HealthyStatus) (*HealthyResponse, error) HealthReadiness(context.Context, *HealthyRequest) (*HealthyResponse, error) HealthReadinessSet(context.Context, *HealthyStatus) (*HealthyResponse, error) HealthStartup(context.Context, *HealthyRequest) (*HealthyResponse, error) HealthStartupSet(context.Context, *HealthyStatus) (*HealthyResponse, error) }
HealthServiceServer is the server API for HealthService service.
type HealthyRequest ¶
type HealthyRequest struct { Request string `protobuf:"bytes,10001,opt,name=request,proto3" json:"request,omitempty"` // contains filtered or unexported fields }
func (*HealthyRequest) Descriptor
deprecated
func (*HealthyRequest) Descriptor() ([]byte, []int)
Deprecated: Use HealthyRequest.ProtoReflect.Descriptor instead.
func (*HealthyRequest) GetRequest ¶
func (x *HealthyRequest) GetRequest() string
func (*HealthyRequest) ProtoMessage ¶
func (*HealthyRequest) ProtoMessage()
func (*HealthyRequest) ProtoReflect ¶
func (x *HealthyRequest) ProtoReflect() protoreflect.Message
func (*HealthyRequest) Reset ¶
func (x *HealthyRequest) Reset()
func (*HealthyRequest) String ¶
func (x *HealthyRequest) String() string
type HealthyResponse ¶
type HealthyResponse struct { Response string `protobuf:"bytes,10002,opt,name=response,proto3" json:"response,omitempty"` // contains filtered or unexported fields }
func (*HealthyResponse) Descriptor
deprecated
func (*HealthyResponse) Descriptor() ([]byte, []int)
Deprecated: Use HealthyResponse.ProtoReflect.Descriptor instead.
func (*HealthyResponse) GetResponse ¶
func (x *HealthyResponse) GetResponse() string
func (*HealthyResponse) ProtoMessage ¶
func (*HealthyResponse) ProtoMessage()
func (*HealthyResponse) ProtoReflect ¶
func (x *HealthyResponse) ProtoReflect() protoreflect.Message
func (*HealthyResponse) Reset ¶
func (x *HealthyResponse) Reset()
func (*HealthyResponse) String ¶
func (x *HealthyResponse) String() string
type HealthyStatus ¶
type HealthyStatus struct { Status bool `protobuf:"varint,10006,opt,name=status,proto3" json:"status,omitempty"` // contains filtered or unexported fields }
func (*HealthyStatus) Descriptor
deprecated
func (*HealthyStatus) Descriptor() ([]byte, []int)
Deprecated: Use HealthyStatus.ProtoReflect.Descriptor instead.
func (*HealthyStatus) GetStatus ¶
func (x *HealthyStatus) GetStatus() bool
func (*HealthyStatus) ProtoMessage ¶
func (*HealthyStatus) ProtoMessage()
func (*HealthyStatus) ProtoReflect ¶
func (x *HealthyStatus) ProtoReflect() protoreflect.Message
func (*HealthyStatus) Reset ¶
func (x *HealthyStatus) Reset()
func (*HealthyStatus) String ¶
func (x *HealthyStatus) String() string
type UnimplementedHealthServiceServer ¶
type UnimplementedHealthServiceServer struct { }
UnimplementedHealthServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedHealthServiceServer) HealthLiveness ¶
func (*UnimplementedHealthServiceServer) HealthLiveness(context.Context, *HealthyRequest) (*HealthyResponse, error)
func (*UnimplementedHealthServiceServer) HealthLivenessSet ¶
func (*UnimplementedHealthServiceServer) HealthLivenessSet(context.Context, *HealthyStatus) (*HealthyResponse, error)
func (*UnimplementedHealthServiceServer) HealthReadiness ¶
func (*UnimplementedHealthServiceServer) HealthReadiness(context.Context, *HealthyRequest) (*HealthyResponse, error)
func (*UnimplementedHealthServiceServer) HealthReadinessSet ¶
func (*UnimplementedHealthServiceServer) HealthReadinessSet(context.Context, *HealthyStatus) (*HealthyResponse, error)
func (*UnimplementedHealthServiceServer) HealthStartup ¶
func (*UnimplementedHealthServiceServer) HealthStartup(context.Context, *HealthyRequest) (*HealthyResponse, error)
func (*UnimplementedHealthServiceServer) HealthStartupSet ¶
func (*UnimplementedHealthServiceServer) HealthStartupSet(context.Context, *HealthyStatus) (*HealthyResponse, error)
Click to show internal directories.
Click to hide internal directories.