v1

package
v0.0.0-...-a5bf1df Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	KesselInventoryHealthService_GetLivez_FullMethodName  = "/kessel.inventory.v1.KesselInventoryHealthService/GetLivez"
	KesselInventoryHealthService_GetReadyz_FullMethodName = "/kessel.inventory.v1.KesselInventoryHealthService/GetReadyz"
)
View Source
const OperationKesselInventoryHealthServiceGetLivez = "/kessel.inventory.v1.KesselInventoryHealthService/GetLivez"
View Source
const OperationKesselInventoryHealthServiceGetReadyz = "/kessel.inventory.v1.KesselInventoryHealthService/GetReadyz"

Variables

View Source
var File_kessel_inventory_v1_health_proto protoreflect.FileDescriptor
View Source
var KesselInventoryHealthService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "kessel.inventory.v1.KesselInventoryHealthService",
	HandlerType: (*KesselInventoryHealthServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetLivez",
			Handler:    _KesselInventoryHealthService_GetLivez_Handler,
		},
		{
			MethodName: "GetReadyz",
			Handler:    _KesselInventoryHealthService_GetReadyz_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "kessel/inventory/v1/health.proto",
}

KesselInventoryHealthService_ServiceDesc is the grpc.ServiceDesc for KesselInventoryHealthService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterKesselInventoryHealthServiceHTTPServer

func RegisterKesselInventoryHealthServiceHTTPServer(s *http.Server, srv KesselInventoryHealthServiceHTTPServer)

func RegisterKesselInventoryHealthServiceServer

func RegisterKesselInventoryHealthServiceServer(s grpc.ServiceRegistrar, srv KesselInventoryHealthServiceServer)

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 KesselInventoryHealthServiceClient

type KesselInventoryHealthServiceClient interface {
	GetLivez(ctx context.Context, in *GetLivezRequest, opts ...grpc.CallOption) (*GetLivezResponse, error)
	GetReadyz(ctx context.Context, in *GetReadyzRequest, opts ...grpc.CallOption) (*GetReadyzResponse, error)
}

KesselInventoryHealthServiceClient is the client API for KesselInventoryHealthService 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 KesselInventoryHealthServiceHTTPClient

type KesselInventoryHealthServiceHTTPClient 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 NewKesselInventoryHealthServiceHTTPClient

func NewKesselInventoryHealthServiceHTTPClient(client *http.Client) KesselInventoryHealthServiceHTTPClient

type KesselInventoryHealthServiceHTTPClientImpl

type KesselInventoryHealthServiceHTTPClientImpl struct {
	// contains filtered or unexported fields
}

func (*KesselInventoryHealthServiceHTTPClientImpl) GetLivez

func (*KesselInventoryHealthServiceHTTPClientImpl) GetReadyz

type KesselInventoryHealthServiceHTTPServer

type KesselInventoryHealthServiceHTTPServer interface {
	GetLivez(context.Context, *GetLivezRequest) (*GetLivezResponse, error)
	GetReadyz(context.Context, *GetReadyzRequest) (*GetReadyzResponse, error)
}

type KesselInventoryHealthServiceServer

type KesselInventoryHealthServiceServer interface {
	GetLivez(context.Context, *GetLivezRequest) (*GetLivezResponse, error)
	GetReadyz(context.Context, *GetReadyzRequest) (*GetReadyzResponse, error)
	// contains filtered or unexported methods
}

KesselInventoryHealthServiceServer is the server API for KesselInventoryHealthService service. All implementations must embed UnimplementedKesselInventoryHealthServiceServer for forward compatibility.

type UnimplementedKesselInventoryHealthServiceServer

type UnimplementedKesselInventoryHealthServiceServer struct{}

UnimplementedKesselInventoryHealthServiceServer 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 (UnimplementedKesselInventoryHealthServiceServer) GetLivez

func (UnimplementedKesselInventoryHealthServiceServer) GetReadyz

type UnsafeKesselInventoryHealthServiceServer

type UnsafeKesselInventoryHealthServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeKesselInventoryHealthServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to KesselInventoryHealthServiceServer will result in compilation errors.

Jump to

Keyboard shortcuts

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