Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterKesselRelationsHealthServiceHTTPServer(s *http.Server, srv KesselRelationsHealthServiceHTTPServer)
- func RegisterKesselRelationsHealthServiceServer(s grpc.ServiceRegistrar, srv KesselRelationsHealthServiceServer)
- type GetLivezRequest
- type GetLivezResponse
- func (*GetLivezResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetLivezResponse) GetCode() uint32
- func (x *GetLivezResponse) GetStatus() string
- func (*GetLivezResponse) ProtoMessage()
- func (x *GetLivezResponse) ProtoReflect() protoreflect.Message
- func (x *GetLivezResponse) Reset()
- func (x *GetLivezResponse) String() string
- type GetReadyzRequest
- type GetReadyzResponse
- func (*GetReadyzResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetReadyzResponse) GetCode() uint32
- func (x *GetReadyzResponse) GetStatus() string
- func (*GetReadyzResponse) ProtoMessage()
- func (x *GetReadyzResponse) ProtoReflect() protoreflect.Message
- func (x *GetReadyzResponse) Reset()
- func (x *GetReadyzResponse) String() string
- type KesselRelationsHealthServiceClient
- type KesselRelationsHealthServiceHTTPClient
- type KesselRelationsHealthServiceHTTPClientImpl
- func (c *KesselRelationsHealthServiceHTTPClientImpl) GetLivez(ctx context.Context, in *GetLivezRequest, opts ...http.CallOption) (*GetLivezResponse, error)
- func (c *KesselRelationsHealthServiceHTTPClientImpl) GetReadyz(ctx context.Context, in *GetReadyzRequest, opts ...http.CallOption) (*GetReadyzResponse, error)
- type KesselRelationsHealthServiceHTTPServer
- type KesselRelationsHealthServiceServer
- type UnimplementedKesselRelationsHealthServiceServer
- type UnsafeKesselRelationsHealthServiceServer
Constants ¶
const ( KesselRelationsHealthService_GetLivez_FullMethodName = "/kessel.relations.v1.KesselRelationsHealthService/GetLivez" KesselRelationsHealthService_GetReadyz_FullMethodName = "/kessel.relations.v1.KesselRelationsHealthService/GetReadyz" )
const OperationKesselRelationsHealthServiceGetLivez = "/kessel.relations.v1.KesselRelationsHealthService/GetLivez"
const OperationKesselRelationsHealthServiceGetReadyz = "/kessel.relations.v1.KesselRelationsHealthService/GetReadyz"
Variables ¶
var File_kessel_relations_v1_health_proto protoreflect.FileDescriptor
var KesselRelationsHealthService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "kessel.relations.v1.KesselRelationsHealthService", HandlerType: (*KesselRelationsHealthServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetLivez", Handler: _KesselRelationsHealthService_GetLivez_Handler, }, { MethodName: "GetReadyz", Handler: _KesselRelationsHealthService_GetReadyz_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "kessel/relations/v1/health.proto", }
KesselRelationsHealthService_ServiceDesc is the grpc.ServiceDesc for KesselRelationsHealthService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterKesselRelationsHealthServiceHTTPServer ¶
func RegisterKesselRelationsHealthServiceHTTPServer(s *http.Server, srv KesselRelationsHealthServiceHTTPServer)
func RegisterKesselRelationsHealthServiceServer ¶
func RegisterKesselRelationsHealthServiceServer(s grpc.ServiceRegistrar, srv KesselRelationsHealthServiceServer)
Types ¶
type GetLivezRequest ¶
type GetLivezRequest struct {
// contains filtered or unexported fields
}
func (*GetLivezRequest) Descriptor
deprecated
func (*GetLivezRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetLivezRequest.ProtoReflect.Descriptor instead.
func (*GetLivezRequest) ProtoMessage ¶
func (*GetLivezRequest) ProtoMessage()
func (*GetLivezRequest) ProtoReflect ¶
func (x *GetLivezRequest) ProtoReflect() protoreflect.Message
func (*GetLivezRequest) Reset ¶
func (x *GetLivezRequest) Reset()
func (*GetLivezRequest) String ¶
func (x *GetLivezRequest) String() string
type GetLivezResponse ¶
type GetLivezResponse struct { Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` Code uint32 `protobuf:"varint,2,opt,name=code,proto3" json:"code,omitempty"` // contains filtered or unexported fields }
func (*GetLivezResponse) Descriptor
deprecated
func (*GetLivezResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetLivezResponse.ProtoReflect.Descriptor instead.
func (*GetLivezResponse) GetCode ¶
func (x *GetLivezResponse) GetCode() uint32
func (*GetLivezResponse) GetStatus ¶
func (x *GetLivezResponse) GetStatus() string
func (*GetLivezResponse) ProtoMessage ¶
func (*GetLivezResponse) ProtoMessage()
func (*GetLivezResponse) ProtoReflect ¶
func (x *GetLivezResponse) ProtoReflect() protoreflect.Message
func (*GetLivezResponse) Reset ¶
func (x *GetLivezResponse) Reset()
func (*GetLivezResponse) String ¶
func (x *GetLivezResponse) String() string
type GetReadyzRequest ¶
type GetReadyzRequest struct {
// contains filtered or unexported fields
}
func (*GetReadyzRequest) Descriptor
deprecated
func (*GetReadyzRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetReadyzRequest.ProtoReflect.Descriptor instead.
func (*GetReadyzRequest) ProtoMessage ¶
func (*GetReadyzRequest) ProtoMessage()
func (*GetReadyzRequest) ProtoReflect ¶
func (x *GetReadyzRequest) ProtoReflect() protoreflect.Message
func (*GetReadyzRequest) Reset ¶
func (x *GetReadyzRequest) Reset()
func (*GetReadyzRequest) String ¶
func (x *GetReadyzRequest) String() string
type GetReadyzResponse ¶
type GetReadyzResponse struct { Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` Code uint32 `protobuf:"varint,2,opt,name=code,proto3" json:"code,omitempty"` // contains filtered or unexported fields }
func (*GetReadyzResponse) Descriptor
deprecated
func (*GetReadyzResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetReadyzResponse.ProtoReflect.Descriptor instead.
func (*GetReadyzResponse) GetCode ¶
func (x *GetReadyzResponse) GetCode() uint32
func (*GetReadyzResponse) GetStatus ¶
func (x *GetReadyzResponse) GetStatus() string
func (*GetReadyzResponse) ProtoMessage ¶
func (*GetReadyzResponse) ProtoMessage()
func (*GetReadyzResponse) ProtoReflect ¶
func (x *GetReadyzResponse) ProtoReflect() protoreflect.Message
func (*GetReadyzResponse) Reset ¶
func (x *GetReadyzResponse) Reset()
func (*GetReadyzResponse) String ¶
func (x *GetReadyzResponse) String() string
type KesselRelationsHealthServiceClient ¶
type KesselRelationsHealthServiceClient interface { GetLivez(ctx context.Context, in *GetLivezRequest, opts ...grpc.CallOption) (*GetLivezResponse, error) GetReadyz(ctx context.Context, in *GetReadyzRequest, opts ...grpc.CallOption) (*GetReadyzResponse, error) }
KesselRelationsHealthServiceClient is the client API for KesselRelationsHealthService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewKesselRelationsHealthServiceClient ¶
func NewKesselRelationsHealthServiceClient(cc grpc.ClientConnInterface) KesselRelationsHealthServiceClient
type KesselRelationsHealthServiceHTTPClient ¶
type KesselRelationsHealthServiceHTTPClient interface { GetLivez(ctx context.Context, req *GetLivezRequest, opts ...http.CallOption) (rsp *GetLivezResponse, err error) GetReadyz(ctx context.Context, req *GetReadyzRequest, opts ...http.CallOption) (rsp *GetReadyzResponse, err error) }
func NewKesselRelationsHealthServiceHTTPClient ¶
func NewKesselRelationsHealthServiceHTTPClient(client *http.Client) KesselRelationsHealthServiceHTTPClient
type KesselRelationsHealthServiceHTTPClientImpl ¶
type KesselRelationsHealthServiceHTTPClientImpl struct {
// contains filtered or unexported fields
}
func (*KesselRelationsHealthServiceHTTPClientImpl) GetLivez ¶
func (c *KesselRelationsHealthServiceHTTPClientImpl) GetLivez(ctx context.Context, in *GetLivezRequest, opts ...http.CallOption) (*GetLivezResponse, error)
func (*KesselRelationsHealthServiceHTTPClientImpl) GetReadyz ¶
func (c *KesselRelationsHealthServiceHTTPClientImpl) GetReadyz(ctx context.Context, in *GetReadyzRequest, opts ...http.CallOption) (*GetReadyzResponse, error)
type KesselRelationsHealthServiceHTTPServer ¶
type KesselRelationsHealthServiceHTTPServer interface { GetLivez(context.Context, *GetLivezRequest) (*GetLivezResponse, error) GetReadyz(context.Context, *GetReadyzRequest) (*GetReadyzResponse, error) }
type KesselRelationsHealthServiceServer ¶
type KesselRelationsHealthServiceServer interface { GetLivez(context.Context, *GetLivezRequest) (*GetLivezResponse, error) GetReadyz(context.Context, *GetReadyzRequest) (*GetReadyzResponse, error) // contains filtered or unexported methods }
KesselRelationsHealthServiceServer is the server API for KesselRelationsHealthService service. All implementations must embed UnimplementedKesselRelationsHealthServiceServer for forward compatibility.
type UnimplementedKesselRelationsHealthServiceServer ¶
type UnimplementedKesselRelationsHealthServiceServer struct{}
UnimplementedKesselRelationsHealthServiceServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedKesselRelationsHealthServiceServer) GetLivez ¶
func (UnimplementedKesselRelationsHealthServiceServer) GetLivez(context.Context, *GetLivezRequest) (*GetLivezResponse, error)
func (UnimplementedKesselRelationsHealthServiceServer) GetReadyz ¶
func (UnimplementedKesselRelationsHealthServiceServer) GetReadyz(context.Context, *GetReadyzRequest) (*GetReadyzResponse, error)
type UnsafeKesselRelationsHealthServiceServer ¶
type UnsafeKesselRelationsHealthServiceServer interface {
// contains filtered or unexported methods
}
UnsafeKesselRelationsHealthServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to KesselRelationsHealthServiceServer will result in compilation errors.