Skip to content

test_services_pb2

drunc.grpc_testing_tools.test_services_pb2

Generated protocol buffer code.

Classes

BootRequest(*, token=..., process_description=..., process_restriction=...)

Bases: Message

Boot request

DummyRequest(*, message=..., timestamp=...)

Bases: Message

Basic request/response for connectivity testing

Source code in drunc/grpc_testing_tools/test_services_pb2.py
_globals['_PROCESSDESCRIPTION_ENVENTRY']._serialized_options = b'8\001'
_globals['_STATUSREQUEST_METRICSENTRY']._loaded_options = None
_globals['_STATUSREQUEST_METRICSENTRY']._serialized_options = b'8\001'
_globals['_DUMMYREQUEST']._serialized_start=38
_globals['_DUMMYREQUEST']._serialized_end=88
_globals['_DUMMYRESPONSE']._serialized_start=90

KillRequest(*, reason=..., grace_period_seconds=...)

Bases: Message

Shutdown/kill functionality messages (custom for test simplicity)

Attributes
grace_period_seconds instance-attribute

Grace period in seconds before force shutdown

reason instance-attribute

Reason for shutdown (for logging purposes)

KillResponse(*, shutdown_initiated=..., message=...)

Bases: Message

Attributes
message instance-attribute

Message describing the shutdown status

shutdown_initiated instance-attribute

Indicates if the shutdown request was accepted

ProcessDescription(*, metadata=..., env=..., executable_and_arguments=..., process_execution_directory=..., process_logs_path=...)

Bases: Message

Process description

ProcessInstance(*, process_description=..., process_restriction=..., status_code=..., return_code=..., uuid=...)

Bases: Message

Process instance

ProcessInstanceList(*, name=..., token=..., values=..., flag=...)

Bases: Message

Process instance list

ProcessMetadata(*, uuid=..., user=..., session=..., name=..., hostname=..., tree_id=...)

Bases: Message

Process metadata

ProcessRestriction(*, allowed_hosts=..., allowed_host_types=...)

Bases: Message

Process restriction

ProcessUUID(*, uuid=...)

Bases: Message

Process UUID

ResponseFlag(*, success=..., message=...)

Bases: Message

Response flag

StatusRequest(*, controller_id=..., status=..., metrics=...)

Bases: Message

RootController-ChildController communication messages

Token(*, token=...)

Bases: Message

Token message

Source code in drunc/grpc_testing_tools/test_services_pb2.py
_globals['_STATUSREQUEST_METRICSENTRY']._serialized_end=2008
_globals['_STATUSRESPONSE']._serialized_start=2010
_globals['_STATUSRESPONSE']._serialized_end=2069
_globals['_KILLREQUEST']._serialized_start=2071
_globals['_KILLREQUEST']._serialized_end=2130

UpdateRequest(*, update_type=..., content=..., sequence_number=...)

Bases: Message

Manager-RootController communication messages