docker based ci tool
Rev. | 65142a1d8af111906f8c2f4fcc841cc5362977e3 |
---|---|
大小 | 1,190 字节 |
时间 | 2019-06-06 02:19:38 |
作者 | hylom |
Log Message | core-server: fix log extractor
|
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
import grpc
import dockrun_pb2 as dockrun__pb2
class DockRunStub(object):
def __init__(self, channel):
"""Constructor.
Args:
channel: A grpc.Channel.
"""
self.RunTask = channel.unary_unary(
'/dockrun.DockRun/RunTask',
request_serializer=dockrun__pb2.RunTaskRequest.SerializeToString,
response_deserializer=dockrun__pb2.RunTaskReply.FromString,
)
class DockRunServicer(object):
def RunTask(self, request, context):
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def add_DockRunServicer_to_server(servicer, server):
rpc_method_handlers = {
'RunTask': grpc.unary_unary_rpc_method_handler(
servicer.RunTask,
request_deserializer=dockrun__pb2.RunTaskRequest.FromString,
response_serializer=dockrun__pb2.RunTaskReply.SerializeToString,
),
}
generic_handler = grpc.method_handlers_generic_handler(
'dockrun.DockRun', rpc_method_handlers)
server.add_generic_rpc_handlers((generic_handler,))