Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterKesselInventoryHealthServiceHTTPServer(s *http.Server, srv KesselInventoryHealthServiceHTTPServer)
- func RegisterKesselInventoryHealthServiceServer(s grpc.ServiceRegistrar, srv KesselInventoryHealthServiceServer)
- 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 KesselInventoryHealthServiceClient
- type KesselInventoryHealthServiceHTTPClient
- type KesselInventoryHealthServiceHTTPClientImpl
- func (c *KesselInventoryHealthServiceHTTPClientImpl) GetLivez(ctx context.Context, in *GetLivezRequest, opts ...http.CallOption) (*GetLivezResponse, error)
- func (c *KesselInventoryHealthServiceHTTPClientImpl) GetReadyz(ctx context.Context, in *GetReadyzRequest, opts ...http.CallOption) (*GetReadyzResponse, error)
- type KesselInventoryHealthServiceHTTPServer
- type KesselInventoryHealthServiceServer
- type UnimplementedKesselInventoryHealthServiceServer
- type UnsafeKesselInventoryHealthServiceServer
Constants ¶
const ( KesselInventoryHealthService_GetLivez_FullMethodName = "/kessel.inventory.v1.KesselInventoryHealthService/GetLivez" KesselInventoryHealthService_GetReadyz_FullMethodName = "/kessel.inventory.v1.KesselInventoryHealthService/GetReadyz" )
const OperationKesselInventoryHealthServiceGetLivez = "/kessel.inventory.v1.KesselInventoryHealthService/GetLivez"
const OperationKesselInventoryHealthServiceGetReadyz = "/kessel.inventory.v1.KesselInventoryHealthService/GetReadyz"
Variables ¶
var File_kessel_inventory_v1_health_proto protoreflect.FileDescriptor
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.
func NewKesselInventoryHealthServiceClient ¶
func NewKesselInventoryHealthServiceClient(cc grpc.ClientConnInterface) KesselInventoryHealthServiceClient
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 (c *KesselInventoryHealthServiceHTTPClientImpl) GetLivez(ctx context.Context, in *GetLivezRequest, opts ...http.CallOption) (*GetLivezResponse, error)
func (*KesselInventoryHealthServiceHTTPClientImpl) GetReadyz ¶
func (c *KesselInventoryHealthServiceHTTPClientImpl) GetReadyz(ctx context.Context, in *GetReadyzRequest, opts ...http.CallOption) (*GetReadyzResponse, error)
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) GetLivez(context.Context, *GetLivezRequest) (*GetLivezResponse, error)
func (UnimplementedKesselInventoryHealthServiceServer) GetReadyz ¶
func (UnimplementedKesselInventoryHealthServiceServer) GetReadyz(context.Context, *GetReadyzRequest) (*GetReadyzResponse, error)
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.