• R/O
  • HTTP
  • SSH
  • HTTPS

Tags
Keine Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

docker based ci tool


File Info

Rev. 65142a1d8af111906f8c2f4fcc841cc5362977e3
Größe 1,190 Bytes
Zeit 2019-06-06 02:19:38
Autor hylom
Log Message

core-server: fix log extractor

Content

# 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,))