Class GRPCTestUtils

java.lang.Object
io.quarkus.grpc.test.utils.GRPCTestUtils

public class GRPCTestUtils extends Object
  • Constructor Details

    • GRPCTestUtils

      public GRPCTestUtils()
  • Method Details

    • channel

      public static io.grpc.Channel channel(io.vertx.core.Vertx vertx)
    • channel

      public static io.grpc.Channel channel(io.vertx.core.Vertx vertx, int port)
    • close

      public static void close(io.grpc.Channel channel)
    • close

      public static void close(io.vertx.core.Vertx vertx)
    • close

      public static void close(io.vertx.grpc.client.GrpcClient client)
    • stream

      public static InputStream stream(String resource)
    • tls

      public static Map.Entry<io.vertx.grpc.client.GrpcClient,io.grpc.Channel> tls(io.vertx.core.Vertx vertx, String caPem, String clientPem, String clientKey) throws IOException
      Throws:
      IOException