healthy

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

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.

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) HealthLivenessSet

func (*UnimplementedHealthServiceServer) HealthReadiness

func (*UnimplementedHealthServiceServer) HealthReadinessSet

func (*UnimplementedHealthServiceServer) HealthStartup

func (*UnimplementedHealthServiceServer) HealthStartupSet

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳