mirror of
https://github.com/hanzo-ml/katib.git
synced 2026-09-24 00:31:27 +00:00
* Replace gRPC code generation tool from Znly/protoc to Buf Signed-off-by: forsaken628 <[email protected]> * fix Signed-off-by: forsaken628 <[email protected]> * del build.sh Signed-off-by: forsaken628 <[email protected]> * cleanup Signed-off-by: forsaken628 <[email protected]> * fix test Signed-off-by: forsaken628 <[email protected]> * fix Signed-off-by: forsaken628 <[email protected]> * fix Signed-off-by: forsaken628 <[email protected]> * refine Signed-off-by: forsaken628 <[email protected]> * fix Signed-off-by: forsaken628 <[email protected]> * rm outter yaml Signed-off-by: forsaken628 <[email protected]> * fix Signed-off-by: forsaken628 <[email protected]> --------- Signed-off-by: forsaken628 <[email protected]>
27 lines
1.2 KiB
Python
27 lines
1.2 KiB
Python
from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
|
|
from google.protobuf import descriptor as _descriptor
|
|
from google.protobuf import message as _message
|
|
from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
|
|
|
|
DESCRIPTOR: _descriptor.FileDescriptor
|
|
|
|
class HealthCheckRequest(_message.Message):
|
|
__slots__ = ("service",)
|
|
SERVICE_FIELD_NUMBER: _ClassVar[int]
|
|
service: str
|
|
def __init__(self, service: _Optional[str] = ...) -> None: ...
|
|
|
|
class HealthCheckResponse(_message.Message):
|
|
__slots__ = ("status",)
|
|
class ServingStatus(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
__slots__ = ()
|
|
UNKNOWN: _ClassVar[HealthCheckResponse.ServingStatus]
|
|
SERVING: _ClassVar[HealthCheckResponse.ServingStatus]
|
|
NOT_SERVING: _ClassVar[HealthCheckResponse.ServingStatus]
|
|
UNKNOWN: HealthCheckResponse.ServingStatus
|
|
SERVING: HealthCheckResponse.ServingStatus
|
|
NOT_SERVING: HealthCheckResponse.ServingStatus
|
|
STATUS_FIELD_NUMBER: _ClassVar[int]
|
|
status: HealthCheckResponse.ServingStatus
|
|
def __init__(self, status: _Optional[_Union[HealthCheckResponse.ServingStatus, str]] = ...) -> None: ...
|