v1

package
v0.0.0-...-9799e31 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	KesselRelationsHealthService_GetLivez_FullMethodName  = "/kessel.relations.v1.KesselRelationsHealthService/GetLivez"
	KesselRelationsHealthService_GetReadyz_FullMethodName = "/kessel.relations.v1.KesselRelationsHealthService/GetReadyz"
)
View Source
const OperationKesselRelationsHealthServiceGetLivez = "/kessel.relations.v1.KesselRelationsHealthService/GetLivez"
View Source
const OperationKesselRelationsHealthServiceGetReadyz = "/kessel.relations.v1.KesselRelationsHealthService/GetReadyz"

Variables

View Source
var File_kessel_relations_v1_health_proto protoreflect.FileDescriptor
View Source
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.

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 (*KesselRelationsHealthServiceHTTPClientImpl) GetReadyz

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

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.

Jump to

Keyboard shortcuts

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